Preparing yum

First add our repo to the yum directory:

vi /etc/yum.repos.d/openathens.repo

For help with the vi text editor: https://www.google.co.uk/search?q=vi+cheetsheet

Add the following

[openathens-sp]
name = yum repository for athens rpms
baseurl = https://username:password@repo.openathens.net/yum/pkgs/rhel$releasever/sp/2.2/$basearch
enabled = 1
gpgcheck = 0
failovermethod = priority

Where username and password are the credentials for your OpenAthens administrator account. Our service desk will be able to help you if you are unsure.

Exit the editor saving changes

Next



In a small number of cases, theĀ rhel$releasever variable in the base URL may not be picked up - e.g. if you have heavily modified your server. In such cases you will need to manually set it - e.g. rhel6