09 2021 档案
摘要:#!/bin/bashPS3="需要ping的网段:"select ip in 192.168.20.1 192.168.130.1 172.16.1.1; do case $ip in 192.168.20.1) IP=(192.168.20.11 192.168.20.12 192.168.20
阅读全文
摘要:#!/bin/bashecho "##########################################"echo "# 192.168.20.12 | oauth-server oauth-app #"echo "# 192.168.20.12 | im-server im-app
阅读全文
摘要:#!/bin/bashcase $1 in start) systemctl start $2 ;; stop) systemctl stop $2 ;; restart) systemctl restart $2 ;; all_restart) LIST="sshd nginx" for i in
阅读全文
摘要:#!/bin/bashDATA=/data/prog/projectIP1=172.16.1.41IP2=172.16.1.42IP3=172.16.1.43IP4=172.16.1.44IP5=172.16.1.45IP6=172.16.1.46IP7=172.16.1.49IP8=172.16.
阅读全文
摘要:#!/bin/bash echo " 马上就好,请稍后 "yum -y install sshpass >/dev/null ssh-keygen -f /root/.ssh/id_rsa -P ''NET=192.168.20export yesexport SSHPASS=123456for I
阅读全文