????1?????????

?????????????????

????1?????????????????dhcp??tftp

????2?????????????????nfs??ftp??http

????3???????pc????????pxe???

??????????????

????DHCP????????????IP???????????????????

????TFTP????????????????????????????????

??????????xinetd

????NFS/FTP/HTTP????????????????????????????

????DNS??????????????????????????????IP?????Щ

???????PXE

????PXE??preboot execute environment??????Intel??????????????????????Client/Server??????????????????????????????????????????????????????????????????????????????????У????????????????IP?????????TFTP??trivial file transfer protocol????MTFTP??multicast trivial file transfer protocol??Э???????????????????????????в???У???????????????????????????????????????????????????е???????????PXE????????????????????磺Windows95/98/2000/windows2003/windows2008/win7/win8??linux???

????????KickStart

????KickStart????????????????????KickStart??????????????????????????????????????????д??????????????????????kc.cfg????????????????????е??????????д?????????????????????????????KickStart??????????????????????????????????????????????????????????????????????????????????????KickStart????????????????г?????????????д????????????????????????????????δ??ks.cfg??????????????????飬

????????????????????????????????????yum??????????

nfs-utils-*
xinetd-*
tftp-server-*
dhcp-*
pykickstart-*
system-config-kickstart-*

?????????????

????????dhcp??????

# yum install dhcp -y
# cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample /etc/dhcpd.conf

# vim /etc/dhcpd.conf

    ddns-update-style interim; 
    ignore client-updates; 
    next-server 192.168.1.10??dhcp????????IP??; 
    filename "pxelinux.0"; 
    allow bootp; 
    allow booting; 
    subnet 192.168.1.0 netmask 255.255.255.0 { 
            option routers                  192.168.1.20; 
            option subnet-mask              255.255.255.0; 
            option domain-name              "upl.com"; 
            option domain-name-servers      192.168.1.10; 
            range dynamic-bootp 192.168.1.1 192.168.1.8; 
            default-lease-time 21600; 
            max-lease-time 43200; 
    }