制作ISO启动安装盘
# CentOS69
yum install -y httpd
service httpd start
chkconfig httpd on
mkisofs -R -J -T -v --no-emul-boot --boot-load-size 4 --boot-info-table -V "CentOS6.9 Kickstart Installer" -b isolinux/isolinux.bin -c isolinux/boot.cat -o /data/69-ks-dvd.iso /data/69-DVD
mkdir /var/www/html/iso
mv /data/69-ks-dvd.iso /var/www/html/iso/
iptables -F
setenforce 0
# CentOS74
yum install -y httpd
systemctl start httpd
systemctl enable httpd
mkisofs -R -J -T -v --no-emul-boot --boot-load-size 4 --boot-info-table -V "CentOS7.4 Kickstart Installer" -b isolinux/isolinux.bin -c isolinux/boot.cat -o /data/74-ks-dvd.iso /data/74-DVD
mkdir /var/www/html/iso
mv /data/74-ks-dvd.iso /var/www/html/iso/
iptables -F
setenforce 0