Setup of SLC7 (CC7) working environment e.g. on CERN VM e.g. stefanovm.cern.ch

grid clients for SL7 (stay away from Java)

yum install -y voms-clients-cpp
yum install -y gfal2-util gfal2-all

Useful stuff

yum install -y screen
yum install -y nano  # needed for git
yum install -y unzip.x86_64 zip.x86_64
yum install -y cvmfs 
To complete cvmfs setup follow instructions at https://cernvm.cern.ch/portal/filesystem/quickstart and use this as /etc/cvmfs/default.local :
cat << EOF >   /etc/cvmfs/default.local
CVMFS_REPOSITORIES=cms.cern.ch,grid.cern.ch
CVMFS_HTTP_PROXY="http://ca-proxy.cern.ch:3128"
EOF

To enable sudo w/o password

cat << EOF >  /etc/sudoers.d/001-sudo-stefano 
belforte       ALL=(ALL)  NOPASSWD:     ALL
EOF

To give access to someone else (with privileves)

useraddcern  dciangot
cat << EOF >  /etc/sudoers.d/001-sudo-stefano 
dciangot       ALL=(ALL)  NOPASSWD:     ALL

CMS stuff

most useful things come when installing CMS COMP VM https://cms-http-group.web.cern.ch/cms-http-group/tutorials/environ/vm-setup.html

For the record this is what was installed by that procedure

