Ubuntu16.04测网速


wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0b4.tar.xz

tar -xvJf Python-3.7.0b4.tar.xz

cd Python-3.7.0b4/

./configure --prefix=/usr/python

make

make install

cp /usr/bin/python /usr/bin/python.bak

ls -n /usr/python/bin/python3 /usr/bin/python

git clone https://github.com/sivel/speedtest-cli.git

python speedtest-cli/setup.py install

cd speedtest-cli/

./speedtest.py

 

出处:http://blog.51cto.com/keepsmile/2117887

posted @ 2018-11-19 20:56  代码初长成  阅读(1691)  评论(0编辑  收藏  举报