yum install -y yum-utils
yum install -y dnf
yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
yum update
dnf install docker-ce docker-ce-cli containerd.io
systemctl start docker.service
systemctl enable docker.service
yum update
yum install -y yum-plugin-priorities
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install -y https://repo.opensciencegrid.org/osg/3.5/osg-3.5-el7-release-latest.rpm
yum install -y osg-oasis
systemctl enable autofs
systemctl start autofs
vi /etc/auto.master.d/cvmfs.autofs # Put the content below:
/cvmfs /etc/auto.cvmfs
systemctl restart autofs
vi /etc/cvmfs/default.local # Put the content below
CVMFS_REPOSITORIES="`echo $(ls /cvmfs)|tr ' ' ,`"
CVMFS_CACHE_BASE=/wntmp/cvmfs
CVMFS_QUOTA_LIMIT=20000
CVMFS_HTTP_PROXY="DIRECT"
export CMS_LOCAL_SITE=/cvmfs/cms.cern.ch/SITECONF/T2_US_Caltech
# test
ls -l /cvmfs/cms.cern.ch
/wntmp - Separate disk for scratch space. Spec Suite will require from 20GB to ~40GB disk space. (Depends on N of cores)
yum -y install git
cd /wntmp
git clone https://github.com/cmscaltech/docker-hs06.git
cd docker-hs06/hepscore
yum install python3-pip -y
sh install.sh
yum install -y htop
sh run-all.sh &