Code Monkey home page Code Monkey logo

speedtest-go-script's Introduction

speedtest go 版本一键安装脚本

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

环境要求

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

安装

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

bash <(curl -Lsk https://raw.githubusercontent.com/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 项目,在此表示感谢

speedtest-go-script's People

Contributors

bigmangos avatar xmxs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.