Ubuntu server gets and automatically sets the fastest way to mirror

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.