[root@localhost ~]# chmod u+s
/usr/local/sbin/dhcpd[root@localhost ~]# exit
logout
You have new mail in /var/spool/mail/slview
-bash-3.2$ /usr/local/sbin/dhcpd eth0Internet Systems
Consortium DHCP Server 4.2.2rc1
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 class decls to leases file.
Wrote 0 leases to leases file.
Listening on LPF/eth0/6c:ae:8b:4f:11:1a/202.103.226.0/24
Sending on LPF/eth0/6c:ae:8b:4f:11:1a/202.103.226.0/24
Sending on Socket/fallback/fallback-net
-bash-3.2$ There's already a DHCP server running.
If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org
and install that before
requesting help.
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
exiting.
-bash-3.2$
-bash-3.2$ ps -ef|grep dhcpd
root 28466 1 0 18:19
? 00:00:00 /usr/local/sbin/dhcpd eth0
slview 28614
28015 0 18:26
pts/2 00:00:00 grep dhcpd
-bash-3.2$ exit
logout
You have new mail in /var/spool/mail/root
[root@localhost cfg]# kill -9 28466
[root@localhost cfg]# su - slview
-bash-3.2$ /usr/local/sbin/dhcpd
eth0Internet Systems Consortium DHCP Server
4.2.2rc1
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 class decls to leases file.
Wrote 0 leases to leases file.
Listening on LPF/eth0/6c:ae:8b:4f:11:1a/202.103.226.0/24
Sending on LPF/eth0/6c:ae:8b:4f:11:1a/202.103.226.0/24
Sending on Socket/fallback/fallback-net
-bash-3.2$
广告一下,我专门给大家翻译外文IT参考资料,想学的,可以关注,也可以关注我个人自己建的博客:http://www.1024sky.cn