最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
centos系统EPEL安装使用教程
时间:2022-06-30 21:12:10 编辑:袖梨 来源:一聚教程网
EPEL全称Extra Packages for Enterprise Linux,官方翻译为 企业版 Linux 附加软件包。顾名思义,他可以扩充你的软件库,安装很多软件时能省去很多时间。比如最近很火的PHP的DoS漏洞,Bug 61461,在EPEL下面只需要一条命令就能将PHP升级为5.9,避免重新编。
老高推荐新安装的centos系统都先安装此附加软件包!
安装命令:
yum install epel-release
RHEL 5.x / CentOS 5.x
32 位
rpm -Uvh http://download.fe**do*raproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm64 位
rpm -Uvh http://download.fedor**apro*ject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpmRHEL 6.x / CentOS 6.x
32 位
rpm -Uvh http://download.fedor*apr**oject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm64 位
rpm -Uvh http://download.fedor***aproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm这样就可以很方便的安装一些常用的软件,比如要安装 Nginx ,即可通过如下命令,而无需自行编译安装:
yum -y install nginx
没有报错的话,那么EPEL就安装完毕了。
如果上述命令还是解决不了问题,那就必须有针对性的安装了。
以下命令复制自Install EPEL and additional repositories on CentOS and Red Hat
#CentOS and Red Hat Enterprise Linux 5.x
wget http://dl.fedorap**roje*ct.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -Uvh epel-release-5*.rpm
#CentOS and Red Hat Enterprise Linux 6.x
wget http://dl.fedor*ap*ro*ject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6*.rpm
#CentOS and Red Hat Enterprise Linux 7.x
wget http://dl.f*e*dorapr*oject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
rpm -Uvh epel-release-7*.rpm
相关文章
- dnf异世相逢阿拉德武器装扮外观全职业图片分享 12-06
- 绝区零智能改造任务怎么做 智能改造任务攻略 12-06
- dnf休闲装扮套装自选礼盒外观全职业一览 12-06
- 暖雪dlc2终业不得往生之狼打法攻略 12-06
- dnf洁净的白色短裤全职业外观分享 12-06
- dnf酷萌兔装扮外观全职业一览 12-06