From 13b4e9180e5eb1380b922428d0a4c04d6fba523f Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Tue, 26 Mar 2024 16:10:06 +0800 Subject: [PATCH] Update Artela.sh --- Artela.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Artela.sh b/Artela.sh index a9476ab..4b69139 100644 --- a/Artela.sh +++ b/Artela.sh @@ -60,10 +60,9 @@ sudo apt install -y curl iptables build-essential git wget jq make gcc nano tmux # 安装Go sudo rm -rf /usr/local/go -curl -L https://go.dev/dl/go1.21.6.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local -echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile -source .bash_profile - +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 +source $HOME/.bashrc # 安装所有二进制文件 cd $HOME @@ -122,7 +121,7 @@ sudo apt install snapd -y sudo snap install lz4 # 下载并解压快照 -curl https://snapshots-testnet.nodejumper.io/artela-testnet/artela-testnet_latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.artelad +curl https://testnet-files.itrocket.net/artela/snap_artela.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.artelad # 重新加载和启动服务 sudo systemctl daemon-reload