Commit 0b104580 by tingweiwang

Update build-env-set.sh

1 parent 45812063
Showing with 2 additions and 2 deletions
......@@ -5,8 +5,8 @@ nvm_version=v0.33.6
home=root ###执行用户的家目录
set -eux -o pipefail #通过set配置bash
echo "###############################################下载go1#####################################"
wget https://2019-10-1.oss-cn-huhehaote.aliyuncs.com/other/go1.15.linux-amd64.tar.gz
tar -xvzf go1.15.linux-amd64.tar.gz -C /usr/local/
wget https://2019-10-1.oss-cn-huhehaote.aliyuncs.com/other/go1.16.6.linux-amd64.tar.gz
tar -xvzf go1.16.6.linux-amd64.tar.gz -C /usr/local/
echo "################################################设置环境变量##################################"
echo "export GOROOT=/usr/local/go" >>/etc/profile
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!