整理自 NodeSeek / 各位大佬脚本,适合 VPS 选购、重装、测试、优化、日常运维
⚠️ 所有脚本请在 全新系统 / 非生产环境 下谨慎使用
bashwget --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'
一键重装到 Linux,支持 19 种常见发行版
一键重装到 Windows,使用官方原版 ISO 而非自制镜像,脚本支持自动查找 ISO 链接、自动安装 VirtIO 等公有云驱动
支持任意方向重装Linux to Linux、Linux to Windows、Windows to Windows、Windows to Linux
bashbash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p 密码 -port 端口 -a -firmware
bashwget --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(使用史上最强DD脚本)
bashbash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -windows 10 -lang "cn"
账户:Administrator
密码:Teddysun.com
使用Windows徽标+R快捷键打开运行框,输入powershell运行,弹出powershell命名输入窗口,输入以下命令:
powershellirm https://get.activated.win | iex
bashwget -qO- bench.sh | bash
bashwget -qO- https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s -- --fast
bashbash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)
bashbash <(curl -sL https://raw.githubusercontent.com/LloydAsp/NodeBench/main/NodeBench.sh)
yabs
bashcurl -sL yabs.sh | bash
跳过网络,测GB5
bashcurl -sL yabs.sh | bash -s -- -i5
跳过网络和磁盘,测GB5
bashcurl -sL yabs.sh | bash -s -- -if5
改测GB5不测GB6
bashcurl -sL yabs.sh | bash -s -- -5
最常用版本
bashbash <(curl -L -s check.unlock.media)
原生检测脚本
bashbash <(curl -sL Media.Check.Place)
准确度最高
bashbash <(curl -L -s https://github.com/1-stream/RegionRestrictionCheck/raw/main/check.sh)
IP质量体检脚本
bashbash <(curl -sL IP.Check.Place)
一键修改解锁DNS
bashwget https://raw.githubusercontent.com/Jimmyzxk/DNS-Alice-Unlock/refs/heads/main/dns-unlock.sh && bash dns-unlock.sh
Speedtest
bashbash <(curl -sL bash.icu/speedtest)
Taier
bashbash <(curl -sL res.yserver.ink/taier.sh)
hyperspeed
bashbash <(curl -Lso- https://bench.im/hyperspeed)
全球测速
bashwget -qO- nws.sh | bash
区域速度测试
bashwget -qO- nws.sh | bash -s -- -r region_name
Ping 和路由测试
bashwget -qO- nws.sh | bash -s -- -rt [region]
直接显示回程(小白用这个)
bashcurl https://raw.githubusercontent.com/ludashi2020/backtrace/main/install.sh -sSf | sh
回程详细测试(推荐)
bashwget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh
bashwget https://ghproxy.com/https://raw.githubusercontent.com/vpsxb/testrace/main/testrace.sh -O testrace.sh && bash testrace.sh
添加SWAP
bashwget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
Fail2ban
bashwget --no-check-certificate https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log
一键开启BBR,适用于较新的Debian、Ubuntu
bashecho "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
多功能BBR安装脚本
bashwget -N --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
锐速/BBRPLUS/BBR2/BBR3
bashwget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
TCP窗口调优
bashwget http://sh.nekoneko.cloud/tools.sh -O tools.sh && bash tools.sh
添加warp
bashwget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [lisence/url/token]
25端口开放测试
bashtelnet smtp.aol.com 25
docker
bashbash <(curl -sL 'https://get.docker.com')
Python
bashcurl -O https://raw.githubusercontent.com/lx969788249/lxspacepy/master/pyinstall.sh && chmod +x pyinstall.sh && ./pyinstall.sh
iperf3
bashapt install iperf3
realm
bashbash <(curl -L https://raw.githubusercontent.com/zhouh047/realm-oneclick-install/main/realm.sh) -i
gost
bashwget --no-check-certificate -O gost.sh https://raw.githubusercontent.com/qqrrooty/EZgost/main/gost.sh && chmod +x gost.sh && ./gost.sh
极光面板
bashbash <(curl -fsSL https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/install.sh)
哪吒监控
bashcurl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
WARP
bashwget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh
Aria2
bashwget -N git.io/aria2.sh && chmod +x aria2.sh && ./aria2.sh
宝塔
bashwget -O install.sh http://v7.hostcli.com/install/install-ubuntu_6.0.sh && sudo bash install.sh
PVE虚拟化
bashbash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/build_backend.sh)
Argox
bashbash <(wget -qO- https://raw.githubusercontent.com/fscarmen/argox/main/argox.sh)
科技lion
bashapt update -y && apt install -y curl bash <(curl -sL kejilion.sh)
SKY-BOX
bashwget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
bashcurl -sL https://sick.onl | bash
bashwget https://github.com/Aniverse/A/raw/i/a && bash a
bashwget -qO- nws.sh | bash
bash# 下载脚本
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh
# 开始 dd
bash InstallNET.sh -debian 12
# 杜甫指定raid dd
bash InstallNET.sh -debian 12 -raid "0"
# 杜甫指定网络 dd
bash InstallNET.sh -debian 12 --ip-addr 139.162.52.1 --ip-mask 24 --ip-gate 139.162.52.1 --ip6-addr 2a07:e040:2:1d3::1 --ip6-gate 2a07:e040::1 --ip6-mask 32
# 指定密码 dd
bash InstallNET.sh -debian 12 -pwd 'password'
bashcurl -sL https://raw.githubusercontent.com/Yuri-NagaSaki/SICK/refs/heads/main/hardware_info.sh | bash -s -- -cn

