One, installation Method 1
Add-apt-repository Ppa:ossug-hychen/getfastmirror
Apt-get Isntall Getfastmirror
If a temporary source is added, this removes
Add-apt-repository--remove Ppa:ossug-hychen/getfastmirror
Second, installation Method 2
Wget-o Getfastmirror-master.zip Https://github.com/alvan/getfastmirror/archive/debian/0.2.4-1.zip
Unzip./getfastmirror-master.zip
CD./getfastmirror-master/
./setup.py Install
Note: Take the latest release version.
Executing this command will directly make the list of images faster:
Getfastmirror update-t
mirror:mirrors.sohu.com-time:0.079617023468
mirror:mirrors.zju.edu.cn-time:0.14871096611
mirror:mirrors.yun-idc.com-time:0.154850959778
mirror:mirrors.aliyun.com-time:0.161314964294
mirror:ubuntu.cn99.com-time:0.162769079208
mirror:mirror.cogentco.com-time:2.62425398827
and the winner Is:mirrors.sohu.com
View:
/etc/apt/sources.list
Deb Http://mirrors.sohu.com/ubuntu/trusty main restricted universe multiverse
Deb Http://mirrors.sohu.com/ubuntu/trusty-security main restricted universe multiverse
Deb Http://mirrors.sohu.com/ubuntu/trusty-updates main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/trusty-proposed main restricted universe multiverse
Deb Http://mirrors.sohu.com/ubuntu/trusty-backports main restricted universe multiverse
DEB-SRC http://mirrors.sohu.com/ubuntu/trusty main restricted universe multiverse
DEB-SRC http://mirrors.sohu.com/ubuntu/trusty-security main restricted universe multiverse
DEB-SRC http://mirrors.sohu.com/ubuntu/trusty-updates main restricted universe multiverse
DEB-SRC http://mirrors.sohu.com/ubuntu/trusty-proposed main restricted universe multiverse
DEB-SRC http://mirrors.sohu.com/ubuntu/trusty-backports main restricted universe multiverse
Ubuntu server gets and automatically sets the fastest mirroring method