Skip to content

Instantly share code, notes, and snippets.

@chrisburr
Last active September 6, 2017 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisburr/b8248dd5d019de3a864cbc3ed2af0c0f to your computer and use it in GitHub Desktop.
Save chrisburr/b8248dd5d019de3a864cbc3ed2af0c0f to your computer and use it in GitHub Desktop.
Setting up a LHCb grid proxy on macOS
# Probably not needed: brew install globus-toolkit
brew cask install java
brew cask install jce-unlimited-strength-policy
brew install voms
rsync -a -H -x -v --progress --recursive --delete \
lxplus:/cvmfs/lhcb.cern.ch/etc/grid-security/ \
"$HOME/grid-security"
export X509_CERT_DIR="$HOME/grid-security/certificates"
export X509_VOMS_DIR="$HOME/grid-security/vomsdir"
voms-proxy-init -voms "lhcb:/lhcb/Role=user" -vomses "$HOME/grid-security/vomses" -r --vomslife 24:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment