Update ubuntu-vps-setup.sh

master
Edwin Lyon 2 years ago committed by GitHub
parent 9b50c3500f
commit 05760c9a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ubuntu-vps-setup.sh

@ -341,8 +341,8 @@ nf_nat
EOF
cd /tmp
wget https://dl.google.com/go/go1.16.2.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
wget https://dl.google.com/go/go1.17.1.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.17.1.linux-amd64.tar.gz
echo 'export GOPATH=$HOME/go' >> /etc/profile
echo 'export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin' >> /etc/profile

Loading…
Cancel
Save