PODEŠAVANJE LXPLUS-a

From MediaWiki

Jump to: navigation, search
  1. Otvoriti Terminal i logovati se na lxplus:

    ssh -XY username@lxplus.cern.ch

  2. Nakon logovanja kreirati .globus folder i otvoriti ga:

    mkdir .globus

    cd .globus

  3. 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

  4. Uneti šifru za logovanje na lxplus (cern.ch).
  5. 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

  6. 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:

ATLAS group