Update nexus.sh
This commit is contained in:
parent
50c66dda33
commit
139ecf53e1
2
nexus.sh
2
nexus.sh
@ -89,7 +89,7 @@ function start_node() {
|
|||||||
|
|
||||||
# 更新系统并安装必要的软件包
|
# 更新系统并安装必要的软件包
|
||||||
echo "更新系统并安装必要的软件包..."
|
echo "更新系统并安装必要的软件包..."
|
||||||
if ! sudo apt update && sudo apt upgrade -y && sudo apt install curl iptables build-essential git wget lz4 jq make gcc nano automake autoconf tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip -y; then
|
if ! sudo apt update && sudo apt upgrade -y && sudo apt install curl iptables build-essential git wget lz4 jq make gcc nano automake autoconf tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip build-essential -y; then
|
||||||
echo "安装软件包失败。" # 错误信息
|
echo "安装软件包失败。" # 错误信息
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user