wget tar -zxvf DenyHosts-2.6.tar.gz mv DenyHosts-2.6 /usr/local/denyhosts cd /usr/local/denyhosts python setup.py install cd /usr/share/denyhosts/ wget cp daemon-control-dist daemon-control chmod 700 daemon-control ./daemon-control start echo "/usr/share/denyhosts/daemon-control start" >> /etc/rc.d/rc.local 本文转自 fenghao.cn 51CTO博客,原文链接:http://blog.51cto.com/linuxguest/309093,如需转载请自行联系原作者