Commonly used scripts

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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. wget -qO- https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s — –fast


UnixBench.sh

  1. wget –no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh
  2. chmod +x unixbench.sh
  3. ./unixbench.sh

Network test script

Hyperspeed three-network speed test (recommended) (not open source)

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


AutoTrace triple-network backhaul line display (recommended)

  1. 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).

  1. 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)

  1. wget -qO- bench.sh | bash


SuperBench.sh network bandwidth and hard disk read and write speed (domestic three networks + speedtest +fast)

  1. wget -qO- –no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash

Overbooking test script

  1. 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

  1. rmmod virtio_balloon


Memory fill test

  1. apt-get update
  2. apt-get install wget build-essential -y
  3. wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
  4. gcc -l stdc++ memtester.cpp
  5. ./a.out

Streaming test script
RegionRestrictionCheck (recommended)

  1. bash <(curl -L -s check.unlock.media)


openai unlock detection

  1. 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 )

  1. echo “net.core.default_qdisc=fq” >> /etc/sysctl.conf
  2. echo “net.ipv4.tcp_congestion_control=bbr” >> /etc/sysctl.conf
  3. sysctl -p
  4. sysctl net.ipv4.tcp_available_congestion_control
  5. lsmod | grep bbr


Linux-NetSpeed ​​( Ruisu /bbrplus/bbr modified version)

  1. wget -N –no-check-certificate “https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh”
  2. chmod +x tcp.sh
  3. ./tcp.sh


ylx boss's Ruisu/BBRPLUS/BBR2

  1. wget -O tcpx.sh “https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh” && chmod +x tcpx.sh && ./tcpx.sh

Moerats's swap script

  1. wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh


spiritlhl's zram memory compression script

  1. 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 )

  1. wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [lisence/url/token]


fail2ban server ssh anti-blasting

  1. wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log


Dedicated server hard drive time

  1. wget -q https://github.com/Aniverse/A/raw/i/a && bash a


Common software scripts

Docker

  1. curl -sSL https://get.docker.com/ | sh


Aria2 one-click installation script

  1. wget -N git.io/aria2.sh && chmod +x aria2.sh && bash aria2.sh


unlucky

  1. bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)


qbittorrent 4.3.9

Baota one-click mount hard disk script

  1. wget -O auto_disk.sh https://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh


acme generates free certificates

  1. curl https://get.acme.sh | sh


Sword King traffic boosting script

  1. wget https://cdn.jsdelivr.net/gh/maintell/webBenchmark@releases/download/0.6/webBenchmark_linux_x64
  2. chmod +x webBenchmark_linux_x64
  3. ./webBenchmark_linux_x64 -c 64 -s https://link.jpg


Tencent Cloud Deletion Monitoring

  1. sudo -i
  2. systemctl stop tat_agent
  3. systemctl disable tat_agent
  4. /usr/local/qcloud/stargate/admin/uninstall.sh
  5. /usr/local/qcloud/YunJing/uninst.sh
  6. /usr/local/qcloud/monitor/barad/admin/uninstall.sh
  7. rm -f /etc/systemd/system/tat_agent.service
  8. rm -rf /usr/local/qcloud
  9. rm -rf /usr/local/sa
  10. rm -rf /usr/local/agenttools
  11. rm -rf /usr/local/qcloud
  12. process=(sap100 secu-tcs-agent sgagent64 barad_agent agent agentPlugInD pvdriver )
  13. for i in ${process[@]}
  14. do
  15.   for A in $(ps aux | grep $i | grep -v grep | awk ‘{print $2}’)
  16.   do
  17.     kill -9 $A
  18.   done
  19. done


Test whether port 25 is open

  1. telnet smtp.aol.com 25


Test whether IPv4 or IPv6 is preferred

  1. curl ip.p3terx.com

-->

 
admin
  • by admin Published on 2025-09-1914:50:27
  • Please make sure to keep the link to this article when reprinting:https://www.sinstu.com/archives/213.html

Comment