Skip to content

ARC Client Ubuntu Focal

Installing ARC 6 client

Updating packages: apt-get update

Add repositories to /etc/apt/sources.list.

# Base channel
deb https://download.nordugrid.org/repos/6/ubuntu focal main
deb-src https://download.nordugrid.org/repos/6/ubuntu focal main

# Updates to the base release
deb https://download.nordugrid.org/repos/6/ubuntu focal-updates main
deb-src https://download.nordugrid.org/repos/6/ubuntu focal-updates main

Add GPG key:

wget -q -O - http://download.nordugrid.org/RPM-GPG-KEY-nordugrid-6 | apt-key add -

Install the following packages:

apt-get -y install nordugrid-arc-client \
                nordugrid-arc-plugins-needed \
                nordugrid-arc-plugins-globus
Installing the CAs:

Add the EGI-trustanchors repository to the /etc/apt/sources.list.d/EGI-trustanchors.list

#### EGI Trust Anchor Distribution ####
deb http://repository.egi.eu/sw/production/cas/1/current egi-igtf core
Add GPG key for this repository:
wget -q -O - \
https://dist.eugridpma.info/distribution/igtf/current/GPG-KEY-EUGridPMA-RPM-3 | apt-key add -
Install the CAs:
apt-get update
apt-get -y install ca-policy-egi-core fetch-crl
Add *fetch-crl to cron, so the CRLs (certificate revocation lists) are regularly updated.

ARC client settings

All settings should be in the .arc folder in the home directory:

mkdir ~/.arc
Transform the certificate to the correct format:
openssl pkcs12 -in usercert.p12 -clcerts -nokeys -out usercert.pem
openssl pkcs12 -in usercert.p12 -nocerts -out userkey.pem
chmod 400 userkey.pem
chmod 644 usercert.pem
mv userkey.pem ~/.arc/
mv usercert.pem ~/.arc/
A digital certificate is not enough to authorise users in the cluster, the user must also be a member of a virtual organisation. To send tasks to the clusters in SLING a membership in the virtual organisation gen.vo.sling.si will suffice. You can join here: voms.sling.si

Settings for this VO are also required:

mkdir -p ~/.arc/vomsdir/gen.vo.sling.si
cat vomsdir/gen.vo.sling.si/voms.sling.si.lsc
/C=SI/O=SiGNET/O=SLING/CN=voms.sling.si
/C=SI/O=SiGNET/CN=SiGNET CA
mkdir ~/.arc/vomses
cat vomses/gen.vo.sling.si
"gen.vo.sling.si" "voms.sling.si" "15001" "/C=SI/O=SiGNET/O=SLING/CN=voms.sling.si"