

兼容性信息
类别 | 支持范围 |
---|---|
完全支持系统 | Ubuntu 18+、Debian 8+、CentOS 7+、Fedora 33+、AlmaLinux 8.5+ 等主流 Linux 系统 |
半支持系统 | FreeBSD(需先安装 curl bash )、Armbian |
支持架构 | amd64、arm64、i386、arm |
支持地域 | 全球可联网地区 |
注意:Shell 版本仅维护不更新,Go 版本无依赖且跨平台性更强。
核心功能与更新
一键修复工具
若服务器测试中出现系统问题,可通过以下仓库一键修复:
https://github.com/spiritLHLS/one-click-installation-script
近期更新(2025.02.12)
- 修复 CDN 错误时仍强制下载的问题
- 移除误差较大的中国地区检测
- 优化 CDN 地址列表,提升下载稳定性
快速使用指南
交互模式(推荐)
# 从 GitLab 安装
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh
# 或从 GitHub 安装
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)
bash <(wget -qO- ecs.0s.hk)
bash <(wget -qO- ecs.12345.ing)
无交互参数模式
# 静默执行指定测试(示例)
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh -m 1
站长推荐使用github镜像
curl -L https://down.avi.gs/https://github.com/spiritLHLS/ecs/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh
附加工具
IP 质量检测
检测 IP 信誉、DNS 黑名单、IPV4/IPV6 信息及邮件端口状态:
bash <(wget -qO- bash.spiritlhl.net/ecs-ipcheck)
注意事项
- 建议在
/root
目录执行,避免环境依赖问题。 - 测试结果保存于
test_result.txt
,可在screen
或tmux
中运行以防 SSH 中断。 - 低配服务器测试可能耗时较长(如 47 分钟的案例),请耐心等待。
- 国内用户可能因 CDN 限速导致加载较慢,属正常现象。
功能概览
- 基础信息检测(系统、CPU、内存等)
- 磁盘性能测试(dd/fio 两种方式)
- 流媒体解锁检测(Netflix、Disney+ 等)
- 三网回程路由分析
- IP 质量与安全检测
- 自动化测速(支持多节点更新)
如需详细功能说明或遇到问题,欢迎查阅 官方文档 或反馈至社区。