整合了一些常用VPS脚本,方便使用的时候找,不定期更新。
测速跑分类
VPS信息和国内节点概要测试(第三个为修复版,第四个带世界节点):
wget -qO- git.io/superbench.sh | bash wget -qO- sb.oldking.net | bash wget --no-check-certificate https://raw.githubusercontent.com/zzycwmx/CDN/master/superbench2.sh && bash superbench2.sh curl -Lso- bench.sh | bash
融合怪全面测试:
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh curl -L https://github.com/spiritLHLS/ecs/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh bash <(wget -qO- bash.spiritlhl.net/ecs)
大综合脚本:
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
国内节点全面测速:
bash <(curl -Lso- https://git.io/superspeed_uxh)
bash <(wget -qO- https://bench.im/hyperspeed) bash <(curl -sL bash.icu/speedtest)
三网回程路由测试:
curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh
流媒体解锁测试脚本:
bash <(curl -sSL https://raw.githubusercontent.com/ghostzyy/nf/main/nf.sh)
国内外节点综合测试:
wget https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench.sh && bash ZBench.sh
wget -qO- bench.sh | bash
CPU性能专项测试(多核将分别显示单核和多核成绩):
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh
综合性能测试,详细的IO数据,包含世界各地节点速度和CPU性能:
curl -sL yabs.sh | bash
实用脚本类
一键安装BBR/BBR plus/锐速(先安装加速的内核,再执行选择开启加速):
wget "https://github.com/cx9208/Linux-NetSpeed/raw/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
宝塔面板一键安装(7.1和5.9版本)
Centos安装7.1命令:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
debian安装7.1命令:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh
Centos安装5.9命令:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
debian安装5.9命令:
wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh
重装系统DD脚本
VPS多系统系统整合一键DD命令(不适用于OVZ,命令执行后,可以看到密码等登录信息,建议用下面几个命令,这个容易翻车):
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-gd.sh && chmod +x dd-gd.sh && ./dd-gd.sh
一键DD成Win2012(用户名:Administrator 密码:WinSrv2012r2x64-Chinese)
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'http://down.80host.com/iso/dd/WinSrv2012r2x64-Chinese.vhd.gz'
一键DD成debian脚本(系统编号可改,密码可改) :
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 9 -v 64 -p 'ddlinux' -a -firmware
一键DD成debian11脚本:
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p "密码" -port "端口"
一键DD成debian11脚本(使用了ustc.edu.cn的源,中科大):
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 12 -v 64 -p "密码" -port "端口" --mirror "http://mirrors.ustc.edu.cn/debian/"
DD后安装必要软件和开启BBR
apt-get install wget curl vim sudo -y
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
lsmod | grep bbr
解决debian安装vim编辑报错
echo set clipboard=unnamed >> ~/.vimrc
mark,挺有用
谢谢
pr上试了试锐速,丢包5暴涨到10,延迟170暴涨到200…我不知道该说什么(卸载之后丢包恢复了,延迟没恢复…)
实测下来PR用BBR plus还是不错的,跟没调参数的锐速接近,不过PR加这两天好像炸了,去程疯狂丢包,回程速度不到上周的一半