1 安裝DHCP
yum -y install dhcp

2 複制檔案
cp /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
3 編輯檔案
vi /ect/dhcp/dhcpd.conf
4 重新開機dhcpd
service dhcpd restart
1 安裝DHCP
yum -y install dhcp
2 複制檔案
cp /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
3 編輯檔案
vi /ect/dhcp/dhcpd.conf
4 重新開機dhcpd
service dhcpd restart