服务器之家:专注于服务器技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|Windows11|windows server|

服务器之家 - 服务器系统 - Centos - CentOS yum添加EPEL源方法

CentOS yum添加EPEL源方法

2019-09-19 18:33CentOS之家 Centos

这篇文章主要介绍了CentOS yum添加EPEL源方法,Redhat Fedora项目下有一个 EPEL(Extra Packages for Enterprise Linux),EPEL是RHEL 的 Fedora 软件仓库,把它添上,你就可以获得很多支持RHEL/CentOS的免费软件包,需要的朋友可以参考下

Redhat Fedora项目下有一个 EPEL(Extra Packages for Enterprise Linux),EPEL是RHEL 的 Fedora 软件仓库,把它添上,你就可以获得 很多支持RHEL/CentOS  的免费软件包。比如现在流行的nginx, openvpn等等,都可以很方便的安装更新。
EPEL(http://fedoraproject.org/wiki/EPEL) 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。装上了 EPEL,就像在 Fedora 上一样,可以通过 yum install package-name,随意安装软件。
安装 EPEL 非常简单:

复制代码

代码如下:


* RHEL 4(centos 4):
rpm -Uvh http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-9.noarch.rpm
* RHEL 5(centos 5):
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm


安装完毕之后,即可使用 yum 来安装软件,比如 Nagios:

复制代码

代码如下:


yum install nagios

延伸 · 阅读

精彩推荐