Kickstart Installation in Redhat Enterprise Linux

60
Kickstart Installation in Redhat Enterprise Linux
Kickstart Installation in Redhat Enterprise Linux

Kickstart Installation in Redhat Enterprise Linux

Many system administrators would prefer to use an automated installation method to install Red Hat Enterprise Linux on their machines. To answer this need, Red Hat created the kickstart installation method. Using kickstart, a system administrator can create a single file containing the answers to all the questions that would normally be asked during a typical installation.

Kickstart files can be kept on a single server system and read by individual computers during the installation. This installation method can support the use of a single kickstart file to install Red Hat Enterprise Linux on multiple machines, making it ideal for network and system administrators.

Actually Kickstart installations done by using a local CD-ROM, a local hard drive, or via NFS, FTP, or HTTP

Kickstart Installation in Redhat Enterprise Linux
Kickstart Installation in Redhat Enterprise Linux

To use kickstart, you must:

  1. Create a kickstart file.
  2. Create a boot media with the kickstart file or make the kickstart file available on the network.
  3. Make the installation tree available.
  4. Start the kickstart installation.

Let’s configure the kickstart installation by following the above steps:

Create a kickstart file

Kickstart configuration files can be built by hand or using the GUI system-config-kickstart tool. Additionally, the standard Red Hat installation program Anaconda will produce a kickstart configuration file at the end of any manual installation process. This file can then be taken and either used to automatically reproduce the same installation or edited (either manually or with system-config-kickstart).

Check and install package for kickstart

#rpm –q system-config-kickstart – if packages not there install packages by using yum

#yum install system-config-kickstart

Use the “system-config-kickstart” command to create a kickstart file.

#system-config-kickstart

Use the below Screenshots as reference purposes to create a kick start configuration file.

Kickstart -1

Kickstart -2

Kickstart -3

Kickstart -4

Kickstart -6

Kickstart -7

Here we can select the what kind of installation we are gonna do

Kickstart -8

Kickstart -9

Save the file as per your requirement.

Now we have to install the OS in client-server before that we have to check the servers access we have or not via ILO (if it’s a physical machine) and make sure u have downloaded iso image from RedHat site to your local machine login to console and follow below procedure.

Kickstart -10

Select ISO image from your local machine.

Kickstart -11

As the server boots, below shows that the boot.iso image has been mounted.

Kickstart -12

Allow to boot up to RHEL Linux prompt, type in the command as shown below:

If http: # Linux ks=http://ip of kick start configuration file/sree-ks.cfg kdevice=etho ip=192.168.10.90 netmask=255.255.255.0

If ftp: # linux ip=192.168.10.96 netmask=255.255.255.0 ks=ftp://192.168.10.95/pub/kt.cfg

After making the boot media, make the system boot with it, press “Esc” to type the following command to make installation media from network

# boot: linux askmethod – it will allow which method u want to install Rhel.

This is the full information about the Kickstart Installation. If you have any doubts, please let us know.