HTTP Kickstart server in 10 Steps
This
is a quick tutorial on how to setup an Apache based Kickstart install
server for provisioning Red Hat or CentOS hosts in your environment. By
Kickstarting a host/s you can save time and standardize your environment
by defining a configuration file that all hosts will use to perform
automated installs.
1. Head over to centos.org and download the iso of the CentOS release you are interested in. I will be using CentOS 5.4 for the purposes of this tutorial.
2. Install Apache.
Check your system for Apache being installed using:
If nothing returns issue:
This should download and install the dependencies for Apache.
3.
Create a install root where we will be installing the contents of the
cdrom to. I’ll be using the default document root in /var/www/html.
4. Mount the iso you downloaded to a mount point.
5. Copy the contents of the iso into the directory you created.
6.
Create a directory to house your kickstart configurations. Once again
I’ll be using Apache’s default document root of /var/www/html. I will be
creating a directory called ks to store my configurations.
7.
Create the kickstart configuration file. I named my configuration
ks.cfg and dropped it in the ks directory we created in step 6. Here is
what I use for my kickstart profile. Very minimal config.
8.
Use the dvd you downloaded or grab a copy of the boot.iso from the
install root. You can either use the install DVD iso you or use the 10MB
boot.iso located in centos5/images/boot.iso I choose to use the
boot.iso since its 10MB and is easily distributable.
9. Start up the Apache process
10. Now for the Moment of truth. Boot the system with boot.iso or install DVD. At the boot prompt enter:
If all went well the system should boot and fetch the kickstart config. Then the installation will begin hands off.