Mount ISO file
mount -o loop
/mnt/e/centos5/CentOS-5.0-i386-bin-DVD.iso /mnt/iso
Configure DHCP Server ...................
#
# DHCP Server Configuration file.
# see
/usr/share/doc/dhcp*/dhcpd.conf.sample
#
ddns-update-style interim;
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.98 10.10.10.99;
default-lease-time 3600;
max-lease-time 4800;
option routers 10.10.10.29;
option domain-name-servers 10.10.10.29;
option subnet-mask 255.255.255.0;
option domain-name "qa.net";
option time-offset -8;
next-server 10.10.10.29;
}
host test {
hardware ethernet 00:10:F3:09:89:48;
fixed-address 10.10.10.98;
option host-name "test";
filename "/linux-install/pxelinux.0";
}
Configure HTTP server...................
<Directory /mnt/iso>
Options Indexes
AllowOverride None
</Directory>
Alias /linux /mnt/iso
Enable TFTP server using chkconfig.. restart xinetd
#Chkconfig tftp on
#Service xinetd restart
Configure PXE Installation Service
#pxeos -a -i "test" -p HTTP -D 0 -s 10.10.10.29 -L
/linux test
No comments:
Post a Comment