常用VPS脚本

abits 发布于 2024-10-13 29 次阅读


(转自ns论坛用户fanjhsdb)

部分脚本附带原脚本发布地址,可访问了解详细脚本细节。

1、DD重装脚本

史上最强脚本

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'

萌咖大佬的脚本

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

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

DD windows(使用史上最强DD脚本)

支持Windows 10、Windows 11、Windows Server 2012 R2、Windows Server 2016、Windows Server 2019、Windows Server 2022

bash <(curl -sSL https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh) -windows 10  -lang "cn"
账户:Administrator
密码:Teddysun.com

2、综合测试脚本

LemonBench

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

融合怪

bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)

NodeBench

bash <(curl -sL https://raw.githubusercontent.com/LloydAsp/NodeBench/main/NodeBench.sh)

yabs

curl -sL yabs.sh | bash

使用gb5测试yabs

curl -sL yabs.sh | bash -5

3、性能测试

gb5专测脚本

bash <(curl -sL bash.icu/gb5)

4、流媒体及IP质量测试

最常用版本

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

原生检测脚本

bash <(curl -sL Media.Check.Place)

准确度最高

bash <(curl -L -s https://github.com/1-stream/RegionRestrictionCheck/raw/main/check.sh)

IP质量体检脚本

bash <(curl -sL IP.Check.Place)

Chatpt APP 解锁检测

安卓

curl android.chat.openai.com

苹果

curl ios.chat.openai.com

结果解析:https://www.nodeseek.com/post-31717-1

5、测速脚本

三网测速脚本

Speedtest

bash <(curl -sL bash.icu/speedtest)

Taier

bash <(curl -sL res.yserver.ink/taier.sh)

hyperspeed

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

全球测速

curl -sL network-speed.xyz | bash

6、回程测试

直接显示回程(小白用这个)

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

回程详细测试(推荐)

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

7、功能脚本

一键更换软件源-国内服务器专用

bash <(curl -sSL https://linuxmirrors.cn/main.sh)

添加SWAP

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

Fail2ban

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

开启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

多功能BBR安装脚本

wget -N --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

锐速/BBRPLUS/BBR2/BBR3

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

TCP窗口调优

wget http://sh.nekoneko.cloud/tools.sh -O tools.sh && bash tools.sh

测试访问优先级

curl ip.sb

添加SWAP

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

25端口开放测试

telnet smtp.aol.com 25

8、一键安装常用环境及软件

docker

国外专用

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

国内专用

curl -sSL https://get.daocloud.io/docker | sh

光圈开发的tcp-brutal

bash <(curl -fsSL https://tcp.hy2.sh/)

Python

curl -O https://raw.githubusercontent.com/lx969788249/lxspacepy/master/pyinstall.sh && chmod +x pyinstall.sh && ./pyinstall.sh

3X-UI

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

极光面板

bash <(curl -fsSL https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/install.sh)

WARP

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

Aria2一键安装脚本

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

aaPanel(宝塔国际版)

URL=https://www.aapanel.com/script/install_7.0_en.sh && if [ -f /usr/bin/curl ];then curl -ksSO "$URL" ;else wget --no-check-certificate -O install_7.0_en.sh "$URL";fi;bash install_7.0_en.sh aapanel

宝塔

url=https://download.bt.cn/install/install_lts.sh;if [ -f /usr/bin/curl ];then curl -sSO $url;else wget -O install_lts.sh $url;fi;bash install_lts.sh ed8484bec

宝塔开心版

访问:https://bt.sb/bbs/forum-37-1.html

PVE虚拟化

bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/build_backend.sh)

9、综合功能脚本

科技lion

curl -sS -O https://kejilion.pro/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh

SKY-BOX

wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh

**10、其他脚本

剑皇脚本

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

宝塔一键挂载硬盘脚本

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

NodeHatch开小鸡

wget -O install.sh https://docs.nodehatch.com/install.sh && chmod u+x install.sh && ./install.sh
此作者没有提供个人介绍
最后更新于 2024-10-13