当前位置: 首页 教程 正文

【整理】vps测试脚本合集

阿里郎 |

vps 或独服测试脚本,相信大家用得到。

vps规格测试脚本: wget -qO- bench.sh | bash

或者: wget -qO- git.io/superbench.sh | bash

或者:curl -sL yabs.sh | bash
curl -sL yabs.sh | bash -s — -i

三网测速:bash <(curl -Lso- https://git.io/superspeed.sh)

vps查看回程线路脚本: wget -qO- git.io/besttrace | bash

vps的cpu性能测试脚本: wget –no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh

独服硬盘测试: wget -q https://github.com/Aniverse/A/raw/i/a && bash a

流媒体解锁测试:bash <(curl -L -s check.unlock.media)

vps去程测试网址:https://tools.ipip.net/traceroute.php

vps的ping测试网址:https://ping.pe

下面是俺随手写的脚本:

DD脚本地址:
https://github.com/yeahwu/InstallOS

v2ray+ws+tls一键脚本地址:
https://github.com/yeahwu/v2ray-wss

curl -sSL https://get.daocloud.io/docker | sh        安装docker
curl -L https://get.daocloud.io/docker/compose/releases/download/v2.3.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose        安装 Docker Compose
chmod +x /usr/local/bin/docker-compose

mkdir x-ui && cd x-ui           X-ui docker
docker run -itd –network=host -v $PWD/db/:/etc/x-ui/ -v $PWD/cert/:/root/cert/ –name x-ui –restart=unless-stopped enwaiax/x-ui:latest

echo “net.core.default_qdisc=fq” >> /etc/sysctl.conf        BBR加速
echo “net.ipv4.tcp_congestion_control=bbr” >> /etc/sysctl.conf
sysctl -p
lsmod | grep bbr

wget -q https://gitee.com/yanyuwangluo/onekey/raw/master/Onkey/xinql.sh -O xinql.sh && bash xinql.sh        青龙面板
docker exec -it qinglong bash -c  “$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/QL-/main/npm.sh)”         安装青龙依赖命令
docker exec -it qinglong bash
ql repo https://github.com/KingRan/KR.git “jd_|jx_|jdCookie” “activity|backUp” “^jd[^_]|USER|utils|function|sign|sendNotify|ql|JDJR”

rm -rf /etc/localtime        #时间校准
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh)        Linux 一键更换国内软件源脚本
wget -qO- 1keydd.com/inst.sh | bash -s – -t deb        5K哥 DD脚本

测试25端口是否开放:

telnet smtp.aol.com 25

声明:原创文章请勿转载,如需转载请注明出处!