PXE BOOT SERVER
#yum install tftp*
first copy all source DVD in /var/ftp/pub
now
#cp -avrf /var/ftp/pub/isolinux/* /tftpboot
#cp -r /usr/lib/syslinux/pxelinux.0 /tftpboot
#mkdir /tftpboot/pxelinux.cfg
#cp -r /tftpboot/isolinux.cfg /tftpboot/pxelinux.cfg/default
now configure DHCE to boot Pxe
vim /etc/dhcpd.conf
subnet 10.10.10.0 netmask 255.255.255.0 {
# — default gateway
# option routers 10.10.10.75;
# option subnet-mask 255.255.255.0;
# option nis-domain “example.com”;
# option domain-name “example.com”;
# option domain-name-servers 10.10.10.75;
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# — Selects point-to-point node (default is hybrid). Don’t change this unless
# — you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 10.10.10.130 10.10.10.135;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 207.175.42.254;
}
host ns2 {
next-server 10.10.10.75;
hardware ethernet 00:19:D1:67:F0:C1;
fixed-address 10.10.10.132;
filename “pxelinux.0″;
}
and save the file ……….
now client side install from network boot and chose ftp option………..
Thanks,
Vishal Vyas
first copy all source DVD in /var/ftp/pub
now
#cp -avrf /var/ftp/pub/isolinux/* /tftpboot
#cp -r /usr/lib/syslinux/pxelinux.0 /tftpboot
#mkdir /tftpboot/pxelinux.cfg
#cp -r /tftpboot/isolinux.cfg /tftpboot/pxelinux.cfg/default
now configure DHCE to boot Pxe
vim /etc/dhcpd.conf
subnet 10.10.10.0 netmask 255.255.255.0 {
# — default gateway
# option routers 10.10.10.75;
# option subnet-mask 255.255.255.0;
# option nis-domain “example.com”;
# option domain-name “example.com”;
# option domain-name-servers 10.10.10.75;
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# — Selects point-to-point node (default is hybrid). Don’t change this unless
# — you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 10.10.10.130 10.10.10.135;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 207.175.42.254;
}
host ns2 {
next-server 10.10.10.75;
hardware ethernet 00:19:D1:67:F0:C1;
fixed-address 10.10.10.132;
filename “pxelinux.0″;
}
and save the file ……….
now client side install from network boot and chose ftp option………..
Thanks,
Vishal Vyas