前言
进入 2026 年,VPS 的工具生态还在持续进化。为了方便大家快速配置新购入的服务器,本文将目前市面上更新最勤快、功能最实用的脚本进行了全面整理。之前的原版基础上精简优化了一些,需要的朋友可以去2025 常用VPS脚本工具这个文章查看。
本文涵盖了从 开箱测评 、 环境配置 、网络优化到应用搭建的全生命周期工具。
⚠️ 免责声明 :所有脚本均收集自 GitHub 及开源社区,请自行评估安全风险,建议在纯净的系统环境中使用。
🛠️ 第一部分:综合运维工具箱 (瑞士军刀)
如果你不想记太多命令,这些聚合类的工具箱能解决 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.shJCNF 常用脚本包
wget -O jcnfbox.sh https://raw.githubusercontent.com/Netflixxp/jcnf-box/main/jcnfbox.sh && chmod +x jcnfbox.sh && clear && ./jcnfbox.sh📊 第二部分:性能与硬件测评
融合怪测评 (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 && goecsNlbench.sh (NodeLoc 定制版)
集成 YABS、融合怪精简版,结果生成 Markdown 方便分享。
bash <(curl -sSL abc.sd)YABS 性能测试
国际通用的性能基准测试(AES指令集、硬盘I/O、Geekbench跑分)。
curl -sL yabs.sh | bashUnixBench.sh
经典的系统压力测试,耗时较长。
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh🔍 第三部分:IP 质量、网络与路由
IP-Hacker
深度 IP 质量检测脚本,涵盖欺诈值与多项黑名单检测。
bash <(wget -qO- -o- https://raw.githubusercontent.com/rsbench/IP-Hacker/refs/heads/main/install.sh)IP 质量体检 (IP.Check.Place)
检测 IP 纯净度、邮件端口、流媒体解锁。
bash <(curl -Ls IP.Check.Place)NodeQuality 节点质量检测
检测节点连通性与质量。
bash <(curl -sL https://run.NodeQuality.com)流媒体解锁检测
检测脚本 A (推荐):
bash <(curl -L -s check.unlock.media)检测脚本 B:
bash <(curl -L -s media.ispvps.com)Hyperspeed 三网测速
针对国内网络优化的测速脚本。
bash <(curl -Lso- https://bench.im/hyperspeed)NextTrace 回程路由 (推荐)
可视化的路由追踪工具,显示地图路径。
curl nxtrace.org/nt | bash网页 & DNS 延迟测速
bash <(wget -qO- https://raw.githubusercontent.com/Cd1s/network-latency-tester/main/latency.sh)🪜 第四部分:科学协议与加速
Chil30 VLESS 一键 14 合 1
强大的 VLESS 全家桶脚本,支持多种组合。
wget -O vless-server.sh https://raw.githubusercontent.com/Chil30/vless-all-in-one/main/vless-server.sh && chmod +x vless-server.sh && bash vless-server.shSing-box 全家桶 (Fscarmen)
Bash
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/sing-box/main/sing-box.sh)甬哥 Sing-box
功能丰富的 Sing-box 脚本,支持多种协议组合。
Bash
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.sh开启 BBR 加速
系统原生开启:
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -pLinux-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 '密码'
哪吒 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 证书。
Bash
# 默认端口 81,账号 admin@example.com 密码 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有不错的,欢迎推荐补充。
评论区