CentOS 5
Sponsored Link

PXE Server Configuration
2010/06/18
  Build PXE (Preboot eXecution Environment) Server. It's necessarry your computer has a NIC with PXE surpport.

[1] Install some packages that is required for PXE server.
[root@dlp ~]#
yum -y install system-config-netboot syslinux xinetd tftp-server
[2] Run TFTP server
[root@dlp ~]#
vi /etc/xinetd.d/tftp


# line 14: change

disable =
no


[root@dlp ~]#
/etc/rc.d/init.d/xinetd start

Starting xinetd:
[  OK  ]

[root@dlp ~]#
chkconfig xinetd on
[3] Run DHCP server. Configure Basic Configuration first and add following config too.
[root@dlp ~]#
vi /etc/dhcpd.conf


option domain-name-servers
10.0.0.5;

# add near line 13

filename
"/linux-install/pxelinux.0";

next-server
10.0.0.5;
# IP address for PXE server


[root@dlp ~]#
/etc/rc.d/init.d/dhcpd restart

Shutting down dhcpd:
[  OK  ]

Starting dhcpd:
[  OK  ]

[4] Basic PXE configuration is done. If you'd like to network-install to Client, see here. or If you'd like to boot client that has no disk from network, See here.

 
Tweet