Set Debian, Gentoo, and Ubuntu to select the fastest Source

Source: Internet
Author: User
Dear students, in the previous article titled "installation and configuration of Fedora15", we proposed that the "auto-select fastest image plug-in" can be installed on Fedora '. Many other release version users feel that if they are similar to Debian, Gentoo, Ubuntu, and other popular Release versions, they can automatically choose the fastest source. Today, I will give you a dream. Continue reading. #1. Netselect-apt In Debian is a useful plug-in that can help Debian automatically select the fastest image to download and upgrade the software package.

Dear colleagues, in the previous article "ora 15 installation and configuration overview", we proposed that Fedora can be installed with 'automatically select the fastest image plug‑in '. Many other release version users feel that if they are similar to Debian, Gentoo, Ubuntu, and other popular Release versions, they can automatically choose the fastest source. Today, I will give you a dream. Continue reading.

#1, Debian

Netselect-apt In Debian is a useful plug-in that can help Debian automatically select the fastest image to download and upgrade the software package.

Installation:

Apt-get install netselect-apt

Introduction to netselect-apt parameters:

-F: use an FTP image instead of an HTTP image;

-N: Add a non-free software source to the selected fastest image.

After netslect-apt is used, the source. list will be produced under the Directory, which can be used to replace the currently used source. list

Command:

Mv/etc/apt/sources. list/etc/apt/sources. list. save

Cp $ HOME/sources. list/etc/apt/

Apt-get update

$ HOME refers to your HOME directory. The source. list generated by netselect-apt is under the HOME directory.

#2, Gentoo

Under Gentoo, you can use the mirroselect tool to automatically select the fastest image.

Installation:

Emerge app-portage/mirrorselect

After completion, you can use the following command to automatically select the fastest image:

Mirrorselect-I-o>/mnt/gentoo/etc/make. conf

Or

Mirrorselect-I-r-o>/mnt/gentoo/etc/make. conf

If you select rsync-mirror and find the fastest source server, run the following command:

Mirrorselect-s3-b10-o-D>/etc/make. conf

#3. Ubuntu

The Ubuntu mirror Gui Can Be Used In Ubuntu.

First, choose system-management-start the new software manager '. Select 'settings-upgrade source (Repositories )'. Select Ubuntu Software tab In the Download From drop down, choose Other->

Click the Select Best Server button in the resulting diting. Wait until all the tests are done.

After the test is completed, the fastest server will be highlighted. Select and reload the Software List.

Then, use the following command to replace the generated fastest software source with the list of currently used software sources:

Mv/etc/apt/sources. list/etc/apt/sources. list. save

Cp $ HOME/sources. list/etc/apt/

Apt-get update

The fastest Software List generated is under $ HOME.

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.