前言
进入 2026 年,VPS 的工具生态仍在持续进化。随着硬件性能逐渐同质化, 网络质量、路由路径与稳定性 ,正在成为影响 VPS 实际体验的关键因素。
为了方便大家在新购入服务器后,能够快速完成 开箱测评、网络诊断与环境配置 ,本文对目前市面上 更新相对勤快、功能实用性较高 的 VPS 脚本工具进行了系统整理,并在原有版本基础上做了精简与优化。
需要查看旧版内容的朋友,可以参考《2025 常用 VPS 脚本工具》。
本文覆盖从 开箱测评 → 网络与路由诊断 → 系统优化 → 应用部署 的完整生命周期,适合作为 2026 年 VPS 初始化与长期维护的工具索引。
⚠️ 免责声明 :所有脚本均收集自 GitHub 及开源社区,请自行评估安全风险,建议在纯净的系统环境中使用。
🧭 最后更新时间 :2026-04-15
🧭 新机到手必测顺序(推荐)
如果你是刚拿到一台 VPS,建议按下面顺序快速检查一遍:
1️⃣ 基础性能测评
优先使用 Nlbench.sh 或 YABS,确认 CPU / 内存 / 磁盘性能是否符合预期。
2️⃣ 回程路由检查(重点)
使用 NextTrace 或 AutoTrace,判断回程线路走向与跨网情况,避免买到“配置不错但线路拉胯”的机器。
3️⃣ IP 质量与解锁情况
通过 IP.Check.Place 或 IP-Hacker,确认 IP 是否干净、是否存在端口或流媒体限制。
4️⃣ 带宽与延迟测试
使用 Hyperspeed、nws 或在线 MTR,检查实际上下行速度与丢包情况。
5️⃣ 系统优化与部署
确认无异常后,再进行 BBR、Docker、面板或应用部署,避免前期重复折腾。
🛠️ 第一部分:综合运维工具箱 (瑞士军刀)
如果你不想记太多命令,这些聚合类的工具箱能解决 90% 的问题(安装 Docker、BBR、常用软件等)。
科技 Lion 一键工具箱
目前更新频率极高,功能覆盖最全,支持 Docker 管理、系统清理、极简风格。
curl -sS -O https://raw.githubusercontent.com/kejilion/sh/main/kejilion.sh && chmod +x kejilion.sh && ./kejilion.shVPS Toolkit
界面简洁的综合管理脚本,功能实用。
bash <(curl -sSL https://raw.githubusercontent.com/zeyu8023/vps_toolkit/main/install.sh)SSH Tool 综合工具
eooce 大佬开发,包含多项实用运维功能。
curl -fsSL https://raw.githubusercontent.com/eooce/ssh_tool/main/ssh_tool.sh -o ssh_tool.sh && chmod +x ssh_tool.sh && ./ssh_tool.shBlueSkyXN 综合工具箱
经典的综合工具箱,收录了许多网络优化脚本。
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.shNodeScriptKit VPS工具箱
NodeSeek社区出品的VPS测试工具包,集成多种测试功能,快速评估服务器性能。
bash <(curl -sL https://sh.nodeseek.com)JCNF 常用脚本包
wget -O jcnfbox.sh https://raw.githubusercontent.com/Netflixxp/jcnf-box/main/jcnfbox.sh && chmod +x jcnfbox.sh && clear && ./jcnfbox.sh📊 第二部分:性能与硬件测评
Nlbench.sh (NodeLoc 定制版)
集成 YABS、融合怪精简版,结果生成 Markdown 方便分享。
bash <(curl -sSL abc.sd)YABS 性能测试
国际通用的性能基准测试(AES指令集、硬盘I/O、Geekbench跑分)。
curl -sL yabs.sh | bashXY-硬件质量体检脚本
国际通用的性能基准测试(AES指令集、硬盘I/O、Geekbench跑分)。
bash <(curl -Ls https://Check.Place) -H融合怪测评 (VPS Fusion Monster)
目前最全的测评脚本,包含硬件性能、流媒体解锁、三网测速、回程路由等。
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.shGo 版本(运行更快):
curl -L https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && bash goecs.sh env && bash goecs.sh install && goecsUnixBench.sh(⚠️老牌可用,但更新慢 )
经典的系统压力测试,耗时较长。
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh🧭 第三部分:路由追踪与网络路径分析
回程路由(CLI)
NextTrace(强烈推荐)
可视化的路由追踪工具,显示地图路径。
#运行代码:
curl nxtrace.org/nt | bash
#使用示例(追踪到指定IP):
nexttrace 8.8.8.8AutoTrace
wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.shBestTrace(CLI)
wget -qO- git.io/besttrace | bashBackTrace(⚠️ 维护停滞,但最直接显示三网情况,适合小白)
curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh图形化路由
OpenTrace:https://github.com/Archeb/opentrace
BestTrace Windows:https://www.ipip.net/product/client.html
在线去程 / MTR
🔍 第四部分:IP 质量、测速与网络稳定性
NodeQuality 节点质量检测(推荐)
检测节点连通性与质量。
bash <(curl -sL https://run.NodeQuality.com)XY-IP质量体检脚本(推荐)
检测 IP 纯净度、邮件端口、流媒体解锁。
bash <(curl -Ls https://Check.Place) -IXY-网络质量体检脚本 (推荐)
检测 VPS网络质量脚本。
bash <(curl -Ls https://Check.Place) -N综合测速脚本 nws(推荐)
curl -sL nws.sh | bashIP-Hacker
深度 IP 质量检测脚本,涵盖欺诈值与多项黑名单检测。
bash <(wget -qO- -o- https://raw.githubusercontent.com/rsbench/IP-Hacker/refs/heads/main/install.sh)流媒体解锁检测
检测脚本 A (推荐):
bash <(curl -L -s check.unlock.media)检测脚本 B:
bash <(curl -L -s media.ispvps.com)Hyperspeed 三网测速
针对国内网络优化的测速脚本。
bash <(curl -Lso- https://bench.im/hyperspeed)网页 & DNS 延迟测速
bash <(wget -qO- https://raw.githubusercontent.com/Cd1s/network-latency-tester/main/latency.sh)🪜 第五部分:科学协议与网络加速
Sing-box 全家桶 (Fscarmen)(推荐)
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh)甬哥 Sing-box(推荐)
功能丰富的 Sing-box 脚本,支持多种协议组合。
bash <(curl -Ls https://raw.githubusercontent.com/yonggekkk/sing-box-yg/main/sb.sh)Xray VLESS Reality 极简脚本
CrazyPeace 维护的版本,极简部署 Reality。
bash <(curl -L https://github.com/crazypeace/xray-vless-reality/raw/main/install.sh)Hysteria 2 纯净版安装
Python 版本 (推荐,兼容性更好):
wget -O phy2.sh https://raw.githubusercontent.com/seagullz4/hysteria2/main/phy2.sh && chmod +x phy2.sh && bash phy2.sh
# 安装完依赖后执行:
wget -O hy2.py https://raw.githubusercontent.com/seagullz4/hysteria2/main/hysteria2.py && chmod +x hy2.py && python3 hy2.pyWARP 一键脚本 (Fscarmen)
解锁流媒体、隐藏 IP 必备。
wget -N https://raw.githubusercontent.com/fscarmen/warp/main/menu.sh && bash menu.shBBR 优化脚本
系统原生开启:
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -pBBR v3 优化脚本(20260203新增)
XanMod 内核 + BBR v3 + 全方位 VPS 管理工具集
# 安装别名
bash <(curl -fsSL "https://raw.githubusercontent.com/Eric86777/vps-tcp-tune/main/install-alias.sh?$(date +%s)")
# 重新加载配置
source ~/.bashrc # 或 source ~/.zshrc
# 以后直接使用
bbrLinux-NetSpeed (ylx2016版,含BBR+):
wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh💻 第六部分:系统维护与 DD 重装
DD 重装系统 (Leitbogioro版)(推荐)
支持 Debian 12/Ubuntu 24.04,解决无法安装 Docker 或系统臃肿问题。
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh && bash InstallNET.sh -debian 12 -pwd '密码'
DD 重装系统 (bin456789版,PT大佬推荐)
apt install -y curl wget && curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_ && bash reinstall.sh debian 12 --password 密码--ssh-port 22 && rebootDebain 升级系统
项目地址:https://github.com/everett7623/debian-auto-upgrade
wget -O debian_upgrade.sh https://raw.githubusercontent.com/everett7623/debian-auto-upgrade/main/debian_upgrade.sh && chmod +x debian_upgrade.sh && ./debian_upgrade.sh哪吒 Agent 清理脚本
当哪吒监控出现问题、掉线或需要重装时使用。
bash <(curl -s https://raw.githubusercontent.com/everett7623/Nezha-cleaner/main/nezha-agent-cleaner.sh)系统垃圾清理
清理旧内核、缓存、日志,释放磁盘空间。
bash <(curl -sS https://raw.githubusercontent.com/Skywalker512/Shell/main/clean.sh)
4. VPS ToolBox 网络优化
bash <(curl -Lso- https://sh.vps.dance/toolbox.sh)5. Nekoneko 轻量网络优化
bash <(curl -Lso- http://sh.nekoneko.cloud/tools.sh)🐳 第七部分:Docker 与 运维面板
Docker 官方一键安装 (必装)
curl -fsSL https://get.docker.com | bashKomari探针
轻量级的自托管服务器监控工具,低资源占用,适合各种规模的服务器。
curl -fsSL https://raw.githubusercontent.com/komari-monitor/komari/main/install-komari.sh -o install-komari.sh
chmod +x install-komari.sh
sudo ./install-komari.sh哪吒探针
多服务器监控必备,支持国内镜像源。
curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh1Panel面板
现代化、开源的 Linux 面板,替代宝塔的最佳选择。
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && bash quick_start.sh宝塔面板
安全高效的服务器运维面板
if [ -f /usr/bin/curl ];then curl -sSO https://download.bt.cn/install/install_panel.sh;else wget -O install_panel.sh https://download.bt.cn/install/install_panel.sh;fi;bash install_panel.sh ssl251104国际版宝塔面板(aaPanel)
海外版宝塔面板,推荐Ubuntu22.04下安装aaPanel
URL=https://www.aapanel.com/script/install_7.0_en.sh && if [ -f /usr/bin/curl ];then curl -ksSO "$URL" ;else wget --no-check-certificate -O install_7.0_en.sh "$URL";fi;bash install_7.0_en.sh ipsslDockge 容器管理
比 Portainer 更轻量,专为管理 docker-compose.yaml 设计。
# 需先安装 Docker
mkdir -p /opt/dockge && cd /opt/dockge && curl https://raw.githubusercontent.com/louislam/dockge/master/compose.yaml --output compose.yaml && docker compose up -d
Nginx Proxy Manager (NPM)
可视化反向代理神器,自动申请 SSL 证书。
# 默认端口 81,账号 [email protected] 密码 changeme
docker run -d --name=npm -p 80:80 -p 81:81 -p 443:443 -v /home/npm/data:/data -v /home/npm/letsencrypt:/etc/letsencrypt --restart=always jc21/nginx-proxy-manager:latest📌 可能停更 / 备用工具清单(2026 说明)
本文收录的脚本以 当前仍可用、实用性较高 为主要标准。但部分工具因历史原因或维护节奏放缓,仍保留作为参考或备用方案,特此说明:
BackTrace
用于快速查看回程路由路径,输出信息较为简洁。
目前项目维护活跃度较低, 不再作为主推荐工具 ,建议优先使用 NextTrace 。
UnixBench.sh
经典的系统基准测试工具,历史悠久、稳定可靠。
由于测试模型较老、更新频率较低, 更适合作为补充测试 ,不建议作为唯一性能参考。
BestTrace(CLI 短链方式)
依赖 git.io 等短链方式获取脚本或二进制文件,
存在短链服务不稳定的潜在风险 。如遇失效,可改用 IPIP 官方图形化客户端或其他路由工具。
部分第三方域名托管脚本
如测速、延迟检测类脚本中使用的第三方站点域名,
在网络波动或站点调整时可能出现暂时不可用情况。
建议优先选择 GitHub Raw 或官方仓库地址 作为长期使用方案。
📎 说明 :
保留上述工具的目的在于 兼容不同使用场景与历史环境 ,并非推荐优先使用。
后续如出现明确停更、长期失效或更优替代方案,本文将持续更新调整。
结语
本文将作为 2026 年持续更新版本,后续如有脚本停更或更优替代方案,将及时补充与调整。
有不错的工具或脚本,也欢迎推荐交流。
评论