Centos系统安装SpeedTest实现网络测速

发布时间:2021-07-23 14:34
 

1.安装pip

wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate

2.执行安装:

python get-pip.py

3.下载speedtest

wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

增加执行权限

chmod  x speedtest-cli

4.安装SpeedTestpip install speedtest-cli

5.使用测速,

查询安装位置 

which speedtest-cli

以图片方式共享测速结果

/usr/bin/speedtest-cli --share

本文导读