EPEL 是 Extra Packages for Enterprise Linux 的縮寫(EPEL),是用於 Fedora-based Red Hat Enterprise Linux (RHEL) 的一個高質量軟件源,因此同時也適用於 CentOS 或者 Scientific Linux 等發行版。php
yum install epel-release yum -y install yum-utils yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional or rpm -ivh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum clean all && yum makecache
Remi repository 是包含最新版本 PHP 和 MySQL 包的 Linux 源,由 Remi 提供維護。有個這個源以後,使用 YUM 安裝或更新 PHP、MySQL、phpMyAdmin 等服務器相關程序的時候就很是方便了。bash
# CentOS 6 / RHEL 6 yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm yum install https://mirror.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-6.rpm # CentOS 7 / RHEL 7 yum install http://rpms.famillecollet.com/enterprise/remi-release-7.rpm yum install https://mirror.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-7.rpm