1. What is epel?
Epel, or extra packages for Enterprise Linux (http://Fedoraproject.org/wiki/EPEL), is a program built by the fedora community to provide high-quality software packages for RHEL and its derivative releases such as centos and scientific Linux. You can obtain RHEL's high-quality, high-performance, high-reliability, free, easy-to-use software packages.
Ii. Comparison with 163 Yum Source
Today, centos6.4 x86_64 operating system is installed on Dell r610. After installing the system, I used 163 Yum source to install the software. I always used 163 Yum source, because it is a domestic Yum source, it is faster. However, I found that there are no libmcrypt or libmcrypt-devel RPM packages in this source. These two packages will be used when PHP extension mcrypt is installed, so I manually installed the two libmcrypt packages and found that the packages in the 163 source are incomplete. Later, I installed heartbeat and found no. So I decided to change the source. Then I went to the Internet to search for it and found the epel source. After using it, I felt great. Now, let's summarize and share with you!
Iii. install and use epel Yum source in centos 6.x
1. view the operating system version
[[Email protected] yum. Repos. d] # Cat/etc/issue
Centos release 6.5 (final)
Kernel \ r on an \ m
[[Email protected] yum. Repos. d] # uname-
Linux yf-pbs-nginx-2 2.6.32-431. el6.x86 _ 64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
2. Download the corresponding epel Source
(1). 32-bit System
[[Email protected] SRC] # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
(2). 64-bit System
1 [[email protected] SRC] # wget http://mirrors.yun-idc.com/epel/6/x86_64/epel-release-6-8.noarch.rpm
3. Install the epel source (Note: I am using a 64-bit System)
[[Email protected] SRC] # rpm-IVH epel-release-6-8.noarch.rpm
Warning: epel-release-5-4.noarch.rpm: Header V3 DSA Signature: nokey, key ID 217521f6
Preparing... ######################################## ### [100%]
1: epel-release ##################################### ###### [100%]
4. Import the key file
1 [[email protected] SRC] # rpm -- import/etc/pki/rpm-GPG/RPM-GPG-KEY-CentOS-6
5. view the installed epel Source
[[Email protected] SRC] # cd/etc/yum. Repos. d/
[[Email protected] yum. Repos. d] # ll
Total 24
-RW-r -- 1 Root 2245 2010-04-26 CentOS-Base.repo
-RW-r -- 1 Root 626 2010-04-26 CentOS-Media.repo
-RW-r -- 1 Root 954 2010-08-12 epel. Repo # official version, all software is stable and reliable
-RW-r -- 1 Root 1054 2010-08-12 epel-testing.repo # latest test Source
Note: by default, only the official version is valid. If you want to try the test version, you need to modify/etc/yum. repos. d/epel-testing.repo, change enabled = 0 to Enabled = 1.
6. Test
[[Email protected] yum. Repos. d] # Yum clean all
[[Email protected] yum. Repos. d] # Yum list
This article from the "Learning to eternal" blog, please be sure to keep this source http://hzcsky.blog.51cto.com/1560073/1541561