DD Network Reinstallation Script: The system defaults to debian12#
Script by moeclub#
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 12 -v 64 -p password -port port -a -firmware
Script by leitbogioro (Recommended)#
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'
Script by 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.sh
Performance Testing Script#
YABS (Recommended) GitHub Open Source Address#
wget -qO- yabs.sh | bash
Servers with scarce traffic (do not test iperf network)#
curl -sL yabs.sh | bash -s -- -i
I prefer geekbench5 (do not test geekbench6)#
curl -sL yabs.sh | bash -s -- -5
I like geekbench5, but the server has scarce traffic (do not test geekbench6, do not test iperf network)#
curl -sL yabs.sh | bash -s -- -5 -i
Geekbench 5 Dedicated Testing Script GitHub Open Source Address Forum Expert @Google Development#
bash <(curl -sL gb5.top)
LemonBench GitHub Open Source Address#
wget -qO- https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s -- --fast
UnixBench.sh#
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh
chmod +x unixbench.sh
./unixbench.sh
Network Testing Script#
hyperspeed three-network speed test (Recommended) (Not open source)#
bash <(curl -Lso- https://bench.im/hyperspeed)
AutoTrace three-network return line display (Recommended)#
wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh
backtrace three-network return line direct display (for beginners)#
curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh
Bench network bandwidth and disk read/write speed (foreign and domestic nodes)#
wget -qO- bench.sh | bash
SuperBench.sh network bandwidth and disk read/write speed (domestic three networks + speedtest + fast)#
wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
Network Dedicated Testing Forum Expert @Google Development#
bash <(curl -sL https://raw.githubusercontent.com/i-abc/Speedtest/main/speedtest.sh)
Overselling Testing Script#
One-click overselling detection LOC Post#
wget --no-check-certificate -O memoryCheck.sh https://raw.githubusercontent.com/uselibrary/memoryCheck/main/memoryCheck.sh && chmod +x memoryCheck.sh && bash memoryCheck.sh
Remove virtio_balloon module#
rmmod virtio_balloon
Memory Filling Test#
apt-get update
apt-get install wget build-essential -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -l stdc++ memtester.cpp
./a.out
Streaming Media Testing Script#
RegionRestrictionCheck (Recommended)#
bash <(curl -L -s check.unlock.media)
Streaming Media Unlock Modification (added native/DNS unlock detection)#
bash <(curl -L -s media.ispvps.com)
openai unlock detection#
bash <(curl -Ls https://github.com/ludashi2020/OpenAI-Checker/raw/main/openai.sh)
BBR Script#
One-click enable BBR (suitable for newer Debian, Ubuntu)#
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
Linux-NetSpeed (锐速 /bbrplus/bbr modified version)#
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh"
chmod +x tcp.sh
./tcp.sh
Script by ylx for 锐速 / BBRPLUS/BBR2#
wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
Optimization Script#
Script by moerats to add swap#
wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
Script by spiritlhl for zram memory compression#
curl -L https://raw.githubusercontent.com/spiritLHLS/addzram/main/addzram.sh -o addzram.sh && chmod +x addzram.sh && bash addzram.sh
Cloudflare warp script to add IPv4/IPv6 network#
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [license/url/token]
fail2ban server ssh anti-brute force#
wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log
Independent server hard disk time#
wget -q https://github.com/Aniverse/A/raw/i/a && bash a
Common Software Scripts#
Docker#
curl -sSL https://get.docker.com/ | sh
XUI#
bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)
Xray#
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
Aria2 one-click installation script#
wget -N git.io/aria2.sh && chmod +x aria2.sh && bash aria2.sh
qbittorrent 4.3.9#
Others#
VPS Remaining Value Calculator
One-click Mount Hard Disk Script for Baota#
wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh
acme Generate Free Certificate#
curl https://get.acme.sh | sh
Jianhuang Traffic Brush Script#
wget https://cdn.jsdelivr.net/gh/maintell/webBenchmark@releases/download/0.6/webBenchmark_linux_x64
chmod +x webBenchmark_linux_x64
./webBenchmark_linux_x64 -c 64 -s http://link.jpg
Tencent Cloud Delete Monitoring#
sudo -i
systemctl stop tat_agent
systemctl disable tat_agent
/usr/local/qcloud/stargate/admin/uninstall.sh
/usr/local/qcloud/YunJing/uninst.sh
/usr/local/qcloud/monitor/barad/admin/uninstall.sh
rm -f /etc/systemd/system/tat_agent.service
rm -rf /usr/local/qcloud
rm -rf /usr/local/sa
rm -rf /usr/local/agenttools
rm -rf /usr/local/qcloud
process=(sap100 secu-tcs-agent sgagent64 barad_agent agent agentPlugInD pvdriver )
for i in ${process[@]}
do
for A in $(ps aux | grep $i | grep -v grep | awk '{print $2}')
do
kill -9 $A
done
done
Test if port 25 is open#
telnet smtp.aol.com 25
Test whether IPv4 or IPv6 is prioritized#
curl ip.p3terx.com
Others#
I want to DD to a Linux system (Recommended, Preferred)#
Strongly recommend using the script by leitbogioro
The success rate is as high as 100% for 512M memory and above. It can automatically configure ipv6
bash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -debian 10 -timezone "Asia/Shanghai" -swap "1024"
Password LeitboGi0ro
I want to DD to a Linux system, but the memory is only 256M#
In practice, only the script by moeclub can be used
Note ⚠️ This script does not support ipv6 and can only automatically configure ipv4 ⚠️
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 9 -v 64 -a
Password MoeClub.org
I want to DD to Windows (Recommended, Preferred)#
I recommend using the script by leitbogioro
Prerequisite: have vnc, memory not too low. Supports automatic configuration of v4v6
bash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -windows 2019 -lang "cn"
If you want to d other versions, just change it to -windows 10/11/2012/2016/2019/2022
Password Teddysun.com
I want to DD to Windows, but do not have VNC#
If you do not have vnc, then you can use the 5k script.
You can refer to this expert's detailed writing https://blog.tanglu.me/dd