30 lines
913 B
Bash
30 lines
913 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 -O /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-v2.18.0-linux-amd64
|
|
|
|
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
|
|
|
|
|
|
wget https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/mysql-8.0.27-linux-glibc2.17-x86_64-minimal.zip
|
|
|
|
wget https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/mysql-8.0.27-linux-glibc2.17-x86_64-minimal.tar.gz
|