首先安装 remi 的 yum 源:
sudo yum install epel-release
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
查看是否安装成功:
ls -l /etc/yum.repos.d/remi*
清空重建 yum 缓存:
yum clean all
yum makecache
另外一个方法:
首先安装 remi 的 yum 源:
sudo yum install epel-release
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
查看是否安装成功:
ls -l /etc/yum.repos.d/remi*
清空重建 yum 缓存:
yum clean all
yum makecache
另外一个方法: