PODEŠAVANJE LXPLUS-a
From MediaWiki
Revision as of 16:30, 12 February 2012 by Adimitrievska (Talk | contribs)
- Otvoriti Terminal i logovati se na lxplus:
ssh -XY username@lxplus.cern.ch
- Nakon logovanja kreirati .globus folder i otvoriti ga:
mkdir .globus
cd .globus
- Otvoriti nov Terminal i sa lokacije na kojoj se nalazi sertifikat mycertificate.p12 kopirati ga na lxplus u .globus folder:
scp mycertificate.p12 username@lxplus.cern.ch:/afs/cern.ch/user/<prvo_slovo_username-a>/<username>/.globus
- Uneti šifru za logovanje na lxplus (cern.ch).
- Iz terminala na lxplus-u, otpakovati prebačeni fajl:
openssl pkcs12 -in mycertificate.p12 -clcerts -nokeys -out usercert.pem
openssl pkcs12 -in mycertificate.p12 -nocerts -out userkey.pem
chmod 400 userkey.pem
chmod 444 usercert.pem
- Izmeniti .bashrc fajl: otvoriti ga komandom
gedit ~/.bashrc
u fajl iskopirati sledeće, sačuvati ga i zatvoriti.
# GRID, DQ2, PANDA . /afs/cern.ch/project/gd/LCG-share/current/etc/profile.d/grid_env.sh . /afs/cern.ch/atlas/offline/external/GRID/ddm/DQ2Clients/setup.sh . /afs/cern.ch/atlas/offline/external/GRID/DA/panda-client/latest/etc/panda/panda_setup.sh # Kompajler i ROOT . /afs/cern.ch/sw/lcg/external/gcc/4.3.2/x86_64-slc5/setup.sh . /afs/cern.ch/sw/lcg/app/releases/ROOT/5.32.00/x86_64-slc5-gcc43-opt/root/bin/thisroot.sh
Povratak na: