信息获取
本篇为测试类代码,适合在新VPS到手后的性能与网络环境分析。
1.融合怪测评脚本-GO版本
这是一款全面的VPS性能测试脚本,GO版本相比之前Shell版本脚本无环境依赖,完全无第三方shell文件引用,支持非root环境测试等多项新功能。
测试脚本(国际用户无加速)
export noninteractive=true && curl -L https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs
测试脚本(国际/国内使用 CDN 加速)
export noninteractive=true && curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs
测试脚本(国内用户使用 CNB 加速)
export noninteractive=true && export CN=true && curl -L https://cnb.cool/oneclickvirt/ecs/-/git/raw/main/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs
开源地址:https://github.com/oneclickvirt/ecs
2.YABS(Yet Another Benchmark Script)
YABS是一个国外VPS论坛网友们喜欢使用的一个VPS性能测试脚本,该脚本可自动运行业内顶尖的基准测试工具,内置多项测试,用于检测服务器关键领域的性能:使用 fio 测试磁盘性能、iperf3 测试网络性能,以及 Geekbench 测试 CPU / 内存性能。无需安装任何外部依赖项,也无需提升权限即可运行。
测试脚本
curl -sL https://yabs.sh | bash
或者使用
wget -qO- yabs.sh | bash
开源地址:https://github.com/masonr/yet-another-bench-script
磁盘IO测试结果解读
- 优秀 :> 200 MB/s
- 良好 :100-200 MB/s
- 一般 :50-100 MB/s
- 较差 :< 50 MB/s
网络速度测试解读
- 国际带宽 :> 100 Mbps为优秀
- 国内速度 :根据线路质量判断
- 延迟 :< 100ms为优秀,100-200ms为良好
面板安装
1. 1Panel面板
1Panel 提供直观易用的 Web 管理界面,让用户轻松掌控 Linux 服务器。

安装脚本
bash -c "$(curl -sSL https://resource.fit2cloud.com/1panel/package/v2/quick_start.sh)"
⚠上面的脚本需要root用户身份(不过你都买了VPS了,那肯定有root身份了罢
项目官网:https://1panel.cn/
2.宝塔面板
老牌的服务器运维面板,用户基数大。

安装脚本
if [ -f /usr/bin/curl ];then curl -sSO https://download.bt.cn/install/install_panel.sh;else wget -O install_panel.sh https://download.bt.cn/install/install_panel.sh;fi;bash install_panel.sh ed8484bec
项目官网:https://www.bt.cn/
3.MCSM
开源,易用,分布式架构的游戏服务器管理面板。

安装脚本
sudo su -c "wget -qO- https://script.mcsmanager.com/setup_cn.sh | bash"
Comments NOTHING