pxeinstall 无人职守

#rpm -ivh dhcpd tftp-server vsftpd system-config-kickstart
#cp /usr/share/doc/dhcp*/dhcpd.conf.sample /etc/dhcpd.conf
#vi /etc/dhcpd.conf
##filename "/pxelinux.0";
##next-server "192.168.0.108";
#vi /etc/xinetd.d/tftp
##disable =no
#cp /usr/lib/syslinux/pxelinux.0 /tftpboot/
#system-config-kickstart
##edit the config
##select install from ftp server
##input ftp server addree and the packages dir as:192.168.0.108 /media
##save as /var/ftp/ks.cfg
#mkdir /tftpboot/pxelinux.cfg
#mount /dev/cdrom /media
#cp /media/isolinux/isolinux/isolinux.cfg /tftpboot/pxelinux.cfg/default
#vi /tftpboot/pxelinux.cfg/default
##edit as:
###label linux text/ks
###kernel vmlinuz
###append ks=ftp://192.168.0.108/ks.cfg initrd=initrd.img text
#ln -s /media /var/ftp/media
#service dhcpd restart
#service vsftpd restart
#service xinetd restart

本文出自 “追求卓越,成功迎面而来” 博客,转载请与作者联系!

你可能感兴趣的:(职场,休闲,职守,pxeinstall)