VPS 常用一键命令合集:系统重装、性能跑分、流媒体解锁、回程测速、BBR 加速、常用环境安装。点按钮即可复制。
远程一键重装系统。⚠️ 会清空硬盘,务必先备份数据!
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 'YourPassword'bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p YourPassword -port 22 -a -firmwarewget --no-check-certificate -O NewReinstall.sh https://raw.githubusercontent.com/fcurrk/reinstall/master/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.shbash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -windows 10 -lang "cn"irm https://get.activated.win | iex一键跑硬件 + 网络综合报告
wget -qO- bench.sh | bashwget -qO- https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s -- --fastbash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)bash <(curl -sL https://raw.githubusercontent.com/LloydAsp/NodeBench/main/NodeBench.sh)CPU / 磁盘 / 网络 + Geekbench 跑分
curl -sL yabs.sh | bashcurl -sL yabs.sh | bash -s -- -i5curl -sL yabs.sh | bash -s -- -if5curl -sL yabs.sh | bash -s -- -5检测 Netflix/Disney/YouTube 等解锁情况与 IP 纯净度
bash <(curl -L -s check.unlock.media)bash <(curl -sL Media.Check.Place)bash <(curl -L -s https://github.com/1-stream/RegionRestrictionCheck/raw/main/check.sh)bash <(curl -sL IP.Check.Place)测上下行带宽
bash <(curl -sL bash.icu/speedtest)bash <(curl -sL res.yserver.ink/taier.sh)bash <(curl -Lso- https://bench.im/hyperspeed)wget -qO- nws.sh | bash看去程/回程走的是 CN2 GIA / 4837 / 163 等哪条线
curl https://raw.githubusercontent.com/ludashi2020/backtrace/main/install.sh -sSf | shwget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.shSWAP / Fail2ban / BBR 加速 / WARP
wget https://www.moerats.com/usr/shell/swap.sh && bash swap.shwget --no-check-certificate https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.shecho "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -pwget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.shwget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.shDocker / 哪吒监控 / Aria2 等一键装
bash <(curl -sL 'https://get.docker.com')curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.shwget -N git.io/aria2.sh && chmod +x aria2.sh && ./aria2.shbash <(curl -L https://raw.githubusercontent.com/zhouh047/realm-oneclick-install/main/realm.sh) -iwget --no-check-certificate -O gost.sh https://raw.githubusercontent.com/qqrrooty/EZgost/main/gost.sh && chmod +x gost.sh && ./gost.sh一个脚本管全套(装环境/测试/优化都在里面)
bash <(curl -sL kejilion.sh)wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && ./box.shcurl | bash 前请自行甄别来源与安全性。其中含隧道/网络类工具,请遵守当地法律法规,仅供自有服务器测试学习之用,风险自负。