ubuntu10.04做PXE安装服务器
首先安装需要的几个软件包
sudo apt-get install tftpd-hpa dhcp3-server portmap nfs-kernel-server
还有apache
安装完后tftpd服务自动启动,这个不用管,但是dhcpd出现错误,不知道怎么回事。不用管安,配置一下dhcp
vi /etc/dhcp3/dhcp.conf
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
option domain-name-servers 202.102.128.68, 202.102.134.68;
option domain-name “tm.net.my”;
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
filename “pxelinux.0”;
}
现在启动dhcpd
sudo /etc/init.d/dhcp3-server restart
继续阅读 »