摘要:
yum install screen -y 打开新窗口xxx1 screen -S xxx1 查看窗口 screen -ls ctrl+a再d 暂时离开,后台 运行 screen -ls看会话id screen -r 【ID】重新连上 阅读全文
摘要:
主 vim /etc/my.cnf +10 i log-bin=mysql-bin /file名称 binlog-ignore-db=information_schema /不同步的数据库 binlog-ignore-db=mysql binlog-ignore-db=performance_sch 阅读全文
摘要:
vim keepalived_nginx.pyi# coding=utf-8import os,time,subprocess,threadingdef ping(Sip,Dip): Ip='ping -c 1 -I %s %s'%(Sip,Dip) p = subprocess.Popen([Ip 阅读全文