【整理】vps测试脚本合集

290次阅读
没有评论

共计 1931 个字符,预计需要花费 5 分钟才能阅读完成。

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 一键直观查看回程线路脚本:curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|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

正文完
 
阿里郎
版权声明:本站原创文章,由 阿里郎 2022-04-19发表,共计1931字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
国外主机测评
国外主机测评
专注于主机测评,主机推荐,VPS测评,VPS推荐,VPS教程,服务器推荐,Linux教程,服务器教程
阅读量
180585
评论数
23



hostkvm优惠促销活动
评论(没有评论)
衡天云优惠活动