> Linux教程 > Linux学习 >

linux 最常用yum源 remi

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

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

1. Enterprise Linux 7 (with EPEL) x86_64

 

 
1
2
3
4
5
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

 

 
1
2
3
4
5
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

 

 
1
2
3
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


 

(责任编辑:IT)