摘要: l 主mysql上: # cp /etc/my.cnf /etc/my.cnf.bak # vi /etc/my.cnf log_bin=mysql-bin //开启二进制日志 server_id=1 //server_id 的值主从必须不同 登录mysql后进行授权: mysql> grant a 阅读全文
posted @ 2020-05-19 19:46 云凡、、、 阅读(419) 评论(0) 推荐(0)
摘要: 1.epel仓库安装 yum -y install extundelete 编译安装: wget http://zy-res.oss-cn-hangzhou.aliyuncs.com/server/extundelete-0.2.4.tar.bz2 yum -y install bzip2 e2fs 阅读全文
posted @ 2020-05-19 17:09 云凡、、、 阅读(439) 评论(0) 推荐(0)
摘要: 1:安装 yum -y install epel-release yum -y install fail2ban 文件目录: /etc/fail2ban ## fail2ban 服务配置目录/etc/fail2ban/action.d ## iptables 、mail 等动作文件目录/etc/fa 阅读全文
posted @ 2020-05-19 17:04 云凡、、、 阅读(268) 评论(0) 推荐(0)