Fully Automatic Linux Installation with Kickstart / What is Kickstart in Linux

What is Kickstart in Linux

What is Kickstart?
The kickstart file used to automatic installation Linux operating system multiple computers using a single file method call kickstart.
The kickstart installation method is used to primarily but not exclusively by the Redhat community system to automatically perform unattended OS installation and configuration.

Method 1:-

Step:1  First of all, we need to install a package of kickstart
Package name :-  System-config-kickstart

Note:- In any Linux (RHEL) computer automatically generate kickstart file after the installation.
In RHEL kickstart file generate anaconda-ks
.cfg . So we also used anaconda-ks.cfg file.

Also, we need to configure
Also, we need to configure apache server To install apache server
DHCP server to install DHCP server

# mv -rf  anaconda-ks.
  first we rename the file name anaconda-ks.cfg to ks.cfg

Step:2cfg ks.cfg
Note:- you must have root permission to change
name

Then we need to copy ks.cfg file into apache document root directory (document root = /var/www/
# cp -rf ks.cfg /var/www/html
html). Default path of anaconda-ks.cfg is /root/.

Then we check file access or not on browser. So go to your favorite browser and type URLStep:3Exm:-  192.168.2.1/ks.cfg  

Now we connect client pc through LAN

So now boot client system form CD and will press TAB button after booting from CD then type a command the last line
# inst.ks=http;//192.168.2.1/ks.cfg

NOW Linux os start automatically instakk through ks.cfg file

Method 2:-
Linux (RHEL) computer automatically generate a kickstart file after the installation. If we create a new anaconda-ks.cfg (kickstart) file.
So here is the step to create anaconda-ks.
cfg file. We need to install a package to create a file.

# yum install system-config-kickstart

To create a new file run command below.
# system-config-kickstart

Press enter here to open a new window of kickstart configuration we need to edit this operation and save the file ks.cfg  name.

Then Copy ks.cfg file to apache document root directory (/var/www/html)

Then we start the same process that used method 1.

 

 

 

Blog type: 

Add new comment

Authored By

Sandeep Gurjar

Hy all, This is Sandeep Gurjar am the founder of hostingride.in. I am a Redhat Certified Engineer (RHCE) / AWS Solutions Architect-Associate and working as an system administrator since 2016.

Follow us on

Facebook​  Twitter  LinkedIn  Google+