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

. Enterprise Linux  (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-.rpm epel-release-latest-.noarch.rpm
# for RHEL only
subscription-manager repos --enable=rhel--server-optional-rpms 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-.rpm epel-release-latest-.noarch.rpm
# for RHEL only
subscription-manager repos --enable=rhel--server-optional-rpms . Enterprise Linux (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-.rpm epel-release-latest-.noarch.rpm
# for RHEL only
rhn-channel --add --channel=rhel-$(uname -i)-server-optional- 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-.rpm epel-release-latest-.noarch.rpm
# for RHEL only
rhn-channel --add --channel=rhel-$(uname -i)-server-optional- .Enterprise Linux (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-.rpm epel-release-latest-.noarch.rpm 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-.rpm epel-release-latest-.noarch.rpm

安装过程:

[root@ ~]# ls /etc/yum.repos.d/
backup CentOS-Debuginfo.repo CentOS-Vault.repo
CentOS-Base.repo CentOS-Media.repo epel.repo
[root@ ~]# wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm
---- ::-- http://rpms.remirepo.net/enterprise/remi-release-6.rpm
Resolving rpms.remirepo.net... 195.154.241.117, :bc8:33a1:::
Connecting to rpms.remirepo.net|195.154.241.117|:... connected.
HTTP request sent, awaiting response... OK
Length: (.0K) [application/x-rpm]
Saving to: “remi-release-.rpm” %[======================================>] , .9K/s in .3s -- :: (28.9 KB/s) - “remi-release-.rpm” saved [/] [root@ ~]# yum install remi-release-.rpm
Loaded plugins: security
Setting up Install Process
Examining remi-release-.rpm: remi-release-6.8-.el6.remi.noarch
Marking remi-release-.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package remi-release.noarch :6.8-.el6.remi will be installed
--> Processing Dependency: epel-release = for package: remi-release-6.8-.el6.remi.noarch
--> Running transaction check
---> Package epel-release.noarch :- will be installed
--> Finished Dependency Resolution Dependencies Resolved ================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
remi-release noarch 6.8-.el6.remi /remi-release- 6.3 k
Installing for dependencies:
epel-release noarch - epel k Transaction Summary
================================================================================
Install Package(s) Total size: k
Total download size: k
Installed size: k
Is this ok [y/N]: y
Downloading Packages:
epel-release--.noarch.rpm | kB :
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : epel-release--.noarch /
warning: /etc/yum.repos.d/epel.repo created as /etc/yum.repos.d/epel.repo.rpmnew
Installing : remi-release-6.8-.el6.remi.noarch /
Verifying : epel-release--.noarch /
Verifying : remi-release-6.8-.el6.remi.noarch / Installed:
remi-release.noarch :6.8-.el6.remi Dependency Installed:
epel-release.noarch :- Complete!
[root@ ~]# ls /etc/yum.repos.d/
backup CentOS-Media.repo epel.repo.rpmnew remi-php71.repo
CentOS-Base.repo CentOS-Vault.repo epel-testing.repo remi.repo
CentOS-Debuginfo.repo epel.repo remi-php70.repo remi-safe.repo

linux 最常用的yum源remi的更多相关文章

  1. 在CentOS 7上安装常用的YUM源

    参考地址:https://blog.csdn.net/u010048823/article/details/51298183 以epel源为例子,来讲解如何添加额外的YUM源. Extra Packa ...

  2. RedHat Linux RHEL6配置本地YUM源

    YUM是Yellow dog Updater Modified的简称,起初是由yellow dog这一发行版的开发者Terra Soft研发,用python写成,那时还叫做yup(yellow dog ...

  3. 在linux上搭建本地yum源

    准备yum仓库的光盘镜像IOS文件: 设置光驱加载本地磁盘的yum仓库的光盘镜像文件: 在linux的命令行输入setup命令打开设置窗口,选择"System Service": ...

  4. Linux虚拟机配置本地yum源

    刚开始使用Linux,自己构建了一个Linux虚拟机之后,在使用yum install的时候,经常是出错,提示连接不上. 一直以为是自己构建的虚拟机的问题,后来在网上查找了一些资料,才发现:需要配置本 ...

  5. 如何找到Linux下常用命令的源码

    Linux系统,常用命令的来源很多,有些命令是shell自带的,比如cd,通过执行help命令,可以查看当前系统所有的内置命令. 用type <cmd_name>来查看一个命令是否为内置命 ...

  6. linux下如何配置yum源

    first:挂载本地镜像文件(挂载:意为将某个文件放置在系统的一个目录下) mkdir     /media/cdrom  #新建镜像文件挂载目录 cd         /usr/local/src  ...

  7. Linux Redhat 安装免费yum源

    Linux Redhat 安装免费yum源 出处地址:http://www.cnblogs.com/nbartchen/p/8565816.html 1.查看是否安装相关包 rpm -qa|grep ...

  8. CentOS 6编译安装yum和配置常用的yum源

    安装环境:VPS,CentOS 6 + devel包 一.安装相应的软件 1.安装python 下载Python源码包 [root@akinlau ~]# wget http://www.python ...

  9. Linux配置国内的Yum源

    因为Linux默认的yum源是国外的源,所以会有卡顿,缓慢的情况.而国内的Yum源相对速度较快,现在也比较成熟,所以给Linux更换国内Yum源是一个很好的选择. 1.  备份(备份之前需要yum i ...

随机推荐

  1. C语言变量的声明位置

    标准C里面必须放在代码前面,否则出错: C++里面不一定要放在最前面,用的时候声明也不迟: 所以要看具体的编译环境,如果是C的话必须放在最前,C++就不用:一般.c后缀的是C文件,按C来编译:.cpp ...

  2. static 和 no static Member function学习

    以下是做实验的一段代码: #include <iostream> using namespace std; typedef void (*p)(); class Object { publ ...

  3. python线程详解

    #线程状态 #线程同步(锁)#多线程的优势在于可以同时运行多个任务,至少感觉起来是这样,但是当线程需要共享数据时,可能存在数据不同步的问题. #threading模块#常用方法:'''threadin ...

  4. 雪球、牛股王这种股票类App 到底能否帮你赚到钱?

    核心观点 股民这个大群体,是需要区分对待的:其中包含一小部分有自己独立判断能力的投资者和一大群没有自己判断能力(尽管他们经常觉得自己有)的普通散户. 当前的互联网证券类App,确实很难保证帮股民赚到钱 ...

  5. php开发中sql语句拼接示例(插入、查询、更新)

    1.插入语句 $sql="insert into Ad(AdClassID,AdType,AdTit,AdFileName,AdUrl,AShow,Addtime) values('&quo ...

  6. 深入PHP内核之全局变量

    在阅读PHP源码的时候,会遇到很多诸如:CG(),EG() ,PG(),FG()这样的宏,如果不了解这些宏的意义,会给理解源码造成很大困难 EG().这个宏可以用来访问符号表,函数,资源信息和常量 C ...

  7. HDUOJ----2487Ugly Windows

    Ugly Windows Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Tota ...

  8. Xcode8的调试技能Memory Graph 实战解决闭包引用循环问题

    Xcode8的调试技能又增加了一个黑科技:Memory Graph.简单的说就是可以在运行时将内存中的对象生成一张图. 那么通过一个实际项目来练习一下吧. 首先我们写了一个自定义UIView:MyVi ...

  9. iOS 9 适配中出现的坑

    整理 iOS 9 适配中出现的坑(图文) 2015-10-22 iOS开发 库克表示:“现在在中国有150多万的开发者在iOS当中开发应用程序,我们鼓励更多的人开发应用程序,也鼓励更多的创业加入.” ...

  10. ubuntu(14.04版本) 配置虚拟环境(一个ip对应多个域名)

    以下操作是建立在apahce安装成功的情况下 1.配置本地的host. 假设虚拟主机上的ip是:192.168.1.51,那么客户端本地的host可以配置成: