PXE Boot : Configure PXE Server2015/06/26 |
|
Configure PXE (Preboot eXecution Environment) Server. Your computer needs to have a NIC with PXE surpport.
|
|
| [1] | Install required packages. |
|
[root@dlp ~]#
[root@dlp ~]# yum -y install syslinux xinetd tftp-server mkdir /var/lib/tftpboot/pxelinux.cfg [root@dlp ~]# cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot/ |
| [2] | Start TFTP. |
|
[root@dlp ~]#
vi /etc/xinetd.d/tftp # line 14: change disable = no
systemctl start xinetd [root@dlp ~]# systemctl enable xinetd |
| [3] | Start DHCP server. Refer to here for DHCP basic settings. Furthermore, Add following settings. |
|
[root@dlp ~]#
option domain-name-servers 10.0.0.30;vi /etc/dhcp/dhcpd.conf # add follows near line 8 (specify PXE server's hostname or IP for "next-server") filename "pxelinux.0"; next-server 10.0.0.30; systemctl restart dhcpd |
| [4] |
It's OK to configure basic PXE settings.
|
| Sponsored Link |
|
|