Repository information
Yum and apt repositories are available for several systems. NorduGrid RPM packages and DEB repositories are signed, and in order to verify them you must install the NorduGrid GPG key:
For rpm based distributions like Red Hat and Fedora
rpm --import http://download.nordugrid.org/RPM-GPG-KEY-nordugrid
For deb based distributions like Debian and Ubuntu
wget -q http://download.nordugrid.org/DEB-GPG-KEY-nordugrid.asc -O- | sudo apt-key add -
Repositories are available for stable releases (stable) and for packages undergoing testing (testing). Testing repository must always be used with the stable one enabled.
Important: The NorduGrid repositories for RedHat Enterprise Linux depends on the EPEL repositories which must also be part of the Yum configuration.
Yum repository configuration
The Yum repository configuration file should look like:
[nordugrid] name=NorduGrid - $basearch - stable baseurl=http://download.nordugrid.org/repos/fedora/$releasever/$basearch/stable enabled=1 gpgcheck=1 gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid [nordugrid-testing] name=NorduGrid - $basearch - testing baseurl=http://download.nordugrid.org/repos/fedora/$releasever/$basearch/testing # Always make sure nordugrid stable repo is enabled enabled=0 gpgcheck=1 gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid
IMPORTANT! You can use yum groupinstall feature when installing ARC server and client:
yum groupinstall "ARC Server" yum groupinstall "ARC Client"
In graphical interfaces to Yum, these groups will appear in the "Grid" section. You can find the package lists on the groups page.
up2date configuration
In order to use the Red Hat up2date utility, add to its repository configuration lines like:
yum nordugrid http://download.nordugrid.org/repos/fedora/11/i386/stable yum nordugrid http://download.nordugrid.org/repos/fedora/11/i386/testing
Make sure to enable/disable repositories accordingly (to be on the safe side, stable must be always enabled)
Since up2date does not support remote group files the group operations are not readily available for the external repositories. Here is the optional recipe to add the NorduGrid groups:
# Retrieve groups file wget http://download.nordugrid.org:/repos/redhat/el4/i386/stable/repodata/comps.xml # Copy the file to the correct location # (see: /usr/share/rhn/up2date_client/up2dateComps.py) cp -p comps.xml /usr/share/comps/i386/nordugrid_comps.xmlAdd the lines:
compsFiles[comment]=Groups files compsFiles=/usr/share/comps/i386/comps.xml;/usr/share/comps/i386/nordugrid_comps.xml;to /etc/sysconfig/rhn/up2date. Now you can use:
up2date --show-groupsin order to see the available groups. In order to install a group do:
up2date @"ARC Client"Note that the group file /usr/share/comps/i386/nordugrid_comps.xml should be updated if it is changed on the server.
apt configuration for Debian and Ubuntu
APT sources:- For Debian 4.0 (etch):
deb http://download.nordugrid.org/repos/debian/ etch main deb-src http://download.nordugrid.org/repos/debian/ etch main
- For Debian 5.0 (lenny):
deb http://download.nordugrid.org/repos/debian/ lenny main deb-src http://download.nordugrid.org/repos/debian/ lenny main
- For Ubuntu 8.04 (hardy):
deb http://download.nordugrid.org/repos/ubuntu/ hardy main deb-src http://download.nordugrid.org/repos/ubuntu/ hardy main
- For Ubuntu 8.10 (intrepid):
deb http://download.nordugrid.org/repos/ubuntu/ intrepid main deb-src http://download.nordugrid.org/repos/ubuntu/ intrepid main
- For Ubuntu 9.04 (jaunty):
deb http://download.nordugrid.org/repos/ubuntu/ jaunty main deb-src http://download.nordugrid.org/repos/ubuntu/ jaunty main
- For Ubuntu 9.10 (karmic):
deb http://download.nordugrid.org/repos/ubuntu/ karmic main deb-src http://download.nordugrid.org/repos/ubuntu/ karmic main
- For Ubuntu 10.04 (lucid):
deb http://download.nordugrid.org/repos/ubuntu/ lucid main deb-src http://download.nordugrid.org/repos/ubuntu/ lucid main