常用脚本
常用的VPS脚本,基于DD重装、综合测试、性能测试、流媒体及IP质量测试、测速、回程测试、功能脚本、一键安装常用环境及软件、综合功能脚本。
1. DD重装脚本
leitbogioro大佬【推荐】,密码LeitboGi0ro
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 'password'
萌咖大佬的脚本
1
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p 密码 -port 端口 -a -firmware
beta.ga大佬的脚本
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
DD Windows (使用时尚最强DD脚本)
1
bash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -windows 10 -lang "cn"
1
2账户:Administrator
密码:Teddysun.comg
2. 综合测试脚本
LemonBench
1
wget -qO- https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s -- --fast
融合怪
1
bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)
NodeBench
1
bash <(curl -sL https://raw.githubusercontent.com/LloydAsp/NodeBench/main/NodeBench.sh)
3. 性能测试
GB6 跑分脚本【推荐】,附带宽测试
1
curl -sL yabs.sh | bash
GB6 剔除带宽测试,因为都是国外节点测试,国内跑没多大意义:
1
curl -sL yabs.sh | bash -s -- -i
GB5 跑分脚本,附带宽测试:
1
curl -sL yabs.sh | bash -5
GB5 剔除带宽测试:
1
curl -sL yabs.sh | bash -s -- -i -5
4. 流媒体及IP质量测试
RegionRestrictionCheck【推荐】
1
bash <(curl -L -s check.unlock.media)
原生检测脚本,流媒体解锁改(加入了原生/DNS解锁检测)
1
bash <(curl -sL Media.Check.Place)
准确度最高
1
bash <(curl -L -s https://github.com/1-stream/RegionRestrictionCheck/raw/main/check.sh)
IP质量体验脚本
1
bash <(curl -sL IP.Check.Place)
5. 测速脚本
Speedtest
1
bash <(curl -sL bash.icu/speedtest)
Taier
1
bash <(curl -sL res.yserver.ink/taier.sh)
Hyperspeed 三网测速 【推荐,但未开源】
1
bash <(curl -Lso- https://bench.im/hyperspeed)
全球测速
1
curl -sL network-speed.xyz | bash
6. 回程测试
backtrace 三网回程线路直接显示【小白用这个】
1
curl https://raw.githubusercontent.com/ludashi2020/backtrace/main/install.sh -sSf | sh
AutoTrace 三网回程线路显示详细测试【推荐】
1
wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh
7. 功能脚本
添加SWAP
1
wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
Fail2ban
1
wget --no-check-certificate https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log
一键开启BBR,适用于较新的Debian、Ubuntu
1
2
3
4
5echo "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多功能BBR安装脚本
1
wget -N --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
锐速/BBRPLUS/BBR2/BBR3
1
wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
TCP窗口调优
1
wget http://sh.nekoneko.cloud/tools.sh -O tools.sh && bash tools.sh
25端口开放测试
1
telnet smtp.aol.com 25
测试 IPv4/IPv6 优先顺序
1
curl ip.p3terx.com
剑皇刷流量脚本
1
2
3wget 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://链接.jpgACME生成免费证书
1
curl https://get.acme.sh | sh
8. 一键安装常用环境及软件
Docker
1
curl -sSL https://get.daocloud.io/docker | sh
Python
1
curl -O https://raw.githubusercontent.com/lx969788249/lxspacepy/master/pyinstall.sh && chmod +x pyinstall.sh && ./pyinstall.sh
Iperf3
1
apt install iperf3
Realm
1
bash <(curl -L https://raw.githubusercontent.com/zhouh047/realm-oneclick-install/main/realm.sh) -i
Gost
1
wget --no-check-certificate -O gost.sh https://raw.githubusercontent.com/qqrrooty/EZgost/main/gost.sh && chmod +x gost.sh && ./gost.sh
极光面板
1
bash <(curl -fsSL https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/install.sh)
哪吒监控
1
curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh
WARP
1
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh
Aria2
1
wget -N git.io/aria2.sh && chmod +x aria2.sh && ./aria2.sh
宝塔
1
wget -O install.sh http://v7.hostcli.com/install/install-ubuntu_6.0.sh && sudo bash install.sh
PVE虚拟化
1
bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/build_backend.sh)
9、综合功能脚本
V2ray-Agent
1
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
1
wget -P /root -N --no-check-certificate "https://www.592083.xyz/v2ray-agent/install.sh" && chmod 700 /root/install.sh && /root/install.sh
Jcnf
1
wget -O jcnfbox.sh https://raw.githubusercontent.com/Netflixxp/jcnf-box/main/jcnfbox.sh && chmod +x jcnfbox.sh && clear && ./jcnfbox.sh
科技lion
1
curl -sS -O https://kejilion.pro/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh
SKY-BOX
1
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh