Install CVMFS

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

yum install yum-plugin-priorities

 

rpm -Uvh https://repo.grid.iu.edu/osg/3.3/osg-3.3-el7-release-latest.rpm

yum install osg-oasis

edit /etc/fuse.conf and add:

user_allow_other

service autofs restart

 

Add user to /etc/passwd

cvmfs:x:986:981:CernVM-FS service account:/var/lib/cvmfs:/sbin/nologin

Edit /etc/cvmfs/default.local

CVMFS_REPOSITORIES="`echo $((echo oasis.opensciencegrid.org;echo cms.cern.ch;ls /cvmfs)|sort -u)|tr ' ' ,`"
CVMFS_CACHE_BASE=/var/cache/cvmfsCVMFS_QUOTA_LIMIT=40000
CVMFS_HTTP_PROXY="http://squid1.rcac.purdue.edu:3128|http://squid2.rcac.purdue.edu:3128|http://squid3.rcac.purdue.edu:3128|DIRECT"

Edit /etc/cvmfs/config.d/cms.cern.ch.conf

export CMS_LOCAL_SITE=T2_US_Purdue

 

Test:

cvmfs_config reload

cvmfs_config probe

 

 

If automounter is running on your workstation CMSSW is installed in:

/project/cmsphys/cmssoft

Otherwise perform the following commands as root:

mkdir /project/cmsphys
mount -t nfs -o proto=udp,vers=3,rw,rsize=8192,wsize=8192 kepler:/net/kepler/project0/cmsphys /project/cmsphys

setenv VO_CMS_SW_DIR /project/cmsphys/cmssoft
source $VO_CMS_SW_DIR/cmsset_default.csh
source /project/cmsphys/osg-client/setup.csh
source $VO_CMS_SW_DIR/CRAB/crab.csh

setenv SCRAM_ARCH slc5_amd64_gcc434
scram list