denyhosts 설치
OS : CentOS 5.2(64nit)


#wget http://downloads.sourceforge.net/denyhosts/DenyHosts-2.6-python2.4.noarch.rpm?use_mirror=nchc

#rpm -Uvh DenyHosts-2.6-python2.4.noarch.rpm

#rpm -ql DenyHosts-2.6

cd /usr/share/denyhosts

cp denyhosts.cfg-dist denyhosts.cfg (cfg수정)

cp daemon-control-dist daemon-control (수정)

설치및 설정문서
cat /usr/share/denyhosts/README.txt

cd /etc/init.d
ln -s /usr/share/denyhosts/daemon-control denyhosts
chkconfig --add denyhosts

[출처 ] http://www.netnux.com/zbxe/817

신고

+ Recent posts

티스토리 툴바