【合集】常用VPS脚本：DD重装脚本、综合测试脚本、性能测试、流媒体及IP质量测试、测速脚本、回程测试、功能脚本、一键安装常用环境及软件、综合功能脚本
本文提供【合集】常用VPS脚本，包括DD重装脚本、综合测试脚本、性能测试、流媒体及IP质量测试、测速脚本、回程测试、功能脚本、一键安装常用环境及软件、综合功能脚本，一切都能在这里找到。1、DD重装脚本1）史上最强脚本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'2）萌咖大佬的脚本bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p 密码 -port 端口 -a -firmware3）beta.gs大佬的脚本wget --no-check-certificate -O NewReinstall.sh https://raw.githubusercontent.com/fcurrk/reinstall/master/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh4）DD windows（使用史上最强DD脚本）bash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -windows 10 -lang "cn"账户：Administrator密码：Teddysun.com使用Windows徽标+R快捷键打开运行框，输入powershell运行，弹出powershell命名输入窗口，输入以下命令：irm https://get.activated.win | iex2、综合测试脚本1）bench.shwget -qO- bench.sh | bash2）LemonBenchwget -qO- https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s -- --fast3）融合怪bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)4）NodeBenchbash <(curl -sL https://raw.githubusercontent.com/LloydAsp/NodeBench/main/NodeBench.sh)3、性能测试1）GB6 跑分脚本，附带宽测试：curl -sL yabs.sh | bash2）GB6 剔除带宽测试，因为都是国外节点测试，国内跑没多大意义：curl -sL yabs.sh | bash -s -- -i3）GB5 跑分脚本，附带宽测试：curl -sL yabs.sh | bash4）GB5 剔除带宽测试：curl -sL yabs.sh | bash -s -- -i -54、流媒体及IP质量测试1）最常用版本bash <(curl -L -s check.unlock.media)2）原生检测脚本bash <(curl -sL Media.Check.Place)3）准确度最高bash <(curl -L -s https://github.com/1-stream/RegionRestrictionCheck/raw/main/check.sh)4）IP质量体检脚本bash <(curl -sL IP.Check.Place)5）一键修改解锁DNSwget https://raw.githubusercontent.com/Jimmyzxk/DNS-Alice-Unlock/refs/heads/main/dns-unlock.sh && bash dns-unlock.sh5、测速脚本1）Speedtestbash <(curl -sL bash.icu/speedtest)2）Taierbash <(curl -sL res.yserver.ink/taier.sh)3）hyperspeedbash <(curl -Lso- https://bench.im/hyperspeed)4）全球测速curl -sL network-speed.xyz | bash6、回程测试1）直接显示回程（小白用这个）curl https://raw.githubusercontent.com/ludashi2020/backtrace/main/install.sh -sSf | sh2）回程详细测试（推荐）wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh wget https://ghproxy.com/https://raw.githubusercontent.com/vpsxb/testrace/main/testrace.sh -O testrace.sh && bash testrace.sh7、功能脚本1）添加SWAPwget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh2）Fail2banwget --no-check-certificate https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log3）一键开启BBR，适用于较新的Debian、Ubuntuecho "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 bbr4）多功能BBR安装脚本wget -N --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh5）锐速/BBRPLUS/BBR2/BBR3wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh6）TCP窗口调优wget http://sh.nekoneko.cloud/tools.sh -O tools.sh && bash tools.sh7）添加warpwget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [lisence/url/token]8）25端口开放测试telnet smtp.aol.com 258、一键安装常用环境及软件1）dockercurl -sSL https://get.daocloud.io/docker | sh2）Pythoncurl -O https://raw.githubusercontent.com/lx969788249/lxspacepy/master/pyinstall.sh && chmod +x pyinstall.sh && ./pyinstall.sh3）iperf3apt install iperf34）realmbash <(curl -L https://raw.githubusercontent.com/zhouh047/realm-oneclick-install/main/realm.sh) -i5）gostwget --no-check-certificate -O gost.sh https://raw.githubusercontent.com/qqrrooty/EZgost/main/gost.sh && chmod +x gost.sh && ./gost.sh6）极光面板bash <(curl -fsSL https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/install.sh)7）哪吒监控curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh8）WARPwget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh9）Aria2wget -N git.io/aria2.sh && chmod +x aria2.sh && ./aria2.sh10）宝塔wget -O install.sh http://v7.hostcli.com/install/install-ubuntu_6.0.sh && sudo bash install.sh11）PVE虚拟化bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/build_backend.sh)12）Argoxbash <(wget -qO- https://raw.githubusercontent.com/fscarmen/argox/main/argox.sh)9、综合功能脚本1）科技lionapt update -y && apt install -y curlbash <(curl -sL kejilion.sh)2）SKY-BOXwget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh3）TG中文汉化https://t.me/setlanguage/classic-zh-cn