Configuring a Pre-eXecution Environment (PXE) using Red Hat Linux 6.2 on Compaq ProLiant Servers

Configuring a Pre-eXecution Environment (PXE) using Red Hat 6.2 Linux on Compaq ProLiant Servers 5
14K1-0301A-WWEN
Software Installation
The following instructions specify paths and filenames that are correct in most cases. It is
possible, with different versions of Red Hat and different installations that the user will have to
adjust the directions for these differences.
1. Install the PXE software from the Red Hat 6.2 CD by doing the following.
Type [mount /dev/cdrom /mnt/cdrom]
[rpm –Uvh /mnt/cdrom/RedHat/RPMS/pxe-0.1-20-i386.rpm]
[rpm –Uvh /mnt/cdrom/RedHat/SRPMS/pxe-0.1-20-scr.rpm]
[umount /mnt/cdrom]
2. Add the following lines to /etc/services:
Type [mtftp 1759/udp]
[pxe 67/udp]
[pxe 4011/udp]
3. Change this line in /etc/inetd.conf:
#tftp dgram udp wait root /usr/sbin/tcpd in.tftpd
To these lines:
Type the following:
[tftp dgram udp wait root /usr/sbin/tcpd in.tftpd
/tftpboot]
[mtftp dgram udp wait root /usr/sbin/tcpd in.mtftpd
/tftpboot]
4. Enable the PXE daemon to start on every reboot:
Type [cd /etc/rc.d/init.d]
[chkconfig –-level 234 pxe on]
5. Add these lines to the end of your /etc/rc.d/rc.local file:
Type [route add –host 255.255.255.255 eth0]
[route add –net 224.0.0.0 netmask 224.0.0.0 eth0]
6. Test the PXE server by restarting the server. Upon restart, boot up a PXE enabled client.
The client’s PXE boot process should receive an IP address from DHCP.