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.
Genral Installation and automatic creation of kickstart file
step 1 : Connect system to DHCP network
Step 2 : Boot your system using Redhat boot media.
Step 3 : Enter command "linux askmethod" at boot prompt and press enter.
step 4 : Follow the installation process till it asks for Installation Method.
The options for installation method incude.
NFS Image ( Network installation )
FTP ( Network installation )
HTTP ( Network installation )
Select your method and install accordingly.
After installation /root/anaconda-ks.cfg file is automatically created during Install.
/root/anaconda-ks.cfg can be used as a template for future installation.
It is a scripted installation process.
we can manually configure with System-Config-Kickstart
Check systax of Kickstart file with : ksvalidator
Once you are ready with Kickstart file lets start installation with Kickstart file.
for installation with kickstart we should give following command at boot prompt
linux ks= Url
Ks will queries DHCP for kickstart location
URl gets file via HTTP or FTP or NFS.
we can also give local address like
KS=floppy; ks=Cdrom or ks= hd:device:/path of the file.
Using a NFS Server
Verify that the first two lines of the file look like this or else you may be prompted for NFS ISO file location information.
nfs --server=22.214.171.124 --dir=/data/network-install/ISO
example : linux ks=nfs:192.168.1.100:/kickstart/ks.cfg
Run this at boot prompt with your settings for NFS ks installation
Using a Web Server
Verify that the first two lines of the file look like this or else you may be prompted for RPM base file location information.
url --url http://192.168.1.100/network-install/
example : linux ks=http://192.168.1.100/network-install/kickstart/ks.cfg
Run this at boot prompt with your settings for http ks installation
Comming to Kickstart file it consists of three sections
1 command section
2 packages section
3 scripts section
Note 1: Do not change the order of the entries in the kickstart configuration file.
Note 2: The IP address you assign must be on the same subnet as that of the DHCP server for kickstart to work. If the server is going to reside on a different network after the installation, then you have to run a separate script to change the IP addressing information after the installation is complete.
Redhat refrence links for Kickstart
What are Kickstart Installations ? explained by Redhat
How Do You Perform a Kickstart Installation? explained by Redhat
Creating the Kickstart File explained by Redhat
Kickstart Options explained by Redhat
Pre-installation Script explained by Redhat
Post-installation Script explained by Redhat
Making the Kickstart File Available explained by Redhat
Starting a Kickstart Installation explained by Redhat
Kickstart Configurator explained by Redhat
Installation Method explained by Redhat
- Amanda (2)
- Ansible (2)
- Answer these Questions (2)
- antivirus (2)
- apache (3)
- Bash (16)
- Chef (3)
- Citrix (2)
- clusters (2)
- Concept (22)
- DatabaseAdminstration (11)
- DevOps (1)
- dhcp (2)
- Downloads (3)
- ELK (1)
- ELK stack (1)
- encryption (1)
- Free trainings (1)
- Frequently Used Commands (46)
- FTP (1)
- git (1)
- gpg (2)
- Hardware (1)
- httpd (2)
- Interview Questions (54)
- iptables (1)
- IT NEWS (3)
- java (1)
- kibana (2)
- knife (1)
- KVM (2)
- linux (17)
- Linux installations (22)
- Linux Jobs (4)
- Linux Links (2)
- logstash (1)
- Mac (1)
- MediaWiki (1)
- MySql (2)
- Nagios (2)
- Networking (3)
- open Nebula (5)
- Open Source tools (12)
- OpenNMS (1)
- openSSL (1)
- Oracle on Linux (5)
- Performance Monitoring (1)
- php (1)
- postfix (1)
- postgres (1)
- postgres-XL (1)
- Product Reviews (1)
- Python (2)
- rssh (1)
- Samba (2)
- Scripting (16)
- security (4)
- selinux (1)
- Server (1)
- SFTP (1)
- Social Awareness (2)
- Solaris (1)
- SSL (1)
- svn (1)
- TCP/IP (1)
- Technology (1)
- Tips and Tricks (32)
- Training and materials (8)
- Troubleshooting (6)
- Ubuntu (18)
- unix (1)
- virtualization (17)
- Vmware (25)
- Vyatta (1)
- windows7 (1)
- xml (1)