From 51f8995f21887bddcc083038243de49b81c4c014 Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Fri, 15 Mar 2024 09:48:05 +0800 Subject: [PATCH] Update Artela.sh --- Artela.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Artela.sh b/Artela.sh index 7fc71c0..c8f63c3 100644 --- a/Artela.sh +++ b/Artela.sh @@ -49,7 +49,7 @@ export NODE_MONIKER=$NODE_MONIKER # 更新和安装必要的软件 sudo apt update && sudo apt upgrade -y -sudo apt install -y curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev +sudo apt install -y curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev lz4 # 安装Go rm -rf $HOME/go @@ -121,7 +121,7 @@ sudo apt install snapd -y sudo snap install lz4 # 下载并解压快照 -curl -L https://t-ss.nodeist.net/artela/snapshot_latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.artelad --strip-components 2 +curl https://snapshots-testnet.nodejumper.io/artela-testnet/artela-testnet_latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.artelad # 重新加载和启动服务 sudo -S systemctl daemon-reload