Skip to content

bigmangos/speedtest-go-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

speedtest go 版本一键安装脚本

speedtest 项目的 go 版本一键安装脚本,测速相关使用请参考原仓库

环境要求

  • 支持的操作系统:CentOS 7-8、Debian 8-10、Ubuntu 16-18
  • 操作系统要求64位

安装

一键安装脚本(使用root用户):

bash <(curl -Lsk https://github.com/raw/BigMangos/speedtest-go-script/master/install.sh)

如果出现-bash: curl: command not found错误,说明curl命令没安装,请输入下面的命令先安装curl,再回过头来执行上面的命令再来一次。

#Debian or Ubuntu
apt-get -y install curl
#CentOS
yum -y install curl

更新

2020/4/19

  • 增加了脚本内启动、停止命令

2020/4/21

  • 增加了设置监听端口以及修改监听端口

小问题

请教一下如何检测Linux是否安装了go呢?

在安装了go的系统下,在脚本导入了环境变量,用which go检测,执行并没有返回,不在shell中正常返回

致谢

  • 感谢 speedtest 项目组提供优秀的测速项目
  • 本脚本编写参考了 @xiaoz.me 的 CCAA 项目,在此表示感谢

About

speedtest go 版本一键安装脚本

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages