Update Artela.sh
This commit is contained in:
parent
3bd3d87ab2
commit
c926e6dc35
@ -61,8 +61,8 @@ sudo apt install -y curl iptables build-essential git wget jq make gcc nano tmux
|
|||||||
# 安装Go
|
# 安装Go
|
||||||
sudo rm -rf /usr/local/go
|
sudo rm -rf /usr/local/go
|
||||||
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
|
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
|
||||||
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bashrc
|
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile
|
||||||
source $HOME/.bashrc
|
source $HOME/.bash_profile
|
||||||
|
|
||||||
# 安装所有二进制文件
|
# 安装所有二进制文件
|
||||||
cd $HOME
|
cd $HOME
|
||||||
|
Loading…
Reference in New Issue
Block a user