SLAC CPE Software Engineering Group

How to Install RHEL5-32

SLAC Detailed
SLAC Computing
Software Home
Software Detailed


Basic OS Installation

Prerequisite - The system you are kickstarting needs to be on DMZ network so that it can access both SCCS NFS for RHEL5 image and our NFS for kickstart file (ks.cfg).

From Kickstart:

  1. Insert installation cd and when prompted:
    1. Type: linux ks=nfs: (You still need to enter IP Address, Netmask, Default Gateway when prompted on the GUI Screen).
      • In case you want to make it quick and lcls-rhel5 is not in use, you can type like "linux ks=nfs: ksdevice=eth0  ip= netmask= gateway=

      This network information is needed to access our NFS for ks.cfg file initially.

      • Check for current kickstart file and modify name and/or IP Address if necessary
  2. Once completed skip to Once server is built


Without Kickstart:

This procedure is based on We use lcls-dev1 as an example.

Configure TCP/IP

Only enable IPv4 support, and select Manual configuration
IPv4 address/prefix:

NFS Setup

Installation Number


Disk Partition

Select Create custom layout
Delete all existing partitions and create new ones only on sda


/ ext3 20gb
swap swap 8gb
/var ext3 8gb
/usr/vice/cache ext3 2gb
/tmp ext3 8gb
/scswork ext3 1gb
/scratch ext3 remainder

GRUB: use the default
No "System clock uses UTC

Package selection


Select Customize now

  1. Desktop Environments
        GNOME and KDE
  2. Applications
    • Add Authoring and Publishing
    • Engineering and Scientific
    • Remove Games and Entertainment
  3. Development
        Add all
  4. Servers
  5. Base System
    • Select Legacy Software Support, press Optional packages and select all.
    • Add System Tools Open
    • Fabrics Enterprise Distribution
  6. Languages

Firewall: Diabled
SELinux: Disabled
Set uup software updates: No
Create User: none

Edit /etc/inittab and set to 3

run these commands to turn off unneeded processes:

chkconfig rhnsd off
chkconfig hidd off
chkconfig bluetooth off
chkconfig avahi-daemon off
chkconfig yum-updatesd off
chkconfig ip6tables off
service rhnsd stop
service hidd stop
service bluetooth stop
service avahi-daemon stop
service yum-updatesd stop
service ip6tables stop



Below is needed for buildeng motif-based applications such as EDM


Once server is built:


Before running YUM or Tayloring the system you must first update fstab and grub.conf




SCCS taylored machine:


Create /etc/taylor.opts

You can copy over a "like" servers taylor.opts file.  Here is the "default"  You can do a "man taylor.opts" for more information.




nolprng  *for DMZ servers only
linux_kernel=leavealone  *for DMZ servers only

     elinks -source http://www/comp/unix/linux/go-taylor | sh


    wget -O- | sh

sudo yum check-update

sudo yum upgrade

Files to be edited/reviewed in case you are renaming server or changing it's IP Address.

Files to be edited/reviewed : /etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-*

Ensure that /etc/sysconfig/network file has all relevent entries.

Example -

$ cat /etc/sysconfig/network

Private machine:

RHEL5 Setup: (Production)

Setup for RHN Satellite Server:

(port 443)

wget --no-check-certificate -O- | sh

yum check-update

yum -y update


Modify fstab & grub.conf

  1. Get rid of labels and UUIDs


USB Control  -For servers in the field

echo 'install usb-storage : ' >> /etc/modprobe.conf

To enable USB-storage:

From root:

locate usb-storage

insmod /lib/modules/2.6.18-371.el5PAE/kernel/drivers/usb/storage/usb-storage.ko


Printers:  CUPSInfo.html


FONT Installation:  To get the MSttcorefonts:

rpm -yi /usr/local/admin/RPM/msttcorefonts-2.0-2.noarch.rpm



  • Checklist for cloning
    • Check printers ( lpstat -a )
    • Add NFS mounts
      • Make sure mounts exist:  /u1
    • Check linuxdd
    • Run /usr/local/admin/scripts/ if necessary
      • /usr/local/admin/scripts/   Servername
    • Check NTP
      • chkconfig --list ntpd
      • step-tickers
      • Check for existence of /var/ntp/ntpstats and owned by ntp:ntp
    • Access Control access controls
      • /etc/security/access.conf
      • /etc/pam.d/sshd
    • Check /etc/ssh_config
      • X11Forward=yes
    • Check crontab for ( laci, flaci, cddev, root...)
      • /var/spool/cron/
    • Check the rc3.d area
    • Move over the hosts SSH keys if necessary
    • Install OpenManage
    • Check /etc/exports file
      • if exports exists make sure NFS and PORTMAP are started
        • chkconfig --list nfs     chkconfig --list portmap
  • Miscellaneous – SCCS stores the RHEL installation images under NFS share  /net/ This location can be used for getting boot disk image and burning it on a cd.





Created by Jingchen Zhou, Nov 1, 2011