Basically brings together all the commonly used VPS scripts
DD network reinstallation script: the system defaults to Debian 12
moeclub's scriptThe article originates fromSinsTu NI-https://www.sinstu.com/archives/213.html
- 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)The article originates fromSinsTu NI-https://www.sinstu.com/archives/213.html
- 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 ‘密码’
beta.gs's scriptThe article originates fromSinsTu NI-https://www.sinstu.com/archives/213.html
- wget –no-check-certificate -O NewReinstall.sh https://raw.githubusercontent.com/fcurrk/reinstall/master/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh
5k brother's script risk warning: This person has a bad reputation in forums such as loc and has cursed many times. https://soclearn.org/1 key dd /The article originates fromSinsTu NI-https://www.sinstu.com/archives/213.html
Server comprehensive test script (fusion monster) (recommended)The article originates fromSinsTu NI-https://www.sinstu.com/archives/213.html
- curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh
Performance testing script
YABS (recommended)The article originates fromSinsTu NI-https://www.sinstu.com/archives/213.html
- wget -qO- yabs.sh | bash
Servers with scarce traffic (iperf network is not tested)The article originates fromSinsTu NI-https://www.sinstu.com/archives/213.html
- curl -sL yabs.sh | bash -s — -i
I prefer GeekBench 5 (not GeekBench 6)The article originates fromSinsTu NI-https://www.sinstu.com/archives/213.html
- curl -sL yabs.sh | bash -s — -5
I like geekbench5, but server traffic is scarce (I don't test geekbench6 or iperf network)The article originates fromSinsTu NI-https://www.sinstu.com/archives/213.html
- curl -sL yabs.sh | bash -s — -5 -i
Geekbench 5 test script developed by NS forum boss @ googleThe article originates fromSinsTu NI-https://www.sinstu.com/archives/213.html
bash <(curl -sL gb5.top)
LemonBench
- 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 test script
Hyperspeed three-network speed test (recommended) (not open source)
- bash <(curl -Lso- https://bench.im/hyperspeed)
AutoTrace triple-network backhaul 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 displays the three-network backhaul line directly (for beginners).
- curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh
Bench network bandwidth and hard disk read and write speed (foreign and domestic nodes)
- wget -qO- bench.sh | bash
SuperBench.sh network bandwidth and hard disk read and write speed (domestic three networks + speedtest +fast)
- wget -qO- –no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
Overbooking test script
- wget –no-check-certificate -O memoryCheck.sh https://raw.githubusercontent.com/uselibrary/memoryCheck/main/memoryCheck.sh && chmod +x memoryCheck.sh && bash memoryCheck.sh
Remove the virtio_balloon module
- rmmod virtio_balloon
Memory fill 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 test script
RegionRestrictionCheck (recommended)
- bash <(curl -L -s check.unlock.media)
openai unlock detection
- bash <(curl -Ls https://github.com/ludashi2020/OpenAI-Checker/raw/main/openai.sh)
BBR script
to enable BBR in one click (for newer Debian and 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 ( Ruisu /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
ylx boss's Ruisu/BBRPLUS/BBR2
- wget -O tcpx.sh “https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh” && chmod +x tcpx.sh && ./tcpx.sh
Moerats's swap script
- wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
spiritlhl's zram memory compression script
- curl -L https://raw.githubusercontent.com/spiritLHLS/addzram/main/addzram.sh -o addzram.sh && chmod +x addzram.sh && bash addzram.sh
Cloudflare warp script adds IPv4/IPv6 network ( updated on December 10, 2023 )
- wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [lisence/url/token]
fail2ban server ssh anti-blasting
- wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log
Dedicated server hard drive time
- wget -q https://github.com/Aniverse/A/raw/i/a && bash a
Common software scripts
Docker
- curl -sSL https://get.docker.com/ | sh
Aria2 one-click installation script
- wget -N git.io/aria2.sh && chmod +x aria2.sh && bash aria2.sh
unlucky
- bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)
qbittorrent 4.3.9
Baota one-click mount hard disk script
- wget -O auto_disk.sh https://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh
acme generates free certificates
- curl https://get.acme.sh | sh
Sword King traffic boosting 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 https://link.jpg
Tencent Cloud Deletion 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 whether port 25 is open
- telnet smtp.aol.com 25
Test whether IPv4 or IPv6 is preferred
- curl ip.p3terx.com
-->
Comments