How to set a quick debian source

Source: Internet
Author: User
Author: gaojinboTime: 2010-02-04Mail: admin@gaojinbo.com how to set the rapid debian source using apt-spy, can automatically test to which the download speed is the fastest, and automatically write the fastest source to the configuration file because the installation of the system is not apt-spy, so first find a source first install apt-spy1)

Author: gaojinbo
Time: 2010-02-04
Mail: admin@gaojinbo.com

How to set a quick debian source

With apt-spy, you can automatically test which source has the fastest download speed and automatically write the fastest source to the configuration file.

Since no apt-spy is installed on the system, find a source and install apt-spy first.

1) set a temporary source
Vi/etc/apt/sources. list
# Add the following line to the end of the file
Deb http://http.us.debian.org/debian stable main

2) update The Package List and install apt-spy
Apt-get update
Apt-get install apt-spy

3) automatically download the list and use apt-spy to test the fastest source
Apt-spy update
Apt-spy-d stable-a asia-t 3

4) view the generated configuration file, which is the fastest source
Cat/etc/apt/sources. list. d/apt-spy.list

5) delete temporary Source
Vi/etc/apt/sources. list
# Delete the following row
Deb http://http.us.debian.org/debian stable main

6) update The Package List
Apt-get update

Done!

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.