国外主机测试基本推荐的商家都是正宗的国外商家,如Hostwinds、搬瓦工、vultr、raksmart、racknerd、hostdare、Iozoom等,经常需要测试机器性能和网络带宽等,有很多网友经常问到小编,怎么测速相对准确,方法有很多,今天我们介绍speedtest 项目的 go 版本一键安装脚本,可以比较真实的反映本地到服务器的速度。
1、环境要求
支持的操作系统:CentOS 7-8、Debian 8-10、Ubuntu 16-18
操作系统要求64位
2、安装Curl
#Debian / Ubuntu 系统
apt-get -y install curl
#CentOS 系统
yum -y install curl
3、一键安装Speedtest(使用root用户):
bash <(curl -Lsk https://raw.githubusercontent.com/BigMangos/speedtest-go-script/master/install.sh)
已开源:https://github.com/BigMangos/speedtest-go-script
测评中国


![搬瓦工:香港[HK_8]CN2 GIA机房测评,1Gbps三网优化带宽,流媒体解锁优秀/支持TikTok,月付$89.99起-测评中国](https://www.veidc.com/wp-content/uploads/2026/08/20260804171951.png)
![搬瓦工:新加坡[SG_8]CN2 GIA机房测评,电信移动优化/联通绕行,1.5Gbps-5Gbps超大带宽,原生解锁本地流媒体/支持TikTok,月付$49.99起-测评中国](https://www.veidc.com/wp-content/uploads/2026/08/20260804204131.png)









