ILCSoft on CVMFS
ILCSoft versions are installed on cvmfs, which can be mounted on desktop machines.
CVMFS Client Installation
For running all the commands in one go, run the follwing script. You need sudo privileges on your machine, or run as root.
The individual steps are combined into this script
https://gitlab.cern.ch/CLICdp/SoftwareConfigurations/Administration/-/blob/softwareScripts/installCVMFS.sh
Add the cvmfs yum repository
sudo yum install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-2-5.noarch.rpm
Then install the packages
sudo yum install cvmfs cvmfs-config-default
Config cmvfs
sudo cvmfs_config setup
Configure which cvmfs repository to use. Open the /etc/cvmfs/default.local file
And adapt, or fill it with the variables and values as below.
CVMFS_QUOTA_LIMIT='32140'
CVMFS_HTTP_PROXY="http://ca-proxy.cern.ch:3128"
CVMFS_CACHE_BASE='/var/lib/cvmfs'
CVMFS_FORCE_SIGNING='yes'
CVMFS_REPOSITORIES='ilc.desy.de'
CVMFS_SEND_INFO_HEADER=no
And create a desy config file /etc/cvmfs/domain.d/desy.de.conf
CVMFS_SERVER_URL='http://grid-cvmfs-one.desy.de:8000/cvmfs/@fqrn@;http://cvmfs-stratum-one.cern.ch:8000/cvmfs/@fqrn@;http://cvmfs-egi.gridpp.rl.ac.uk:8000/cvmfs/@fqrn@'
CVMFS_KEYS_DIR=/etc/cvmfs/keys
Copy the desy.de.pub key from the web:
sudo wget http://grid.desy.de/etc/cvmfs/keys/desy.de.pub
-O /etc/cvmfs/keys/desy.de.pub
See
https://twiki.cern.ch/twiki/bin/view/CvmFS/ClientSetupCERN for more information.
Updating CVMFS
If you only added the yum repository, and did not install it via the cvmfs-release rpm there is no GPG/PGP key installed.
So, to install the GPG keys for the CVMFS repository install the cvmfs-release rpm
sudo yum install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-2-5.noarch.rpm
Then the usual automatic update procedure should work.
Or to ignore the Key-Check
sudo yum update --disablerepo=* --enablerepo=cernvm --nogpgcheck
to update CVMFS from the repository
Mounting the repository
The repository is automounting, that means
ls /cvmfs
can show you nothing. You first have to access the repository.
So if everything has been proper set up. Do
ls /cvmfs/ilc.desy.de
which should show something
CVMFS on Macs
You can access clicdp.cern.ch also on a Mac. To enable this you must:
- Install FUSE for macOS
- Install CVMFS for Mac
- Add to / create the file
/etc/cvmfs/default.local
CVMFS_QUOTA_LIMIT='30000'
CVMFS_HTTP_PROXY='http://ca-proxy-meyrin.cern.ch:3128;http://ca-proxy.cern.ch:3128'
CVMFS_CACHE_BASE='/var/lib/cvmfs'
CVMFS_FORCE_SIGNING='yes'
CVMFS_REPOSITORIES='alice-ocdb.cern.ch,alice.cern.ch,ams.cern.ch,atlas-condb.cern.ch,atlas.cern.ch,cms-ib.cern.ch,cms.cern.ch,geant4.cern.ch,ilc.desy.de,lhcb.cern.ch,na61.cern.ch,sft.cern.ch,clicdp.cern.ch,'
- create the directory
sudo mkdir -p /cvmfs/clicdp.cern.ch
- Mount the directory manually (there is no auto mount on Mac in the same way as on linux version of cvmfs)
sudo mount -t cvmfs clicdp.cern.ch /cvmfs/clicdp.cern.ch