新增浙江二级平台的内容
This commit is contained in:
@@ -7,6 +7,9 @@ https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/harbor-offline-i
|
||||
|
||||
https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/docker-compose-linux-x86_64-v2.18.0
|
||||
|
||||
mc.exe get uav-demo/cmlc-installation/downloadfile/amd/docker-amd64-20.10.15.tgz "D:\CmiiDeployOffline\"
|
||||
mc.exe get uav-demo/cmlc-installation/downloadfile/amd/docker-compose-linux-x86_64-v2.18.0 "D:\CmiiDeployOffline\"
|
||||
|
||||
|
||||
mv /root/octopus-agent_linux_amd64 /usr/local/bin/octopus-agent
|
||||
chmod +x /usr/local/bin/octopus-agent
|
||||
|
||||
@@ -39,3 +39,11 @@ scp /etc/docker/daemon.json root@${server}:/etc/docker/
|
||||
ssh root@${server} "systemctl restart docker && sleep 3 && docker info"
|
||||
|
||||
sed -i '/^$/d' ~/.ssh/*
|
||||
|
||||
chmod +x /usr/local/bin/octopus-agent
|
||||
printf 'firewall\n' | octopus-agent --mode=bastion
|
||||
printf 'sysconfig\n' | octopus-agent --mode=bastion
|
||||
printf 'swap\n' | octopus-agent --mode=bastion
|
||||
printf 'selinux\n' | octopus-agent --mode=bastion
|
||||
printf 'docker\n' | octopus-agent --mode=bastion
|
||||
printf 'dockercompose\n' | octopus-agent --mode=bastion
|
||||
|
||||
Reference in New Issue
Block a user