标签:pxe无人职守安装
1.安装vsftpd yum -y install vsftpd 2.安装tftp-server yum -y install tftp-server vi /etc/xinetd.d/tftp disabled=no service xinetd start netstat -anpul |grep :69 3.到镜像目录复制initrd.img,vmlinuz到tftp目录 cd /var/ftp/base/images/pxeboot cp -r initrd.img vmlinuz /var/lib/tftpboot 4.安装syslinux yum -y install syslinux cp -r /usr/share/syslinux/pxelinuz.0 /var/lib/tfptboot mkdir /var/lib/tftpboot/pxelinuz.cfg 5.安装dhcp yum -y install dhcp vi /etc/dhcp/dhcpd.conf subnet 192.168.8.0 netmask 255.255.252.0 { option subnet-mask 255.255.252.0; range 192.168.8.240 192.168.8.250; next-server 192.168.8.163; filename "pxelinux.0"; } 6. 无人值守: yum -y install system-config-kickstart 设置安装文件并保存到/var/lib/tftpboot vi /var/lib/tftpboot/pxelinuz.cfg/default default auto prompt 0 label auto kernel vmlinuz append ks=ftp://192.168.8.163/base/ks.cfg initrd=initrd.img devfs=nomount ramdisk_size=8192
本文出自 “Linux_Config” 博客,请务必保留此出处http://jialiang1026.blog.51cto.com/10119067/1632252
标签:pxe无人职守安装
原文地址:http://jialiang1026.blog.51cto.com/10119067/1632252