Linux Kickstart Installation
Platform: RHEL 6.2
Preparation
Virtual Box Setting
Setup the DHCP server
Server Part
1. Generate the ks file:
a. install kickstart rpm package: yum install system-config-kickstart
b. input command: system-config-kickstart
c. save the config file as ks.cfg
2. Copy the content of RHEL 6.2 installation disc to folder /var/ftp/pub/RHEL6
3. Setup the tftp service
a. install the tftp, tftp-server package: yum install tftp, tftp-server
b. modify config file /etc/xinetd.d/tftp
disable=no
c. start xinetd service: service xinetd start
4. Setup the ftp service
a. install the vsftpd rpm package: yum install vsftpd
b. close the firewall: service iptables stop
c. start ftp service: service vsftpd start
Installation
Client Part
1. Insert the RHEL6.2 installation disc to start the system;
2. When the installation screen, click the "esc" button;
3. input command: linux ks=ftp://<Server IP address >/pub/ks.cfg
Example: linux ks=ftp://12.11.0.200/pub/ks.cfg
4. System will automatically install the RHEL6.2
Attachment
The attachment file is an example ks.cfg file
The disk partition is
/boot 100M
SWAP 2048M
/ Left space
Package: Desktop
Comments
Post a Comment