# mount jlabsite:/site /mntThe script will prompt you for an activation key, but if you don't know what this is, just hit ENTER and it will use a sensible default. Depending on how many patches need to be applied to your system to bring it up to the current level, this script may take a very long time to run. When it finishes, you should reboot your machine to make the new patches take effect.
# /mnt/CC/linux/satellite-connect --patchall
# /sbin/chkconfig rhnsd onYou will also need to add an entry to root's crontab file, to make sure the profile information the patch server stores about your computer is kept current. Make sure the following command is run every day. The exact time it runs isn't important, but it must be run by root:
# /sbin/chkconfig --list rhnsd
rhnsd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# /sbin/service rhnsd restart
Stopping Red Hat Network Daemon: [ OK ]
Starting Red Hat Network Daemon: [ OK ]
/usr/sbin/up2date -p --hardwareIf you do not want the Computer Center to manage patches for your machines, you may request an account on the patch server's web site, which will allow you to manage patches for your machine directly. This may require a significant amount of time, and failing to patch your machines constitutes a violation of JLab's security policy and may result in your removal from the network until the situation is corrected. Still, for some users, this is an appropriate option. Please contact the helpdesk at x7155 if you wish to manage patches for your machine(s).
J E F F E R S O N L A B |
Name MD5 checksumOnce you have downloaded the RPM, simply install it and then run the jlab-linux-config command, as shown below. This example assumes that you have downloaded the RPM file to /var/tmp:
----------------------------------------------------------------
jlab-config-0.8-1.i386.rpm 307344ec4c0fbfadf1200fe7e380a90d
# rpm -ivh /var/tmp/jlab-config-0.5-1.i386.rpmThe /usr/local/bin/jlab-linux-config script will accomplish all of the above tasks. It will also configure your system to use the JLab DNS servers and send an email to the Computer Center describing some of the machine's hardware and OS configuration data. After running the script, you should reboot your machine in order to make the new patches take effect.
Preparing... ########################################### [100%]
1:jlab-config ########################################### [100%]
# /usr/local/bin/jlab-linux-config
Checking to see if this system is connected to the JLab network... [OK]
Configuring DNS... [OK]
Setting date and time... [OK]
Configuring the patch service... [OK]
Applying all relevant patches. This may take a VERY long time... [OK]
Updating root's crontab file... [OK]
Configuring rhnsd service... [OK]
Creating the monitoring account... [OK]
JLab Linux configuration complete! Please reboot your machine to make the new
patches take effect.
This document is maintained by {helpdesk@jlab.org}
Copyright Jefferson Lab 2007