日常修改

This commit is contained in:
zeaslity
2024-11-13 09:51:57 +08:00
parent dcbefdead9
commit 8c34f9018c
15 changed files with 1263 additions and 5 deletions

View File

@@ -20,13 +20,13 @@ chmod +x /usr/local/bin/octopus-agent
# ssh root@${ip} "mkdir /root/wdd"
# scp octopus-agent root@${ip}:/root/wdd/
# scp /usr/local/bin/octopus-agent root@${ip}:/usr/local/bin/octopus-agent
# scp /root/wdd/docker-amd64-20.10.15.tgz root@${ip}:/root/wdd/
# scp /root/wdd/nfs_client_22.04.4_amd64.tar.gz root@${ip}:/root/wdd/
# scp /root/wdd/nfs_server_22.04.4_amd64.tar.gz root@${ip}:/root/wdd/
# scp /root/wdd/docker-compose-linux-x86_64-v2.18.0 root@${ip}:/root/wdd/
# ssh root@${ip} "chmod +x octopus-agent"
# ssh root@${ip} "chmod +x /usr/local/bin/octopus-agent"
# ssh root@${ip} "printf 'firewall\n' | octopus-agent --mode=bastion"
# ssh root@${ip} "printf 'sysconfig\n' | octopus-agent --mode=bastion"
# ssh root@${ip} "printf 'swap\n' | octopus-agent --mode=bastion"