RedHat 6.0企业版安装指南
6.1 DHCP服务: [root@localhost ~]#yum install dhcp [root@localhost ~]#cp /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample /etc/dhcp/dhcpd.conf [root@localhost ~]#vim /etc/dhcp/dhcpd.conf 修改该文件后,内容如下 # dhcpd.conf option domain-name "example.org"; default-lease-time 600; max-lease-time 7200; log-facility local7;
subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.100 192.168.0.200; option routers 192.168.0.1; next-server 192.168.0.1; filename "pxelinux.0"; }
host PXE { hardware ethernet 00:0C:29:7B:86:E1; fixed-address 192.168.0.1; } host install { hardware ethernet 00:0C:29:7B:86:A2; fixed-address 192.168.0.2; } [root@localhost ~]#/sbin/service dhcpd restart 6.2 TFTP服务: [root@localhost ~]#yum install tftp-server [root@localhost ~]#vim /etc/xinetd.d/tftp (编辑:应用网_丽江站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |