LibreSpeed是一款快速部署,可以用于测试网速的工具,特别是在局域网环境中,用来测试网络设备带宽是否达标非常好用。代码主要由一组html、js和php构成。下面以Centos7下安装为例

环境部署
1、安装Cenots7系统
2、安装Apache,php,git
yum install httpd php -y设置httpd开机自启
systemctl enable httpd
systemctl start httpdLibreSpeed部署
1、下载LibreSpeed
项目地址https://github.com/librespeed/speedtest
cd /root
git clone https://github.com/librespeed/speedtest.git
cd speedtest/2、拷贝程序到 /var/www/html/ 目录下
cp -R backend example-singleServer-pretty.html *.js /var/www/html/3、进入站点目录下把example-singleServer-pretty.html改名成index.html
cd /var/www/html/
mv example-singleServer-pretty.html index.html4、测试
配置好后,访问 http://ip/index.html 即可使用。测速如下

LibreSpeed是用于测试网速的工具,代码由html、js和php构成。本文以Centos7为例,介绍其部署过程,包括环境部署(安装Centos7系统、Apache、php、git并设置httpd开机自启)和LibreSpeed部署(下载项目、拷贝程序、改名文件),配置好后访问指定网址即可使用。

1020

被折叠的 条评论
为什么被折叠?



