本帖最后由 Libws 于 2023-1-10 05:05 编辑
试试这样行不行(先安装宝塔里的Fail2ban,无视错误)
[Shell] 纯文本查看 复制代码 yum -y update && yum -y install epel-release
yum -y install fail2ban
systemctl start fail2ban && systemctl enable fail2ban
然后查询服务状态(Active:后面是"active (running)"就正常了)
[Shell] 纯文本查看 复制代码 systemctl status fail2ban.service
|