Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "UMD:Repository"

From EGIWiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 15:46, 14 October 2011

Introduction Prerequisites Repository Products Capabilities


There are two ways to configure the necessary repositories for UMD-1

RPM based configuration

On each production machine that is to be configured for using the UMD repositories, site administrators must follow the installation instructions given below:

  1. Remove all UMD and EPEL related configuration files that may exist from /etc/yum.repos.d so that there is no misconfigured epel or UMD repositories.
    Note be careful not to remove the OS or other necessary repo configuration files
    execute rm /etc/yum.repos.d/UMD* /etc/yum.repos.d/epel*
  2. Install epel-release-5-4.noarch.rpm
    execute wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
    yum install epel-release-5-4.noarch.rpm
  3. Install yum-priorities RPM
    execute yum install yum-priorities
  4. Install the umd-release RPM that adds all missing repositories that are needed for the installation of UMD products and configures yum priorities 
    execute wget http://repository.egi.eu/sw/production/umd/1/sl5/x86_64/updates/umd-release-1.0.2-1.el5.noarch.rpm
    yum install umd-release-1.0.2-1.el5.noarch.rpm

Manual Configuration

The Production sites will need to configure the following repositories

  • The Main OS Repository
  • EPEL repository: follow the installation notes available at EPEL
  • EGI Trust Anchor Repository: use the .repo files at EGI CAs repository
  • UMD Production Repository: use the .repo files at UMD repository

It is required to set the UMD repository with the highest priority in order to avoid possible discrepancies with EPEL.
In order to do this, you will need to install yum-priorities package and verify that the .repo file for UMD has

protect=1
priority=1


Also make sure that your /etc/yum/pluginconf.d/priorities.conf file has

[main]
enabled = 1 

check_obsoletes = 1