1. OS Reinstall (DD)
DD reinstall means bypassing the provider’s default system template and writing the system image of your choice directly to disk. It’s commonly used when a provider only offers a limited selection of OSes, or when you want a clean Debian/Ubuntu install. This is a high-risk operation that erases all data on the disk — back up everything beforehand, and only run it on a test machine / a machine you can afford to reset.
InstallNET.sh (a long-standing favorite, known in the community as “the strongest script”)
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 '你的密码'
Common parameter examples:
# 指定 RAID 模式
bash InstallNET.sh -debian 12 -raid "0"
# 指定静态网络信息(部分机房 DD 后网络不通时需要手动指定)
bash InstallNET.sh -debian 12 --ip-addr 你的IP --ip-mask 24 --ip-gate 网关 --ip6-addr 你的IPv6 --ip6-gate IPv6网关 --ip6-mask 32
Mengka’s script (MoeClub)
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 (fcurrk) reinstall script
Features an interactive menu, great for beginners who aren’t familiar with the parameters:
wget --no-check-certificate -O NewReinstall.sh https://raw.githubusercontent.com/fcurrk/reinstall/master/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh
2. All-in-One Testing Scripts
These scripts run multiple checks at once — hardware performance, IP quality, network quality, and more — so they’re ideal for a quick baseline assessment as soon as you get a new machine.
NodeQuality (Recommended; currently the community standard)
Combines the core features of Yabs + IPQuality + NetQuality + Fusion Monster into a single run. When the tests finish, it automatically generates a unified Markdown report. It runs in an isolated temporary environment that cleans itself up afterwards, leaving no dependencies or caches behind:
bash <(curl -sL https://run.NodeQuality.com)
GitHub: LloydAsp/NodeQuality
bench.sh
A long-standing all-in-one test script with clean, concise output:
wget -qO- bench.sh | bash
Fusion Monster (ecs.sh)
Another all-in-one testing tool widely used in the community:
bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)
LemonBench
A newer testing script that supports a fast mode:
wget -qO- https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s -- --fast
NodeBench (the predecessor of NodeQuality)
bash <(curl -sL https://raw.githubusercontent.com/LloydAsp/NodeBench/main/NodeBench.sh)
3. Benchmarking
YABS (Yet Another Bench Script)
The de facto standard for benchmarking, covering CPU, memory, disk I/O, and Geekbench scores:
curl -sL yabs.sh | bash
Common parameter combinations:
# 跳过网络测速,只测 Geekbench 5
curl -sL yabs.sh | bash -s -- -i5
# 跳过网络和磁盘测速,只测 Geekbench 5(最快出结果)
curl -sL yabs.sh | bash -s -- -if5
# 测 Geekbench 5 而不测 Geekbench 6
curl -sL yabs.sh | bash -s -- -5
# 测 Geekbench 6 但不测带宽(国内机器常用,海外测速节点意义不大)
curl -sL yabs.sh | bash -s -- -i
4. Streaming Unlock & IP Quality Checks
These scripts check which streaming platforms (Netflix, Disney+, etc.) your machine’s egress IP can unlock, and whether the IP is flagged as a datacenter/risky IP — useful for judging IP quality when setting up a proxy or buying a machine.
The most commonly used version
bash <(curl -L -s check.unlock.media)
Native detection script (Recommended)
bash <(curl -sL Media.Check.Place)
IP quality check script
bash <(curl -sL IP.Check.Place)
One-click DNS switch for unlocking
wget https://raw.githubusercontent.com/Jimmyzxk/DNS-Alice-Unlock/refs/heads/main/dns-unlock.sh && bash dns-unlock.sh
5. Network Speed Tests
Speedtest
bash <(curl -sL bash.icu/speedtest)
Taier
bash <(curl -sL res.yserver.ink/taier.sh)
hyperspeed
bash <(curl -Lso- https://bench.im/hyperspeed)
Global / regional speed tests (nws.sh)
# 全球测速
wget -qO- nws.sh | bash
# 指定区域测速
wget -qO- nws.sh | bash -s -- -r region_name
# Ping 和路由测试
wget -qO- nws.sh | bash -s -- -rt [region]
6. Return Route Tests
Return-route tests show which path your machine’s traffic takes back to China’s major ISPs — whether it goes over premium routes like CN2 or GIA — making them an important reference when buying a machine.
Direct return-route display (beginner-friendly)
curl https://raw.githubusercontent.com/ludashi2020/backtrace/main/install.sh -sSf | sh
Detailed return-route test (recommended for advanced users)
wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh
7. System Tuning & Security
Adding SWAP
For machines with limited RAM, adding a bit of SWAP is recommended to avoid OOM:
wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
Fail2ban (brute-force protection)
wget --no-check-certificate https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log
Enabling BBR (built into newer Debian/Ubuntu kernels, no kernel install needed)
echo "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
Multi-purpose BBR install script (for older kernels that need BBR/BBR2)
wget -N --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
One-click switching between RuiSu / BBRPLUS / BBR2 / BBR3
wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
TCP window tuning
wget http://sh.nekoneko.cloud/tools.sh -O tools.sh && bash tools.sh
One-click WARP setup
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh
Port 25 connectivity test
Some providers block port 25 (the email port), so test it before setting up a mail service:
telnet smtp.aol.com 25
8. Common Environments & Software Installation
Docker (official one-click install script)
bash <(curl -sL 'https://get.docker.com')
Python environment
curl -O https://raw.githubusercontent.com/lx969788249/lxspacepy/master/pyinstall.sh && chmod +x pyinstall.sh && ./pyinstall.sh
iperf3 (LAN bandwidth test tool)
apt install iperf3
Data disk mounting
curl -fsSL https://cloud.vipcloud.cc/vipcloud_disk.sh | sudo bash
Setting up a PVE virtualization environment
bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/build_backend.sh)
One-click Xray deployment
bash <(wget -qO- -o- https://github.com/233boy/Xray/raw/main/install.sh)
gost (lightweight proxy / intranet tunneling tool)
wget --no-check-certificate -O gost.sh https://raw.githubusercontent.com/qqrrooty/EZgost/main/gost.sh && chmod +x gost.sh && ./gost.sh
9. Hardware & System Information Checks
When you get a new machine and want a quick look at its real hardware specs — especially to tell whether they’re inflated or the resources are truly dedicated — these scripts come in handy.
Hardware info script
curl -sL https://raw.githubusercontent.com/Yuri-NagaSaki/SICK/refs/heads/main/hardware_info.sh | bash -s -- -cn
Disabling IPv6 (a temporary workaround for cases where IPv6 configuration is problematic)
echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf
sysctl -p
10. All-in-One Toolbox Scripts
If you’d rather not memorize that many commands, these “menu-driven” all-in-one management scripts pack common ops tasks into a single interactive menu.
Kejilion (Tech Lion)
apt update -y && apt install -y curl
bash <(curl -sL kejilion.sh)
Usage Tips
- Run benchmarks and speed tests first, then decide what it’s for: When you get a new machine, run NodeQuality or YABS to gauge performance and network quality, then decide how to use it once you know what you’re working with.
- Always back up before a DD reinstall: This is the operation most likely to cause data loss. Don’t attempt it on a production machine unless your important data is already backed up.
- Mind where your scripts come from: Prefer open-source scripts with high star counts, active updates, and a solid community reputation (projects like YABS and NodeQuality have real traction and active maintenance on GitHub). Before running an unfamiliar or niche script,
curlit down and read through the source code first — especially when it involvessudo/rootoperations. - Apply tuning selectively: BBR and TCP window tuning pay off clearly on high-latency, cross-border links, but matter little on local/LAN setups. No need to blindly run them on every machine.