博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux 最常用的yum源remi
阅读量:6829 次
发布时间:2019-06-26

本文共 4632 字,大约阅读时间需要 15 分钟。

Remi repository是包含最新版本php和mysql包的linux源。

1. Enterprise Linux 7 (with EPEL) x86_64wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpmwget http://rpms.remirepo.net/enterprise/remi-release-7.rpmrpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm# for RHEL onlysubscription-manager repos --enable=rhel-7-server-optional-rpms    wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpmwget http://rpms.remirepo.net/enterprise/remi-release-7.rpmrpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm# for RHEL onlysubscription-manager repos --enable=rhel-7-server-optional-rpms2. Enterprise Linux 6 (with EPEL) i386 or x86_64wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpmwget http://rpms.remirepo.net/enterprise/remi-release-6.rpmrpm -Uvh remi-release-6.rpm epel-release-latest-6.noarch.rpm# for RHEL onlyrhn-channel --add --channel=rhel-$(uname -i)-server-optional-6    wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpmwget http://rpms.remirepo.net/enterprise/remi-release-6.rpmrpm -Uvh remi-release-6.rpm epel-release-latest-6.noarch.rpm# for RHEL onlyrhn-channel --add --channel=rhel-$(uname -i)-server-optional-63.Enterprise Linux 5 (with EPEL) i386 or x86_64wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpmwget http://rpms.remirepo.net/enterprise/remi-release-5.rpmrpm -Uvh remi-release-5.rpm epel-release-latest-5.noarch.rpmwget https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpmwget http://rpms.remirepo.net/enterprise/remi-release-5.rpmrpm -Uvh remi-release-5.rpm epel-release-latest-5.noarch.rpm

安装过程:

[root@86 ~]# ls /etc/yum.repos.d/backup            CentOS-Debuginfo.repo  CentOS-Vault.repoCentOS-Base.repo  CentOS-Media.repo      epel.repo[root@86 ~]# wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm--2017-02-01 16:43:32--  http://rpms.remirepo.net/enterprise/remi-release-6.rpmResolving rpms.remirepo.net... 195.154.241.117, 2001:bc8:33a1:100::1Connecting to rpms.remirepo.net|195.154.241.117|:80... connected.HTTP request sent, awaiting response... 200 OKLength: 8159 (8.0K) [application/x-rpm]Saving to: “remi-release-6.rpm”100%[======================================>] 8,159       28.9K/s   in 0.3s    2017-02-01 16:43:33 (28.9 KB/s) - “remi-release-6.rpm” saved [8159/8159][root@86 ~]# yum install remi-release-6.rpm Loaded plugins: securitySetting up Install ProcessExamining remi-release-6.rpm: remi-release-6.8-1.el6.remi.noarchMarking remi-release-6.rpm to be installedResolving Dependencies--> Running transaction check---> Package remi-release.noarch 0:6.8-1.el6.remi will be installed--> Processing Dependency: epel-release = 6 for package: remi-release-6.8-1.el6.remi.noarch--> Running transaction check---> Package epel-release.noarch 0:6-8 will be installed--> Finished Dependency ResolutionDependencies Resolved================================================================================ Package           Arch        Version               Repository            Size================================================================================Installing: remi-release      noarch      6.8-1.el6.remi        /remi-release-6      6.3 kInstalling for dependencies: epel-release      noarch      6-8                   epel                  14 kTransaction Summary================================================================================Install       2 Package(s)Total size: 21 kTotal download size: 14 kInstalled size: 28 kIs this ok [y/N]: yDownloading Packages:epel-release-6-8.noarch.rpm                              |  14 kB     00:00     Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionWarning: RPMDB altered outside of yum.  Installing : epel-release-6-8.noarch                                      1/2 warning: /etc/yum.repos.d/epel.repo created as /etc/yum.repos.d/epel.repo.rpmnew  Installing : remi-release-6.8-1.el6.remi.noarch                           2/2   Verifying  : epel-release-6-8.noarch                                      1/2   Verifying  : remi-release-6.8-1.el6.remi.noarch                           2/2 Installed:  remi-release.noarch 0:6.8-1.el6.remi                                          Dependency Installed:  epel-release.noarch 0:6-8                                                     Complete![root@86 ~]# ls /etc/yum.repos.d/backup                 CentOS-Media.repo  epel.repo.rpmnew   remi-php71.repoCentOS-Base.repo       CentOS-Vault.repo  epel-testing.repo  remi.repoCentOS-Debuginfo.repo  epel.repo          remi-php70.repo    remi-safe.repo

 

转载地址:http://kojkl.baihongyu.com/

你可能感兴趣的文章
一周最新示例代码回顾 (6/11 - 6/17)
查看>>
Windows Server 2003 SP2(32位) 中文版 下载地址 光盘整合方法
查看>>
[转]Linux下阅读源代码:(g)vim+Taglist+ctags
查看>>
修改linux终端命令行颜色
查看>>
删除map、list集合元素总结
查看>>
搭建hadoop1.2集群
查看>>
autotools入门笔记(一)
查看>>
Imagex用法
查看>>
问题集
查看>>
ios实例开发精品文章推荐(7.23)
查看>>
php编译错误Note that the MySQL client library is not bundled anymore或者cannot find mysql header file...
查看>>
Myeclipse--jBPM4.3插件
查看>>
[每日一题] 11gOCP 1z0-053 :2013-10-12 RESULT_CACHE在哪个池?.............................44
查看>>
Unity物理系统的触发器
查看>>
mysql慢查询日志相关参数
查看>>
项目中如果管理前端文件CSS和JS
查看>>
13 jsp include
查看>>
Nginx和PHP-FPM的启动、重启、停止脚本分享(转)
查看>>
如何拷贝CMD命令行文本到粘贴板
查看>>
Oracle数据库—— 存储过程与函数的创建
查看>>