阿里云CentOS服务器下安装Golang1.13并配置代理

2022-11-13代理,安装,服务器,配置,阿里

rootsudo/usr/localcd /usr/localwget https://studygolang.com/dl/golang/go1.13.linux-amd64.tar.gztar -xzvf go1.13.linux-amd64.tar.gz$homegocdmkdir govim /etc/profileexport goroot=/usr/local/goexport path=$path:$goroot/binexport gopath=$home/goexport go111module=autoexport goproxy=https://goproxy.cn,directsource /etc/profilegityum updateyum install -y git