Aug 21 13:49:58 Installed: 1:perl-Error-0.17020-2.el7.noarch
Aug 21 13:49:58 Installed: libgnome-keyring-3.12.0-1.el7.x86_64
Aug 21 13:49:59 Installed: git-1.8.3.1-14.el7_5.x86_64
Aug 21 13:50:00 Installed: perl-Git-1.8.3.1-14.el7_5.noarch
Aug 21 13:50:50 Installed: wget-1.14-15.el7_4.1.x86_64
Aug 21 13:51:31 Installed: ca_DigiCertAssuredIDRootCA-Root-1.92-1.noarch
Aug 21 13:51:31 Installed: apr-1.4.8-3.el7_4.1.x86_64
Aug 21 13:51:31 Installed: apr-util-1.5.2-6.el7.x86_64
Aug 21 13:51:31 Installed: ca_DigiCertGridRootCA-Root-1.92-1.noarch
Aug 21 13:51:31 Installed: ca_CERN-Root-2-1.92-1.noarch
Aug 21 13:51:31 Installed: ca_QuoVadis-Root-CA1-1.92-1.noarch
Aug 21 13:51:31 Installed: ca_DCAROOT-G1-1.92-1.noarch
Aug 21 13:51:32 Installed: ca_UKeScienceRoot-2007-1.92-1.noarch
Aug 21 13:51:32 Installed: ca_KENETROOTCA-1.92-1.noarch
Aug 21 13:51:32 Installed: ca_AddTrust-External-CA-Root-1.92-1.noarch
Aug 21 13:51:32 Installed: ca_COMODO-RSA-CA-1.92-1.noarch
Aug 21 13:51:32 Installed: cvs-1.11.23-35.el7.x86_64
Aug 21 13:51:32 Installed: ca_CNRS2-1.92-1.noarch
Aug 21 13:51:32 Installed: ca_CNRS2-Projets-1.92-1.noarch
Aug 21 13:51:32 Installed: ca_QuoVadis-Root-CA3G3-1.92-1.noarch
Aug 21 13:51:32 Installed: git-email-1.8.3.1-14.el7_5.noarch
Aug 21 13:51:32 Installed: xorg-x11-proto-devel-7.7-20.el7.noarch
Aug 21 13:51:32 Installed: ca_CESNET-CA-Root-1.92-1.noarch
Aug 21 13:51:32 Installed: ca_QuoVadis-Root-CA2G3-1.92-1.noarch
Aug 21 13:51:32 Installed: ca_DarkMatterPrivateRootCAG4-1.92-1.noarch
Aug 21 13:51:32 Installed: ca_DarkMatterIGTFCA-1.92-1.noarch
Aug 21 13:51:32 Installed: ca_DarkMatterSecureCA-1.92-1.noarch
Aug 21 13:51:32 Installed: ca_CESNET-CA-3-1.92-1.noarch
Aug 21 13:51:32 Installed: libXau-devel-1.0.8-2.1.el7.x86_64
Aug 21 13:51:33 Installed: libxcb-devel-1.12-1.el7.x86_64
Aug 21 13:51:34 Installed: libX11-devel-1.6.5-1.el7.x86_64
Aug 21 13:51:34 Installed: ca_DarkMatterAssuredCA-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_CNRS2-Grid-FR-1.92-1.noarch
Aug 21 13:51:34 Installed: cvsps-2.2-0.14.b1.el7.x86_64
Aug 21 13:51:34 Installed: ca_InCommon-IGTF-Server-CA-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_KENETCA-ICA-2015-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_UKeScienceCA-2B-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_RCauth-Pilot-ICA-G1-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_QuoVadis-Grid-ICA-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_CERN-GridCA-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_DigiCertGridCA-1-Classic-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_DigiCertGridCA-1G2-Classic-2015-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_TERENAeSciencePersonalCA3-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_DigiCertGridTrustCAG2-Classic-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_TERENA-eScience-SSL-CA-3-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_DigiCertGridTrustCA-Classic-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_AEGIS-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_CyGrid-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_AC-GRID-FR-Services-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_NERSC-SLCS-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_UNAMgrid-ca-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_HPCI-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_UNLPGrid-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_LIPCA-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_NCSA-tfca-2013-1.92-1.noarch
Aug 21 13:51:34 Installed: ca_IRAN-GRID-GCG-G2-1.92-1.noarch
Aug 21 13:51:34 Installed: libXft-2.3.2-2.el7.x86_64
Aug 21 13:51:34 Installed: 1:tk-8.5.13-6.el7.x86_64
Aug 21 13:51:34 Installed: gitk-1.8.3.1-14.el7_5.noarch
Aug 21 13:51:35 Installed: git-gui-1.8.3.1-14.el7_5.noarch
Aug 21 13:51:35 Installed: ca_IHEP-2013-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_KISTIv3-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_cilogon-silver-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_SDG-G2-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_NorduGrid-2015-1.92-1.noarch
Aug 21 13:51:35 Installed: perl-Net-Daemon-0.48-5.el7.noarch
Aug 21 13:51:35 Installed: perl-PlRPC-0.2020-14.el7.noarch
Aug 21 13:51:35 Installed: perl-DBI-1.627-4.el7.x86_64
Aug 21 13:51:35 Installed: perl-DBD-SQLite-1.39-3.el7.x86_64
Aug 21 13:51:35 Installed: git-cvs-1.8.3.1-14.el7_5.noarch
Aug 21 13:51:35 Installed: perl-YAML-0.84-5.el7.noarch
Aug 21 13:51:35 Installed: ca_RomanianGRID-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_DZeScience-1.92-1.noarch
Aug 21 13:51:35 Installed: pyparsing-1.5.6-9.el7.noarch
Aug 21 13:51:35 Installed: systemtap-sdt-devel-3.2-8.el7_5.x86_64
Aug 21 13:51:35 Installed: ca_AC-GRID-FR-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_MREN-CA-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_ArmeSFo-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_cilogon-basic-1.92-1.noarch
Aug 21 13:51:35 Installed: pakchois-0.4-10.el7.x86_64
Aug 21 13:51:35 Installed: ca_PolishGrid-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_GridCanada-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_NIIF-Root-CA-2-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_IRAN-GRID-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_BG-ACAD-CA-1.92-1.noarch
Aug 21 13:51:35 Installed: ca_TSU-GE-1.92-1.noarch
Aug 21 13:51:36 Installed: perl-Test-Harness-3.28-3.el7.noarch
Aug 21 13:51:36 Installed: ca_MD-Grid-1.92-1.noarch
Aug 21 13:51:36 Installed: gdbm-devel-1.10-8.el7.x86_64
Aug 21 13:51:36 Installed: ca_PSC-Myproxy-CA-1.92-1.noarch
Aug 21 13:51:36 Installed: perl-ExtUtils-Manifest-1.61-244.el7.noarch
Aug 21 13:51:36 Installed: ca_EG-GRID-1.92-1.noarch
Aug 21 13:51:36 Installed: alsa-lib-1.1.4.1-2.el7.x86_64
Aug 21 13:51:36 Installed: liblockfile-1.08-17.el7.x86_64
Aug 21 13:51:36 Installed: ca_MYIFAM-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_QuoVadis-Grid-ICA-G2-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_PK-Grid-2007-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_KEK-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_PKIUNAMgrid-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_BYGCA-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_AC-GRID-FR-Robots-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_DFN-GridGermany-Root-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_REUNA-ca-1.92-1.noarch
Aug 21 13:51:36 Installed: 2:xinetd-2.3.15-13.el7.x86_64
Aug 21 13:51:36 Installed: ca_GermanGrid-1.92-1.noarch
Aug 21 13:51:36 Installed: libmodman-2.0.1-8.el7.x86_64
Aug 21 13:51:36 Installed: libproxy-0.4.11-11.el7.x86_64
Aug 21 13:51:36 Installed: ca_TRGrid-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_HellasGrid-CA-2016-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_UGRID-G2-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_SlovakGrid-1.92-1.noarch
Aug 21 13:51:36 Installed: bzip2-1.0.6-13.el7.x86_64
Aug 21 13:51:36 Installed: ca_HKU-CA-2-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_CERN-LCG-IOTA-CA-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_ASGCCA-2007-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_CNIC-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_IGCA2-1.92-1.noarch
Aug 21 13:51:36 Installed: ca_cilogon-osg-1.92-1.noarch
Aug 21 13:51:37 Installed: trousers-0.3.14-2.el7.x86_64
Aug 21 13:51:37 Installed: ca_NCSA-slcs-2013-1.92-1.noarch
Aug 21 13:51:37 Installed: ca_AC-GRID-FR-Personnels-1.92-1.noarch
Aug 21 13:51:37 Installed: git-p4-1.8.3.1-14.el7_5.noarch
Aug 21 13:51:37 Installed: ca_INFN-CA-2015-1.92-1.noarch
Aug 21 13:51:37 Installed: ca_seegrid-ca-2013-1.92-1.noarch
Aug 21 13:51:37 Installed: ca_SRCE-1.92-1.noarch
Aug 21 13:51:37 Installed: ca_IGCA-1.92-1.noarch
Aug 21 13:51:37 Installed: ca_RDIG-1.92-1.noarch
Aug 21 13:51:37 Installed: ca_MaGrid-1.92-1.noarch
Aug 21 13:51:37 Installed: kernel-headers-3.10.0-862.11.6.el7.x86_64
Aug 21 13:51:38 Installed: glibc-headers-2.17-222.el7.x86_64
Aug 21 13:51:38 Installed: glibc-devel-2.17-222.el7.x86_64
Aug 21 13:51:38 Installed: ca_ANSPGrid-1.92-1.noarch
Aug 21 13:51:38 Installed: ca_SiGNET-CA-1.92-1.noarch
Aug 21 13:51:38 Installed: 1:emacs-filesystem-24.3-20.el7_4.noarch
Aug 21 13:51:42 Installed: 1:emacs-common-24.3-20.el7_4.x86_64
Aug 21 13:51:42 Installed: libXpm-3.5.12-1.el7.x86_64
Aug 21 13:51:42 Installed: ca_NIKHEF-1.92-1.noarch
Aug 21 13:51:42 Installed: ca_AustrianGrid-1.92-1.noarch
Aug 21 13:51:42 Installed: ca_QuoVadis-Root-CA2-1.92-1.noarch
Aug 21 13:51:42 Installed: ca_MARGI-1.92-1.noarch
Aug 21 13:51:42 Installed: nettle-2.7.1-8.el7.x86_64
Aug 21 13:51:42 Installed: gnutls-3.3.26-9.el7.x86_64
Aug 21 13:51:42 Installed: neon-0.30.0-3.el7.x86_64
Aug 21 13:51:42 Installed: subversion-libs-1.7.14-14.el7.x86_64
Aug 21 13:51:42 Installed: subversion-1.7.14-14.el7.x86_64
Aug 21 13:51:43 Installed: subversion-perl-1.7.14-14.el7.x86_64
Aug 21 13:51:43 Installed: perl-Git-SVN-1.8.3.1-14.el7_5.noarch
Aug 21 13:51:43 Installed: git-svn-1.8.3.1-14.el7_5.x86_64
Aug 21 13:51:43 Installed: 1:emacs-nox-24.3-20.el7_4.x86_64
Aug 21 13:51:43 Installed: emacs-git-1.8.3.1-14.el7_5.noarch
Aug 21 13:51:43 Installed: libdb-devel-5.3.21-24.el7.x86_64
Aug 21 13:51:43 Installed: 1:perl-ExtUtils-ParseXS-3.18-3.el7.noarch
Aug 21 13:51:43 Installed: perl-ExtUtils-MakeMaker-6.68-3.el7.noarch
Aug 21 13:51:43 Installed: perl-ExtUtils-Install-1.58-292.el7.noarch
Aug 21 13:51:43 Installed: 4:perl-devel-5.16.3-292.el7.x86_64
Aug 21 13:51:44 Installed: ca_DFN-SLCS-1.92-1.noarch
Aug 21 13:51:44 Installed: ca_HKU-1.92-1.noarch
Aug 21 13:51:44 Installed: ca_policy_igtf-classic-1.92-1.noarch
Aug 21 13:51:44 Installed: ca_policy_igtf-slcs-1.92-1.noarch
Aug 21 13:51:44 Installed: perl-ExtUtils-Embed-1.30-292.el7.noarch
Aug 21 13:51:44 Installed: git-all-1.8.3.1-14.el7_5.noarch
Aug 21 13:51:44 Installed: libXpm-devel-3.5.12-1.el7.x86_64
Aug 21 13:51:44 Installed: ca_policy_igtf-iota-1.92-1.noarch
Aug 21 13:51:44 Installed: colordiff-1.0.13-2.el7.noarch
Aug 21 13:51:44 Installed: arc-server-44-40.7.el7.cern.x86_64
Aug 21 13:51:44 Installed: ca_policy_igtf-mics-1.92-1.noarch
Aug 21 13:51:44 Installed: stgit-0.17.1-2.el7.noarch
Aug 21 13:51:44 Installed: compat-libstdc++-33-3.2.3-72.el7.x86_64
Aug 21 13:51:44 Installed: arc-44-40.7.el7.cern.x86_64
Aug 21 13:51:45 Installed: libXmu-1.1.2-2.el7.x86_64
Aug 21 13:51:45 Installed: finger-0.17-52.el7.x86_64
Aug 21 13:51:45 Installed: fetch-crl-3.0.19-1.el7.noarch
Aug 21 13:51:45 Installed: dummy-ca-certs-20090630-1.noarch
Aug 21 13:51:45 Installed: mesa-libGLU-9.0.0-4.el7.x86_64
Aug 21 13:52:01 Installed: libXfixes-devel-5.0.3-1.el7.x86_64
Aug 21 13:52:02 Installed: libXext-devel-1.3.3-3.el7.x86_64
Aug 21 13:52:02 Installed: gl-manpages-1.1-7.20130122.el7.noarch
Aug 21 13:52:02 Installed: libXxf86vm-devel-1.1.4-1.el7.x86_64
Aug 21 13:52:02 Installed: libXdamage-devel-1.1.4-4.1.el7.x86_64
Aug 21 13:52:02 Installed: libXrender-devel-0.9.10-1.el7.x86_64
Aug 21 13:52:02 Installed: libdrm-devel-2.4.83-2.el7.x86_64
Aug 21 13:52:02 Installed: mesa-libGL-devel-17.2.3-8.20171019.el7.x86_64
Aug 21 13:52:02 Installed: expat-devel-2.1.0-10.el7_3.x86_64
Aug 21 13:52:02 Installed: zlib-devel-1.2.7-17.el7.x86_64
Aug 21 13:52:02 Installed: freetype-devel-2.4.11-15.el7.x86_64
Aug 21 13:52:02 Installed: fontconfig-devel-2.10.95-11.el7.x86_64
Aug 21 13:52:02 Installed: libXft-devel-2.3.2-2.el7.x86_64
Aug 21 13:52:02 Installed: mesa-libGLU-devel-9.0.0-4.el7.x86_64
Aug 21 13:52:03 Installed: libXrandr-1.5.1-2.el7.x86_64
Aug 21 13:52:03 Installed: perl-Switch-2.16-7.el7.noarch
Aug 21 13:52:03 Installed: libaio-0.3.109-13.el7.x86_64
Aug 21 13:52:03 Installed: libXcursor-1.1.14-8.el7.x86_64
Aug 21 13:52:03 Installed: perl-Thread-Queue-3.02-2.el7.noarch
Aug 21 13:52:03 Installed: perl-Env-1.04-2.el7.noarch
Aug 21 13:52:03 Installed: libXinerama-1.1.3-2.1.el7.x86_64
Aug 21 13:52:03 Installed: libXi-1.7.9-1.el7.x86_64
Aug 21 13:52:11 Installed: libtool-ltdl-2.4.2-22.el7_3.x86_64
Aug 21 13:52:11 Installed: globus-common-17.4-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-gsi-openssl-error-3.8-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-gsi-sysconfig-8.1-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-gsi-proxy-ssl-5.10-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-openssl-module-4.8-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-gsi-cert-utils-9.16-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-gsi-callback-5.13-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-gsi-credential-7.14-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-gsi-proxy-core-8.6-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-gssapi-gsi-13.8-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-callout-3.15-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-gss-assist-11.1-1.el7.x86_64
Aug 21 13:52:11 Installed: globus-proxy-utils-6.19-1.el7.x86_64
Aug 21 13:52:12 Installed: myproxy-libs-6.1.30-1.el7.x86_64
Aug 21 13:52:12 Installed: myproxy-6.1.30-1.el7.x86_64
Aug 21 13:52:12 Installed: wlcg-voms-cms-1.0.0-1.noarch
Aug 21 13:52:17 Installed: perl-WWW-CERNSSO-Auth-0.6-1.el7.cern.noarch
Aug 21 13:52:17 Installed: cern-get-sso-cookie-0.6-1.el7.cern.noarch

-- StefanoBelforte - 2018-08-21

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2020-08-04 - StefanoBelforte
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback