I. kickstart flowchart
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201411/6/8287762_1415262044zAFK.png "" 981 "height =" 669 "/>
2. Preparations before installation
1. Disable iptables
Service iptables stop
Chkconfig iptables off
2. Disable Selinux
Sed-I's/enabled/disabled/g'/etc/sysconfig/selinux
III. Install and configure the server
Yum-y install tftp-server dhcp vsftpd syslinux
Vim/etc/dhcpd. conf
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201411/6/8287762_1415262044TFH0.png "" 651 "height =" 287 "/>
Attach a CD image file
Mount/dev/cdrom/media
Cp-r/media/*/var/ftp/pub
Load the TFTP service at startup
Vim/etc/xinetd. d/tftp
Disable = no
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201411/6/8287762_141526204514bk.png "" 826 "height =" 349 "/>
Load FTP files
Cp/var/ftp/pub/images/pxeboot/{vmlinuz, initrd. img}/var/lib/tftpboot/
Cp/var/ftp/pub/isolinux/{boot.msg,vesamenu.c32,splash.jpg}/var/lib/tftpboot/
Cp/usr/share/syslinux/pxelinux.0/var/lib/tftpboot/
Mkdir/var/lib/tftpboot/pxelinux. cfg
Cp/var/ftp/pub/isolinux. cfg/var/lib/tftpboot/pxelinux. cfg/default
Copy ks files
Cp anaconda-ks.cfg/var/ftp/pub/ks. cfg
Modify the ks. cfg file
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201411/6/8287762_14152620455a2r.png "" 1004 "height =" 512 "/>
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201411/6/8287762_1415262046UF30.png "" 776 "height =" 484 "/>
Start the service
Service dhcpd restart
Service xinetd restart
Service vsftpd restart
Test ..
Start the VM and press esc
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201411/6/8287762_14152620464tvZ.png "" 586 "height =" 366 "/>
Select the first item
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201411/6/8287762_1415262047ZlB6.png "" 659 "height =" 495 "/>
View server logs
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" image "border =" 0 "alt =" image "src =" http://img1.51cto.com/attachment/201411/6/8287762_1415262047lnOd.png "" 1165 "height =" 135 "/>
PXE distribution and installation CentOS6.5