常用VPS脚本

 


【合集】常用VPS脚本

来源说明:本文内容整理自 NodeSeek 社区帖子

1. DD 重装脚本

史上最强脚本

Bash
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 'password'

萌咖版脚本

Bash

 
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p 密码 -port 端口 -a -firmware

beta.gs 脚本

Bash

 
wget --no-check-certificate -O NewReinstall.sh https://raw.githubusercontent.com/fcurrk/reinstall/master/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh

DD Windows (使用上述史上最强脚本)

Bash

 
bash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -windows 10  -lang "cn"
  • 账户:Administrator

  • 密码:Teddysun.com

Windows 激活

在 PowerShell 中运行:

PowerShell

 
irm https://get.activated.win | iex

2. 综合测试脚本

  • 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)


3. 性能测试 (YABS)

  • 全项测试: curl -sL yabs.sh | bash

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

  • 跳过网络/磁盘测 GB5: curl -sL yabs.sh | bash -s -- -if5

  • 强制 GB5 (非 GB6): curl -sL yabs.sh | bash -s -- -5


4. 流媒体及 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)

  • IP 质量体检: bash <(curl -sL IP.Check.Place)

  • 一键修改解锁 DNS: wget https://raw.githubusercontent.com/Jimmyzxk/DNS-Alice-Unlock/refs/heads/main/dns-unlock.sh && bash dns-unlock.sh


5. 测速脚本

  • Speedtest: bash <(curl -sL bash.icu/speedtest)

  • Taier: bash <(curl -sL res.yserver.ink/taier.sh)

  • HyperSpeed: bash <(curl -Lso- https://bench.im/hyperspeed)

  • 全球测速: wget -qO- nws.sh | bash


6. 回程路由测试

  • 简易回程: curl https://raw.githubusercontent.com/ludashi2020/backtrace/main/install.sh -sSf | sh

  • 详细回程 (推荐): wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh


7. 功能及优化脚本

  • 添加 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):

    Bash

     
    echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
    echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
    sysctl -p
    
  • 多功能 BBR 安装 (ylx 版): 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


8. 常用环境及软件一键安装

  • Docker: 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.sh

  • 宝塔面板: wget -O install.sh http://v7.hostcli.com/install/install-ubuntu_6.0.sh && sudo bash install.sh

  • Aria2: wget -N git.io/aria2.sh && chmod +x aria2.sh && ./aria2.sh


9. 综合管理箱

  • 科技lion: 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


10. 独服 (杜甫) 检测脚本

  • SICK 工具: curl -sL https://sick.onl | bash

  • 硬件信息 (国内版): curl -sL https://raw.githubusercontent.com/Yuri-NagaSaki/SICK/refs/heads/main/hardware_info.sh | bash -s -- -cn


 

© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容