wiki:RedHat
Last modified 10 years ago Last modified on 02/04/08 13:42:50

Red Hat Enterprise Linux

UW has a site license for Red Hat Enterprise Linux. If you would like to install a copy, first go to the UW Red Hat Downloads and get the latest DVD ISO image here (currently rhel-5.1-server-i386-dvd.iso). If you are installing in VMWare, create a new virtual machine and tell it to use that file as the installation disk image.

Follow the UW Red Hat Installation Instructions, or skip the installation number and run this script with the current activation key found on that page as root:

# configure UW RHN
KEY=abcd
# Get KEY at https://www.washington.edu/computing/linux/rhnsat.html
if [ ! -d /etc/pki/tls/certs/ ]; then
  mkdir -p /etc/pki/tls/certs/
fi
wget --quiet http://www.washington.edu/computing/ca/load-pem.crt -O /etc/pki/tls/certs/UW-CA-CERT
cp /etc/sysconfig/rhn/up2date /etc/sysconfig/rhn/up2date.orig
sed -i 's;/usr/share/rhn/RHNS-CA-CERT;/etc/pki/tls/certs/UW-CA-CERT;' /etc/sysconfig/rhn/up2date
sed -i 's;=.*xmlrpc.rhn.redhat.com/XMLRPC;=https://rhnsat.washington.edu/XMLRPC;' /etc/sysconfig/rhn/up2date
rhnreg_ks --force --activationkey=$KEY
chkconfig rhnsd on

To make sure it is working properly, install some optional package with yum, for example:

yum -y install java-1.5.0-sun-devel

If you have trouble, email admin at sig for assistance.