11.01.2015 Views

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 31. PXE Network <strong>Installation</strong>s<br />

For more information on <strong>com</strong>mand line options available for the pxeboot <strong>com</strong>mand, refer to the<br />

pxeboot man page.<br />

4. TFTPD<br />

4.1. Starting the tftp Server<br />

On the DHCP server, verify that the tftp-server package is installed with the <strong>com</strong>mand rpm<br />

-q tftp-server. If it is not installed, install it via <strong>Red</strong> <strong>Hat</strong> Network or the <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong><br />

<strong>Linux</strong> CD-ROMs.<br />

Note<br />

For more information on installing RPM packages, refer to the Package<br />

Management Section of the <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> Deployment <strong>Guide</strong>.<br />

tftp is an xinetd-based service; start it with the following <strong>com</strong>mands:<br />

/sbin/chkconfig --level 345 xinetd on /sbin/chkconfig --level 345 tftp on<br />

These <strong>com</strong>mands configure the tftp and xinetd services to immediately turn on and also<br />

configure them to start at boot time in runlevels 3, 4, and 5.<br />

5. Configuring the DHCP Server<br />

If a DHCP server does not already exist on the network, configure one. Refer to the <strong>Red</strong> <strong>Hat</strong><br />

<strong>Enterprise</strong> <strong>Linux</strong> Deployment <strong>Guide</strong> for details. Make sure the configuration file contains the<br />

following so that PXE booting is enabled for systems which support it:<br />

allow booting; allow bootp; class "pxeclients" { match if substring(option<br />

vendor-class-identifier, 0, 9) = "PXEClient"; next-server ;<br />

filename "<strong>linux</strong>-install/pxe<strong>linux</strong>.0"; }<br />

where the next-server should be replaced with the IP address of the tftp server.<br />

6. Adding a Custom Boot Message<br />

Optionally, modify /tftpboot/<strong>linux</strong>-install/msgs/boot.msg to use a custom boot message.<br />

7. Performing the PXE <strong>Installation</strong><br />

For instructions on how to configure the network interface card with PXE support to boot from<br />

the network, consult the documentation for the NIC. It varies slightly per card.<br />

350

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!