![]() ![]() ![]() # cp /usr/share/syslinux/memdisk /var/lib/tftpboot/ # cp /usr/share/syslinux/menu.c32 /var/lib/tftpboot/ # cp /usr/share/syslinux/chain.c32 /var/lib/tftpboot/ Once these packages are installed copy the below files from the specified directory to /var/lib/tftpboot # cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot/ Restart the services # /etc/init.d/vsftpd restart Manually browse to the server ip () and verify if you can see all the files. Restart the httpd services # service httpd restart # At the end of the file add the following linesĬustomLog logs/-access_log common But I will show you the configuration of all three so that you can choose any one as per your requirement. You can use either of the mentioned servers for your purpose. NOTE: In my case the cdrom is mounted on /dev/sr0 which can be different for you. Mount: block device /dev/sr0 is write-protected, mounting read-only # mount /dev/sr0 /var/lib/tftpboot/images/centos/6/i386/ To skip the lenghty process as of now we will just mount the dvd to relevant destination. If the image is mounted on your Linux machine then you can copy using scp command. Next copy the installation files from the installation media.If you have iso images of the OS you can use WinSCP(on windows) to copy all the files. # mkdir -p /var/lib/tftpboot/images/centos/6/x86_64/ Let us create separate directory to save all the installation files # mkdir -p /var/lib/tftpboot/images/centos/6/i386/ TFTP CLIENT RPM INSTALLIn my case I want to confiure a PXE server to install CentOS 6.2 For configuring multiple OS you will have to copy the OS files into separate directory for different OS. You can also mount the media file on the PXE server in case you don't want to copy all the files but using that way you will only be able to configure your PXE server for one OS. Next we need to copy all the files from the installation media(CD/DVD,ISO) to our PXE server. Install the required packages using yum # yum -y install dhcp tftp-server syslinux http ftp vsftpd I will be using Red Hat Linux 6 (32-bit) for my purpose In this article I will show you step by step guide to configure a PXE boot server using http and ftp in which you can use either one suiting your requirement. It is also pronounced as "pixie" and is mostly used to boot the client machine with a installation media stored on the PXE server using network interface. TFTP CLIENT RPM SOFTWAREPXE is an abbreviation for Preboot e Xecution Environment which describes a client server standardized environment to boot from a network a software assembly on a client i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |