centos7安装第三方源

epel

yum install epel-release

remi

wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

yum install remi-release-7.rpm

安装remi后需要

/etc/yum.repos.d/remi.repo把对应的enabled设为1来开启

remi包含php5.4,php5.5,php5.6

rpmforge

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

yum install rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

你可能感兴趣的:(centos)