CentOS5/6使用EPEL源
CentOS 6.x
wget
wget
rpm -ivh epel-release-6-8.noarch.rpm
rpm -ivh remi-release-6.rpm
CentOS 5.x
wget
wget
rpm -ivh epel-release-5-4.noarch.rpm
rpm -ivh remi-release-5.rpm
cat /etc/yum.repos.d/remi.repo | grep enabled=0
将 /etc/yum.repos.d/remi.repo 文件中 enabled=0 全部改为 enabled=1 。
yum makecache
参考
http://www.cnblogs.com/peterpanzsy/archive/2013/04/10/3012662.html
阅读(1694) | 评论(0) | 转发(0) |