Files
CmiiDeploy/998-常用脚本/OctopusAgent运行/bastion模式运行基础环境.sh
2024-11-20 16:04:33 +08:00

16 lines
564 B
Bash

#!/bin/bash
https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/docker-amd64-20.10.15.tgz
https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/harbor-offline-installer-v2.9.0.tgz
https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/docker-compose-linux-x86_64-v2.18.0
mv /root/octopus-agent_linux_amd64 /usr/local/bin/octopus-agent
chmod +x /usr/local/bin/octopus-agent
printf 'help\n' | octopus-agent --mode=bastion
file_list=(docker-amd64-20.10.15.tgz harbor-offline-installer-v2.9.0 docker-compose-linux-x86_64-v2.18.0)