27 lines
676 B
Bash
27 lines
676 B
Bash
#!/bin/bash
|
|
|
|
# 下载agent
|
|
rm -f /usr/local/bin/agent-wdd
|
|
rm -f /usr/local/bin/test-shell.sh
|
|
|
|
wget https://pan.107421.xyz/d/oracle-seoul-2/agent-wdd_linux_amd64 -qO /usr/local/bin/agent-wdd
|
|
|
|
chmod +x /usr/local/bin/agent-wdd
|
|
|
|
|
|
# 下载依赖文件
|
|
mkdir /root/wdd/
|
|
cd /root/wdd
|
|
|
|
export oss_url_prefix=https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd
|
|
# export oss_url_prefix=http://42.192.52.227:9000/octopus
|
|
|
|
wget ${oss_url_prefix}/docker-amd64-20.10.15.tgz
|
|
wget ${oss_url_prefix}/docker-compose-linux-x86_64-v2.18.0
|
|
|
|
wget ${oss_url_prefix/harbor-offline-installer-v2.9.0.tgz
|
|
wget ${oss_url_prefix}/rke_linux-amd64
|
|
wget ${oss_url_prefix}/kubectl-1.20.4-amd64
|
|
|
|
|