1. 首页 > 服务器运维

linux 最常用yum源 remi

Remi repository 是包含最新版本 PHP 和 MySQL 包的 Linux 源,由 Remi 提供维护。有个这个源之后,使用 YUM 安装或更新 PHP、MySQL、phpMyAdmin 等服务器相关程序的时候就非常方便了。

这是最常用的yum仓库之一。

1. Enterprise Linux 7 (with EPEL) x86_64

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm
# for RHEL only
subscription-manager repos --enable=rhel-7-server-optional-rpms

2. Enterprise Linux 6 (with EPEL) i386 or x86_64

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6.rpm epel-release-latest-6.noarch.rpm
# for RHEL only
rhn-channel --add --channel=rhel-$(uname -i)-server-optional-6

3. Enterprise Linux 5 (with EPEL) i386 or x86_64

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-5.rpm
rpm -Uvh remi-release-5.rpm epel-release-latest-5.noarch.rpm

本文由主机测评网发布,不代表主机测评网立场,转载联系作者并注明出处:https://zhuji.jb51.net/yunwei/8068.html

联系我们

在线咨询:点击这里给我发消息

微信号:

工作日:8:30-17:30,节假日休息