摘要: iptables 配置收藏 -A INPUT -s 10.0.0.1 -p tcp --dport 8000 -m comment --comment "源ip-->目标:端口" -j ACCEPT -A INPUT -p tcp -m multiport --dports 8080:8090 -m 阅读全文
posted @ 2018-12-14 17:02 Carry00 阅读(3745) 评论(0) 推荐(0) 编辑
摘要: 转 https://www.cnblogs.com/zhichaoma/p/9073160.html 找到根目录下所有的以test开头的文件并把查找结果当做参数传给rm -rf命令进行删除: 1、find / -name “test*” |xargs rm -rf 2、find / -name “t 阅读全文
posted @ 2018-12-14 16:44 Carry00 阅读(396) 评论(0) 推荐(0) 编辑
摘要: MHA 常用维护命令 1、查看ssh登陆是否成功 masterha_check_ssh --conf=/etc/masterha/app1.cnf 2、查看复制是否建立好 masterha_check_repl --conf=/etc/masterha/app1.cnf 3、启动mha nohup 阅读全文
posted @ 2018-12-14 11:59 Carry00 阅读(427) 评论(0) 推荐(0) 编辑