Fully Automatic Linux Installation with Kickstart / 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.
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 serverDHCP server to install DHCP server
# mv -rf anaconda-ks.
first we rename the file name anaconda-ks.cfg to ks.cfgStep:2cfg ks.cfg
Note:- you must have root permission to changename
Then we need to copy ks.cfg file into apache document root directory (document root = /var/www/
# cp -rf ks.cfg /var/www/htmlhtml). 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
NOW Linux os start automatically instakk through ks.cfg file
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.
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.