# yum -y install syslinux xinetd tftp-server
[root@groad.net /]# cat /etc/dhcp/dhcpd.conf
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
# see 'man 5 dhcpd.conf'
#
default-lease-time 600;
max-lease-time 86400;
authoritative;
allow booting;
allow bootp;
subnet 192.168.1.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.1.150 192.168.1.200;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 202.100.192.68;
filename "pxelinux.0";
next-server 192.168.1.109;
}
[root@groad.netpxe]# ln -s /var/lib/tftpboot/ /tftpboot
[root@groad.net pxe]# mount -t iso9660 -oloop /home/beyes/ISO/ubuntu-12.04.2-alternate-i386.iso /var/www.html/
[root@groad.net /]# cp -r/var/www/html/install/netboot/* /tftpboot/
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |