Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Accessing the internet through a double hop ssh SOCKS5 proxy for yum and git.

This is using ar-eudaq and rhel32-6 as hops, localhost:1080 as SOCKS5 proxy, localhost:2222 ass ssh forward to rhel6-32

ssh -t   -L 1080:localhost:9696 <slac_username>-L2222:localhost:2222 <your_slac_user_name>@172.27.100.8 ssh -L2222:localhost:22  -D 9696 rhel6-32 -N 

 

Compiling EUDAQ. This recipe assumes internet access and needs to be revised for the ESA restricted network 

As user "beam" run

git config --global http.proxy 'socks5h://127.0.0.1:1080' #setup git proxy

git clone -b v1.7.0 https://github.com/eudaq/eudaq.git

mkdir /home/beam/afs

#use sshfs to mount AFS

sshfs -p 2222 <your_slac_user_name@slac_host_with_afsname>@localhost:/afs /home/beam/afs

cp -r /home/beam/afs/desy.de/group/telescopes/tlu/tlufirmware ./ZestSC1  /home/beam/eudaq/extern 

cp -r /home/beam/afs/desy.de/group/telescopes/tlu/tlufirmware .   /home/beam/eudaq/extern

#unmount AFS

fusermount -u /home/beam/afs

 source /opt/rh/devtoolset-7/enable #enable gcc 7

cd /home/beam/eudaq/build

cmake3 ..

make

Installing RCE SDK as root

mkdir /opt/AtlasRceSdk

cd /opt/AtlasRceSdk

curl  --socks5-hostname 127.0.0.1:1080  http://rceprojectportal.web.cern.ch/RceProjectPortal/software/SDK/V0.11.1.tar.gz | tar xvfz -

Obtaining and compiling the RCE software as user "beam"

git clone --recurse-submodules https://:@gitlab.cern.ch:8443/rce/pixelrce.git

cd pixelrce/rce

source /opt/rh/devtoolset-7/enable

source scripts/setup-dev.sh 

 (cd build.rce ; make -j4  ) && ( cd build.host; make -j4 )