Setup 1. Install
Frist, To install remi Repo and epel Repo.
Remi EL6 for CentOS/RHEL 6.x
rpm -Uvh https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Remi EL5 for CentOS/RHEL 5.x
rpm -Uvh https://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
有时间我们会碰到 remi.repo 无法使用报错,就像这样
http://remi.schlundtech.de/enterprise/latest/remi/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
这时我们需要修改/etc/yum.repos.d/remi.repo,像这样
baseurl=http://rpms.famillecollet.com/enterprise/5/remi/$basearch/
#mirrorlist=http://rpms.famillecollet.com/enterprise/5/remi/mirror/$basearch/