Install the epel package in CentOS

Source: Internet
Author: User
Official Introduction: Workshop. EPEL contains a package called & rsquo; epel-release & rsquo; which contains the gpg key and software source information of the EPEL source. Install epel now

Official introduction:

Https://fedoraproject.org/wiki/EPEL/zh-cn

After installing epel, install nginx, php, mysql, and yum install.

EPEL contains a package called 'epel-release', which contains the gpg key and software source information of the epel source.

Install Nowepel-release

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

The above address is changed frequently. you can open the following URL to find the epel package.

http://dl.fedoraproject.org/pub/epel/6/x86_64/

Import the key of the RPM-GPG-KEY-EPEL

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

After epel is installed, two files are generated under/etc/yum. repos. d/, epel. repo, epel-testing.repo

Modify the epel. repo File (epel-testing contains the latest test software package. its version is new but installation is risky)

Before [epel-debuginfo], add

priority=11

In this way, yum will first go to the official site for search, and the official site will not go to epel for installation.

PS: There is also a good source calledatomic, Including php-fpm, it is more convenient to install this source, this script will automatically install the corresponding system version, more worry-free.

wget -q -O - http://www.atomicorp.com/installers/atomic | sh

SimilarlyrpmforgeThe installation method of the corresponding version is also very good.

Http://wiki.centos.org/zh/AdditionalResources/Repositories/RPMForge

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.