手动安装fail2ban步骤(请在SSH终端里逐行执行下面命令)
- wget -O /tmp/fail2ban.tar.gz http://download.bt.cn/install/plugin/fail2ban/fail2ban.tar.gz -T 5
- cd /tmp
- tar -zxf fail2ban.tar.gz
- cp /tmp/fail2ban/files/debian-initd /etc/init.d/fail2ban
- cd /tmp/fail2ban
- /www/server/panel/pyenv/bin/python setup.py install
复制代码
注意
CentOS8同内核版本的需要执行下面命令
- btpip install setuptools==57.4.0
复制代码 |