Linux CentOS 7.x/6.x/5.x 导入epel源

How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x

vim /etc/yum.repos.d/CentOS-Base.repo

取消注释mirrorlist=***    --互联网源
注释baseurl=****         --局域网源

CentOS 6

rpm -ivh  http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

rpm -ivh http://mirrors.kernel.org/fedora-epel/6/i386/epel-release-6-8.noarch.rpm

yum repolist 

yum update

posted @ 2016-08-08 11:11  —八戒—  阅读(225)  评论(0编辑  收藏  举报