搭建speedtest服务网速测试工具

centos 7.7

#安装http
yum install httpd php git -y
#解决github上clone下载太慢的问题
sudo bash -c "$(curl -fsSL https://gitee.com/liesauer/mclone/raw/v1.0.0/script/install.sh)"
git mclone https://github.com/adolfintel/speedtest.git
cd speedtes/
cp -R backend/ example-singleServer-pretty.html *.js /var/www/html/
cd /var/www/html/
mv example-singleServer-pretty.html index.html
chown -R apache *
systemctl start httpd