|
|
apt-get install dhcp
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
下列【新】软件包将被安装:
dhcp
共升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 1 个软件未被升级。
需要下载 0B/110kB 的软件包。
解压缩后会消耗掉 233kB 的额外空间。
选中了曾被取消选择的软件包 dhcp。
(正在读取数据库 ... 系统当前总共安装有 75584 个文件和目录。)
正在解压缩 dhcp (从 .../dhcp_2.0pl5-19.4_i386.deb) ...
正在设置 dhcp (2.0pl5-19.4) ...
Generating /etc/default/dhcp...
Please note that if you are installing the DHCP server for the first
time you need to configure it first. Please stop (/etc/init.d/dhcp
stop) the DHCP server daemon, edit /etc/dhcpd.conf to suit your needs
and particular configuration, and restart the DHCP server daemon
(/etc/init.d/dhcp start).
You also need to edit /etc/default/dhcp to specify the interfaces dhcpd
should listen to. By default it listens to eth0.
NOTE: dhcpd's messages are being sent to syslog. Look there for
diagnostics messages.
Starting DHCP server: dhcpd failed to start - check syslog for diagnostics.
什么也没有做就不能启动!
/etc/init.d/dhcp start
Starting DHCP server: dhcpd failed to start - check syslog for diagnostics. |
|