diff --git a/Artela.sh b/Artela.sh index a0f7b46..a28d2c6 100644 --- a/Artela.sh +++ b/Artela.sh @@ -75,6 +75,7 @@ function install_node() { 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 snapd # 安装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 echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin