Installing RHEL EPEL Repo on Centos 5.x or 6.x
How to install RHEL EPEL repository on Centos 5.x or 6.x
The following article will describe how to configure a CentOS 5.x-based or Centos 6.x-based system to use Fedora Epel repos and third party remi package repos. These package repositories are not officially supported by CentOS, but they provide much more current versions of popular applications like PHP or MYSQL.
Install the extra repositories
The first step requires downloading some RPM files that contain the additional YUM repository definitions. The instructions below point to the 64-bit versions that work with our Cloud Server instances.
Centos 5.x
Centos 6.x
Once installed you should see some additional repo definitions under the /etc/yum.repos.d directory.
Enable the remi repository
The remi repository provides a variety of up-to-date packages that are useful or are a requirement for many popular web-based services. That means it generally is not a bad idea to enable the remi repositories by default.
First, open the /etc/yum.repos.d/remi.repo repository file using a text editor of your choice:
Edit the [remi] portion of the file so that the enabled option is set to 1. This will enable the remi repository.
You will now have a larger array of yum repositories from which to install.
© 2011-2013 Rackspace US, Inc.
本文介绍如何在CentOS 5.x和6.x上安装RHEL EPEL及remi第三方软件包仓库。通过下载特定的RPM文件并使用sudo权限安装这些文件,可以为系统提供更丰富的软件包资源,包括更新版本的PHP和MYSQL等。
332

被折叠的 条评论
为什么被折叠?



