← 工具箱

常用 VPS 脚本

按用途分组的一键脚本索引。复制命令前先确认目标机系统和备份;pipe-to-bash 不是免责声明。

RUNBOOK

使用前

下列命令多数会把远程脚本直接交给 bash。这是第三方产物:先 curl 下来读,再决定要不要跑。本页是 runbook 索引,不是背书。

综合测试

NodeQuality
bash <(curl -sL https://run.NodeQuality.com)
bench.sh
wget -qO- bench.sh | bash
LemonBench
wget -qO- https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s -- --fast
融合怪
bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)
NodeBench
bash <(curl -sL https://raw.githubusercontent.com/LloydAsp/NodeBench/main/NodeBench.sh)

性能

YABS
curl -sL yabs.sh | bash
YABS 跳过网络测 GB5
curl -sL yabs.sh | bash -s -- -i5

流媒体 / IP 质量

解锁检测
bash <(curl -L -s check.unlock.media)
Media.Check.Place
bash <(curl -sL Media.Check.Place)
IP 质量
bash <(curl -sL IP.Check.Place)

测速

Speedtest
bash <(curl -sL bash.icu/speedtest)
hyperspeed
bash <(curl -Lso- https://bench.im/hyperspeed)
全球测速 nws
wget -qO- nws.sh | bash

回程

backtrace
curl https://raw.githubusercontent.com/ludashi2020/backtrace/main/install.sh -sSf | sh
AutoTrace
wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh

调优 / 常用

Swap
wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
Fail2ban
wget --no-check-certificate https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log
开 BBR(Debian/Ubuntu)
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
sysctl net.ipv4.tcp_available_congestion_control
lsmod | grep bbr
tcpx BBR
wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
WARP
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh

环境

Docker
bash <(curl -sL 'https://get.docker.com')
iperf3
apt install iperf3

综合工具箱

科技lion
apt update -y && apt install -y curl && bash <(curl -sL kejilion.sh)
SKY-BOX
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh

索引自 NodeSeek 《【合集】常用VPS脚本》

返回工具箱 01 计算器 · 02 检查命令 · 03 IP 查询