Skip to content

Linux at NC State

wiki support   search:

Chapter 10. Campus Linux Services Resources

Table of Contents

Yum Repositories

Campus Linux Services (CLS) is a group at NC State University that provides support for the Linux resources on campus. While CLS doesn't provide support for anyone that decides to run Linux themselves we do have a support Realm Linux. Around campus there are many facilities for supporting Realm Linux and the Linux movement at NC State University in general. Please visit the Campus Linux Servies Web Site.

Yum Repositories

Using Yum repositories is the supported way to augment and modify Realm Linux. To this end CLS is offering to host Yum repositories for colleges and departments on campus on our highly available, load balanced install servers. The idea is to allow groups on campus the flexibility of modifying the Kit with Yum or Up2date while not making them set up and maintain the infrastructure that goes with it.

To set up space for your Yum repository you need to provide your own AFS volume or directory where you have the write access you need. You will also need to make sure that this space is readable by either system:anyuser or linux:installservers in the EOS cell. Next, send off an email to with your AFS volume name or path to your directory and what name you would like your Yum space to be called.

For example, the Astro-Physics group has Yum repository space. In AFS it is located at /afs/eos/project/realmlinux/yum/astro and the name chosen was astro. The URL for the repository is http://install.linux.ncsu.edu/pub/yum/astro. Access rights to this space can be controled with .htaccess files.

Now comes the trick. We have moved to using Red Hat's Up2date tools for updating Realm Linux. How do you add a Yum repository to Up2date? Fortuantely for us, Up2date supports many different kinds of package repositories, including Yum. Using the Astro-Physics group again as my example, they would put the following line in /etc/sysconfig/rhn/sources.

yum my-repo-label http://install.linux.ncsu.edu/pub/yum/astro