From ac97ec0b1c9ddf33f45bf861ecc672d21765a681 Mon Sep 17 00:00:00 2001 From: adminroot Date: Thu, 23 Oct 2025 09:32:12 -0700 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20setup.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/setup.sh b/setup.sh index aa7eb9a..78d38ab 100644 --- a/setup.sh +++ b/setup.sh @@ -1,5 +1,5 @@ #!/bin/bash -#运行命令: bash <(wget -qO- https://git.nvme.cc/adminroot/setup/raw/branch/main/setup.sh) +ARCH=$(uname -m) echo "请选择要执行的脚本(可多选,用空格分隔):" echo "1. 开启BBR" echo "2. 设置Swap大小" @@ -9,8 +9,7 @@ echo "5. 配置防火墙" echo "6. 安装公钥" echo "7. 安装caddy" echo "8. 安装conda" -echo "9. 安装docker" -echo "10. 安装ss-rust" +echo "9. 安装docker" read -p "输入你的选择: " choices # 处理选择 @@ -41,10 +40,8 @@ for choice in $choices; do apt update -y apt install -y htop cbm tree ufw curl wget lsof micro git git-lfs $app wget https://git.nvme.cc/adminroot/auto-update/raw/branch/main/app/zellij -O /usr/local/bin/zellij - wget https://www.7-zip.org/a/7z2501-linux-x64.tar.xz -O 7z.tar.xz - tar -xf 7z.tar.xz -C /usr/local/bin/ --transform 's/7zz$/7z/' "7zz" + wget https://git.nvme.cc/adminroot/auto-update/raw/branch/main/app/7zz -O /usr/local/bin/7z chmod +x /usr/local/bin/7z /usr/local/bin/zellij - rm 7z.tar.xz ;; 5) echo "配置防火墙"