Rhel/centos Configuring Epel sources

Source: Internet
Author: User
Tags gpg metalink

EPEL, extra Packages for Enterprise Linux, is designed for Rhel, is completely free to use and is maintained by the Fedora project, so if you are using Rhel Linux, you can use the EPEL yum source with great ease.
32-bit System selection:
RPM-IVH http://mirror.suhu.com/fedora-epel/6/i386/epel-release-6-8.noarch.rpm

64-bit System selection:
RPM-IVH http://mirror.suhu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm

Import Key:
Rpm–import/etc/pki/rpm-gpg/rpm-gpg-key-epel-6

Installing the Yum source priority plug-in
The Yum priorities plugin can be used to force a protection source. It allows system administrators to prioritize certain sources (such as the official source of a Linux distribution) by setting different priorities for each source, ensuring system stability (and may not be able to update to the latest version of the software available on other sources).

Yum Install Yum-priorities

When you use the command Yum list, if an error
Error:cannot retrieve Metalink for Repository:epel. Verify its path and try again

Go check the Epel.repo file.

#baseurl =http://download.fedoraproject.org/pub/epel/6/$basearch Uncomment this line
Mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch= $basearch Note this line

Then use it and there's no problem.

Original source:

Time Note timesnotes.com

Original works, reproduced please specify the source: http://timesnotes.com/?p=13


This article is from the "Re Notes" blog, make sure to keep this source http://timesnotes.blog.51cto.com/1079212/1679044

Rhel/centos Configuring Epel source

Related Article

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.