For setup a PXE server there are some prerequisites like : DHCP server, TFTP server, NFS server, syslinux . Server IP Address: 192.168.1.1 1. # yum install dhcp 2. # yum install tftp-server 3. # yum install syslinux Configure the TFTP server: # chkconfig tftp on # chkconfig xinetd on # service xinetd start Configure the NFS server: # cp -ra /media/Fedora(CD) /pub # vi /etc/exports / pub *(rw,sync) # exportfs -a # chkconfig nfs on # chkconfig portmap on # service portmap start # service nfs start Make sure /pub/Fedora(CD) must have images directory. Syslinux : # find / -name pxelinux.0 /usr/share/syslinux/pxelinux.0 # cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot # cp /media/Fedora(CD)/images/pxeboot/vmlinuz /var/lib/tftpboot # cp /media/Fedora(CD)/images/pxeboot/initrd.img /var/lib/tftpboot # cd /var/lib/tftpboot # mkdir pxelinux.cfg # vi pxelinux.cfg/default default install label install kernel vmlinuz append initrd...
Linux,Network Mangement,Network Security,How-to,Tips