大量更新
This commit is contained in:
@@ -7,6 +7,12 @@ 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
|
||||
|
||||
https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/rke_linux-amd64
|
||||
|
||||
https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/mysql-8.0.27-linux-glibc2.17-x86_64-minimal.zip
|
||||
|
||||
|
||||
|
||||
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\"
|
||||
|
||||
@@ -16,4 +22,5 @@ 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)
|
||||
file_list=(docker-amd64-20.10.15.tgz harbor-offline-installer-v2.9.0 docker-compose-linux-x86_64-v2.18.0)
|
||||
|
||||
|
||||
23
998-常用脚本/OctopusAgent运行/bastion运行基础依赖文件.ps1
Normal file
23
998-常用脚本/OctopusAgent运行/bastion运行基础依赖文件.ps1
Normal file
@@ -0,0 +1,23 @@
|
||||
# 定义字符串数组
|
||||
$array = @("docker-amd64-20.10.15.tgz", "docker-compose-linux-x86_64-v2.18.0", "rke_linux-amd64", "kubectl-1.20.4-amd64", "mysql-8.0.27-linux-glibc2.17-x86_64-minimal.zip")
|
||||
|
||||
# 使用mc.exe下载文件
|
||||
# 定义下载路径
|
||||
$mc_path = "C:\Users\86188\Downloads\mc.exe"
|
||||
|
||||
# 定义mc的前缀
|
||||
$mc_prefix = "uav-demo/cmlc-installation/downloadfile/amd/"
|
||||
|
||||
|
||||
# 函数设置mc alias
|
||||
Start-Process -FilePath $mc_path alias set uav-demo https://oss.demo.uavcmlc.com cmii B#923fC7mk
|
||||
|
||||
# 循环遍历数组
|
||||
foreach ($item in $array) {
|
||||
# 拼接下载命令
|
||||
Write-Output "start to download $mc_prefix$item"
|
||||
|
||||
$mc_path get $mc_prefix$item C:\Users\86188\Documents\cmii\
|
||||
|
||||
Write-Output ""
|
||||
}
|
||||
@@ -5,4 +5,9 @@ bash <(curl -sL http://42.192.52.227:9000/octopus/init-script-wdd.sh) --url htt
|
||||
|
||||
# no internet
|
||||
export offline_minio=103.0.180.82
|
||||
bash <(curl -sL http://${offline_minio}:9000/octopus/init-script-wdd.sh) --url http://${offline_minio}:9000/octopus --agent-install --offline
|
||||
bash <(curl -sL http://${offline_minio}:9000/octopus/init-script-wdd.sh) --url http://${offline_minio}:9000/octopus --agent-install --offline
|
||||
|
||||
|
||||
mc alias set local http://localhost:9000 cmii B#923fC7mk
|
||||
mc get local/octopus/nfs-client-amd64-Ubuntu-20.04.6-LTS.tar.gz ./
|
||||
mc get local/octopus/nfs-server-amd64-Ubuntu-20.04.6-LTS.tar.gz ./
|
||||
Reference in New Issue
Block a user