huagege 发表于 6 天前

【合集】常用VPS脚本

1、DD重装脚本
史上最强脚本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 <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p 密码 -port 端口 -a -firmware

beta.gs大佬的脚本wget --no-check-certificate -O NewReinstall.sh https://raw.githubusercontent.co ... ter/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh

DD windows(使用史上最强DD脚本)bash <(curl -sSL https://raw.githubusercontent.co ... stall/InstallNET.sh) -windows 10-lang "cn"账户:Administrator密码:Teddysun.com

2、综合测试脚本
LemonBenchwget -qO- https://raw.githubusercontent.co ... /main/LemonBench.sh | bash -s -- --fast

融合怪bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)

NodeBenchbash <(curl -sL https://raw.githubusercontent.co ... h/main/NodeBench.sh)

3、性能测试
GB6 跑分脚本,附带宽测试:curl -sL yabs.sh | bash

GB6 剔除带宽测试,因为都是国外节点测试,国内跑没多大意义:curl -sL yabs.sh | bash -s -- -i

GB5 跑分脚本,附带宽测试:curl -sL yabs.sh | bash -5

GB5 剔除带宽测试:curl -sL yabs.sh | bash -s -- -i -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/Regi ... k/raw/main/check.sh)

IP质量体检脚本bash <(curl -sL IP.Check.Place)

5、测速脚本
Speedtestbash <(curl -sL bash.icu/speedtest)

Taierbash <(curl -sL res.yserver.ink/taier.sh)

hyperspeedbash <(curl -Lso- https://bench.im/hyperspeed)

全球测速curl -sL network-speed.xyz | bash

6、回程测试
直接显示回程(小白用这个)curl https://raw.githubusercontent.co ... ace/main/install.sh -sSf | sh

回程详细测试(推荐)wget -N --no-check-certificate https://raw.githubusercontent.co ... master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.shwget https://ghproxy.com/https://raw. ... ce/main/testrace.sh -O testrace.sh && bash testrace.sh

7、功能脚本
添加SWAPwget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh

Fail2banwget --no-check-certificate https://raw.githubusercontent.co ... /master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log

一键开启BBR,适用于较新的Debian、Ubuntuecho "net.core.default_qdisc=fq" >> /etc/sysctl.confecho "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.confsysctl -psysctl net.ipv4.tcp_available_congestion_controllsmod | grep bbr

多功能BBR安装脚本wget -N --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

锐速/BBRPLUS/BBR2/BBR3wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh

TCP窗口调优wget http://sh.nekoneko.cloud/tools.sh -O tools.sh && bash tools.sh

添加SWAPwget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh

25端口开放测试telnet smtp.aol.com 25

8、一键安装常用环境及软件
dockercurl -sSL https://get.daocloud.io/docker | sh

Pythoncurl -O https://raw.githubusercontent.co ... master/pyinstall.sh && chmod +x pyinstall.sh && ./pyinstall.sh

iperf3apt install iperf3

realmbash <(curl -L https://raw.githubusercontent.co ... stall/main/realm.sh) -i

gostwget --no-check-certificate -O gost.sh https://raw.githubusercontent.com/qqrrooty/EZgost/main/gost.sh && chmod +x gost.sh && ./gost.sh

极光面板bash <(curl -fsSL https://raw.githubusercontent.co ... loy/main/install.sh)

哪吒监控curl -L https://raw.githubusercontent.co ... r/script/install.sh-o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh

WARPwget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh

Aria2wget -N git.io/aria2.sh && chmod +x aria2.sh && ./aria2.sh

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

PVE虚拟化bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.co ... ts/build_backend.sh)

9、综合功能脚本
科技lioncurl -sS -O https://kejilion.pro/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh

SKY-BOXwget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh

大部分从此贴整理,在此表示感谢。本贴进行了部分新增和更新。
来源:https://www.nodeseek.com/post-183694-1


页: [1]
查看完整版本: 【合集】常用VPS脚本