首先安装 Docker
curl -sSL https://get.docker.com/ | sh
systemctl start docker
systemctl enable docker
systemctl enable docker
docker run -d -p 6688:80 ilemonrain/html5-speedtest:alpine
搭建完成
打开 http://你VPS的IP:6688 即可
如果CentOS 7打不开,需要打开防火墙端口,或者关掉防火墙
打开6688端口
firewall-cmd --zone=public --add-port=6688/tcp --permanent
关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service