Performing a Kickstart Installation
Using Red Hat 7.0
Updated June 20, 2001
Created May 29, 2001


This document describes performing a kickstart install of Red Hat 7.0 from an NFS share. The ks.cfg in this example is located on NFS share along with cpq_stuff.sh for installing the Compaq Health Driver, Agents, Survey, and an updated e100 driver.

Basically it took 3 files for me to do a network kickstart installation + Compaq server agents installation:


MK_KS.CFG SYSLINUX.CFG KS.CFG KS.CFG-POST GRAB.SH CPQ_STUFF.SH REFERENCES


Creating a Kickstart Configuration File (ks.cfg)

  1. Install a system with all the packages as you like


  2. Make sure the mkkickstart.rpm is installed


  3. Run mkkickstart and direct the output to a file
  4. mkkickstart >ks.cfg
  5. Make any necessary modifications to ks.cfg for it to behave how you want. Pay attention to partitioning and LILO installation location.


  6. Build the /images/bootnet.img floppy and modify syslinux.cfg so that it defaults to the ks label. Also put any ks specific pointers there.



Configuration Files


MK_KS.CFG SYSLINUX.CFG KS.CFG KS.CFG-POST GRAB.SH CPQ_STUFF.SH REFERENCES


SYSLINUX.CFG


MK_KS.CFG SYSLINUX.CFG KS.CFG KS.CFG-POST GRAB.SH CPQ_STUFF.SH REFERENCES


KS.CFG


MK_KS.CFG SYSLINUX.CFG KS.CFG KS.CFG-POST GRAB.SH CPQ_STUFF.SH REFERENCES


KS.CFG-POST


MK_KS.CFG SYSLINUX.CFG KS.CFG KS.CFG-POST GRAB.SH CPQ_STUFF.SH REFERENCES


GRAB.SH

I separated the downloading portion of cpq_stuff.sh script into this script called grab.sh. This script, grab.sh, will log into the ftp server and download the files necessary to complete the download.

You will probably need to download the cpqhealth by hand as I don't have a direct link to it on the Compaq ftp site. The link you see in my grab.sh script is where I had created a fake ftp.compaq.com for a class I was giving - I just stored cpqhealth in /pub of my fake ftp site.
MK_KS.CFG SYSLINUX.CFG KS.CFG KS.CFG-POST GRAB.SH CPQ_STUFF.SH REFERENCES


CPQ_STUFF.SH

The following is a script for installing the agents on a Compaq server running RH70.

I do not guarantee that the snmpd.conf file is configured correct; anyway one would want to reconfigure the file themselves to make sure there are no security holes.

The code to stop and remove the old components in this script definitely is not needed as part of a fresh install; so you should be able to cut that part out if you wish. Also you don't need the part that restarts each of the components at the very end, since we are doing a reboot after they are installed. I created those sections as a possible upgrade script and so I left it in for this kickstart installation demo.

These scripts can be tweaked just a little bit so that you don't need to reboot after the agents are installed. These tweaks would include:
MK_KS.CFG SYSLINUX.CFG KS.CFG KS.CFG-POST GRAB.SH CPQ_STUFF.SH REFERENCES


References




Homepage: http://www.oocities.org/rlcomp_1999