If you want to get RHEL's high-quality, high-performance, high-reliability, and easy-to-use (the key is free) Software Package update function, the epel (extra packages for Enterprise Linux) launched by the Fedora Project) this is exactly for you. Epel (http://fedoraproject.org/wiki/EPEL) is a program built by the fedora community to provide high-quality software packages for RHEL and derivative releases such as centos and scientific Linux. Installed with epel, just like on fedora, you can use yum
Install package-Name and install the software at will.
1. Install epel6 Yum source in RHEL/centos/SL Linux 6.x:
32-bit System Selection:
Rpm-IVH http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
64-bit System Selection:
Rpm-IVH http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
Import key:
rpm
--import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
2. By default, the epel. Repo and epel-testing.repo configuration files are created under/etc/yum. Repos. d/. The content of epel. repo is as follows:
[Epel]
Name = extra packages for Enterprise Linux 6-$ basearch
# Baseurl = http://download.fedoraproject.org/pub/epel/6/?basearch
Using list = https://mirrors.fedoraproject.org/metalink? Epel-6 & arch = $ basearch
Failovermethod = Priority
Enabled = 1
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-GPG/RPM-GPG-KEY-EPEL-6
[Epel-debuginfo]
Name = extra packages for Enterprise Linux 6-$ basearch-Debug
# Baseurl = http://download.fedoraproject.org/pub/epel/6/$basearch/debug
Using list = https://mirrors.fedoraproject.org/metalink? Epel-debug-6 & arch = $ basearch
Failovermethod = Priority
Enabled = 0
Gpgkey = file: // etc/pki/rpm-GPG/RPM-GPG-KEY-EPEL-6
Gpgcheck = 1
[Epel-source]
Name = extra packages for Enterprise Linux 6-$ basearch-Source
# Baseurl = http://download.fedoraproject.org/pub/epel/6/SRPMS
Using list = https://mirrors.fedoraproject.org/metalink? Epel-source-6 & arch = $ basearch
Failovermethod = Priority
Enabled = 0
Gpgkey = file: // etc/pki/rpm-GPG/RPM-GPG-KEY-EPEL-6
Gpgcheck = 1
If you want to use a newer software, you can enable the [epel-testing] source and change enabled = 0 to Enabled = 1.
3. Test the installation of nginx in Yum:
Yum install nginx