Created
April 17, 2020 12:51
-
-
Save kikohz/43e8e5904779f00e95a29ee7272cf2f3 to your computer and use it in GitHub Desktop.
一键安装HTML5 Speedtest测试服务器
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
首先安装 Docker | |
curl -sSL https://get.docker.com/ | sh | |
systemctl start docker | |
systemctl enable docker | |
安装HTML5 Speedtest | |
docker run -d -p 6688:80 ilemonrain/html5-speedtest:alpine | |
参数详解: | |
-t:启动后显示日志,可用Ctrl+C转入后台运行 | |
-d:后台模式启动 | |
-p 6688:80:镜像映射端口,修改6688为任意端口即可 | |
如果打不开,需要宝塔面板或VPS控制后台放行6688端口 | |
搭建完成,打开 http://你VPS的IP:6688 即可 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment