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 阅读全文
posted @ 2021-09-30 11:24 虞岩 阅读(340) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bashecho "##########################################"echo "# 192.168.20.12 | oauth-server oauth-app #"echo "# 192.168.20.12 | im-server im-app 阅读全文
posted @ 2021-09-29 10:21 虞岩 阅读(75) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bashcase $1 in start) systemctl start $2 ;; stop) systemctl stop $2 ;; restart) systemctl restart $2 ;; all_restart) LIST="sshd nginx" for i in 阅读全文
posted @ 2021-09-26 09:41 虞岩 阅读(146) 评论(0) 推荐(0) 编辑
摘要:#!/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. 阅读全文
posted @ 2021-09-22 19:29 虞岩 阅读(67) 评论(0) 推荐(0) 编辑
摘要:#!/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 阅读全文
posted @ 2021-09-18 16:17 虞岩 阅读(95) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示