摘要: #!/bin/bash systemctl stop firewalld setenforce 0 setenforce 0 yum -y install epel-release yum -y install supervisor touch /etc/supervisord.d/tomcat.i 阅读全文
posted @ 2020-01-16 20:58 Databasess 阅读(151) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash yum -y install keepalived > /dev/null touch /opt/kill.sh cat >/opt/kill.sh<<EOF #!/bin/bash systemctl stop keepalived EOF same=`grep -f /o 阅读全文
posted @ 2020-01-16 20:57 Databasess 阅读(248) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashyum -y install keepalived >/dev/nulltouch /opt/kill.shcat >/opt/kill.sh<<EOF#!/bin/bashsystemctl stop keepalivedEOFsame=`grep -f /opt/keepa 阅读全文
posted @ 2020-01-16 20:54 Databasess 阅读(170) 评论(0) 推荐(0) 编辑