wget
http://122.225.32.131/icons/DenyHosts-2.6.tar.gz
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 http://220.189.255.45/icons/denyhosts.cfg
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
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 http://220.189.255.45/icons/denyhosts.cfg
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,如需转载请自行联系原作者