脚本大全

DD网络重装脚本:系统默认为debian12。

moeclub大佬的脚本

bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 12 -v 64 -p 密码 -port 端口 -a -firmware

leitbogioro大佬的脚本(推荐)

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大佬的脚本

wget --no-check-certificate -O NewReinstall.sh https://raw.githubusercontent.com/fcurrk/reinstall/master/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh

服务器综合测试脚本(融合怪)

 curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh

性能测试脚本

YABS(推荐)

wget -qO- yabs.sh | bash

网络测试脚本

hyperspeed 三网测速

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

AutoTrace 三网回程线路显示

wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh

backtrace 三网回程线路直接显示

curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh

Bench 网络带宽及硬盘读写速率(国外部分+国内部分节点)

wget -qO- bench.sh | bash

SuperBench.sh 网络带宽及硬盘读写速率(国内三网+speedtest+fast)

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

流媒体测试脚本

RegionRestrictionCheck(推荐)

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

流媒体解锁改(加入了原生/DNS解锁检测)

bash <(curl -L -s media.ispvps.com)

openai解锁检测

bash <(curl -Ls https://github.com/ludashi2020/OpenAI-Checker/raw/main/openai.sh)

BBR脚本

一键开启BBR(适用于较新的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魔改版)

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh"
chmod +x tcp.sh
./tcp.sh

ylx大佬的锐速/BBRPLUS/BBR2

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

moerats大佬的添加swap脚本

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

cloudflare warp脚本 添加IPv4/IPv6网络

wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh

常用软件脚本

Docker

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

Nezha探针 官网

curl -L https://gitee.com/naibahq/nezha/raw/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh

3X-UI

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

其他

宝塔一键挂载硬盘脚本

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

acme生成免费证书

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

剑皇刷流量脚本

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://链接.jpg

测试 IPv4 优先还是 IPv6 优先

curl ip.p3terx.com

腾讯云删除监控

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

 

THE END