The fastest-configured yum source is the fastest-configured yum source for FEDORA19/20

Source: Internet
Author: User

Install the Fastestmirror/downloadonly plug-in and the Axelget plug-in before adding the Yum Source:

1. Install Fastestmirror/downloadonly Plugin

Because yum some mirror speed is very slow, if Yum chose this mirror, this time Yum will be very slow, for this, you can download Fastestmirror plug-ins, so that the system yum automatically choose the fastest mirror image:

Yum Install Yum-fastestmirror yum-downloadonly-y

Fastestmirror configuration file: (generally not move)/etc/yum/pluginconf.d/fastestmirror.conf

2. Install Axelget Plugin

Axelget is a multi-threaded download tool, Yum itself is a single-threaded download, no wonder the speed is not fast, installation method:

Yum install Alex.

Note: Here's a tip: When you yum, you may experience a long time without speed, and you can CTRL + C. This is to terminate the download from the current site, and then automatically choose another site to download, often faster.

3. Next add Yum source

Rpmforge Source-----Rpmforge is a safe, stable and updated software warehouse, through the installation of Rpmforge can be Yum update when one more choice, if you do not bother to compile the installation, you have to rely on the rpmforge.

1, first installs priority this Yum plug-in, this plug-in is used to set up the software warehouse priority, is usually by default first from the official base or the mirror installs, then installs from the Community user contribute software, then installs from the third party software storehouse. #yum Install Yum-priorities

2, manually edit the/etc/yum.repos.d/directory suffix of. Repo files to set the priority of the Software warehouse, Priority=n (N is an integer, range from 1-99, the smaller the number represents the higher the priority)

The official recommended configuration is: [Base], [addons], [updates], [extras] these parts priority=1

[Centosplus],[contrib] These parts priority=2

3, now start to install Rpmforge software Warehouse

Get-------http://dag.wieers.com/rpm/packages/rpmforge-release/

Find the Rpmforge package installation that matches the system platform architecture. After installation. The default will add two files to the system's/etc/yum.repos.d/, Mirrors-rpmforge and Rpmforge.repo

Install-------# rpm-ivhrpmforge-release-0.5.3-1.el6.rf.i686.rpm

# RPM--import Http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

Change/etc/yum.repos.d/rpmforge.repo configuration file, add Priority=1 (or 2.3.4 ...)

You can now use the Rpmforge software repository.

Domestic Yum Source-----The domestic Linux mirror server, respectively:

Netease

---------Http://mirrors.163.com/.help/fedora-163.repo; Http://mirrors.163.com/.help/fedora-updates-163.repo;

Sohu

---------Http://mirrors.sohu.com/help/fedora-sohu.repo;http://mirrors.sohu.com/help/fedora-updates-sohu.repo;

In fact, in Fedora and other distributions to add Yum source is very convenient, only need to download Fedora-163.repo and

Fedora-updates-163.repo these two files, then: In the terminal with the root user will download the two files to the/ETC/YUM.REPOS.D folder, and finally rebuild the metadata, OK

Here is the image of NetEase as an example, Sohu mirroring the operation of the same process and NetEase. The specific steps are as follows:

1. Browser access to http://mirrors.163.com, in the Linux list to find Fedora use Help links, enter the link, download Fedora-163.repo and Fedora-updates-163.repo.

2. Move the downloaded files to the/ETC/YUM.REPOS.D folder, as follows:

#mv FEDORA-163.REPO/ETC/YUM.REPOS.D

#mv FEDORA-UPDATES-163.REPO/ETC/YUM.REPOS.D 3. Rebuilding meta data

#yum Makecache

To this, NetEase's domestic yum source is added successfully.

Special reminder: We suggest that NetEase's rpmfusion be added to the Yum Source:

# yum Localinstall--nogpgcheck http://mirrors.163.com/rpmfusion/free/fedora/ rpmfusion-free-release-stable.noarch.rpmhttp://mirrors.163.com/rpmfusion/nonfree/fedora/ rpmfusion-nonfree-release-stable.noarch.rpm

(There are spaces in the middle of two URL addresses).

Add good NetEase rpmfusion so you yum install some software than rpm install more convenient, of course, if you like to compile friends with the source code can not add this fusion.

Note: You can also log on to the Rpmfusion Web page (http://rpmfusion.org/) and download the 2 RPM packages (yes, two) for your system version, which are free and nonfree respectively.

Reference URL: http://wenku.baidu.com/view/2cb8fa070740be1e650e9aba.html

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.