首页 技术 正文
技术 2022年11月21日
0 收藏 829 点赞 3,337 浏览 881 个字

平时一般都是使用Ubuntu的,最近用起来Centos 发现软件安装方便不是很方便,   在安装过程中接触到了这么一个概念,  就是为yum 安装 扩展源,  这里下面要说的就是其中的  Remi  。

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

参考文章:

http://www.hello1010.com/remi

https://cnzhx.net/blog/remi-repository/

1.  在线安装

# CentOS 6 / RHEL 6
yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
# CentOS 7 / RHEL 7
yum install http://rpms.famillecollet.com/enterprise/remi-release-7.rpm2. 下载后安装:
下载:
centos 6:wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpmcentos 7:
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm安装:
rpm -ivh remi-release-7.rpm

Centos 中扩展  软件源  的安装       之     Remi      ( 为yum  扩展软件源 )

3.  更新源

yum update

Centos 中扩展  软件源  的安装       之     Remi      ( 为yum  扩展软件源 )

Centos 中扩展  软件源  的安装       之     Remi      ( 为yum  扩展软件源 )

remi   软件源  好像主要是安装 php  、 mysql  之类的软件:

http://www.hello1010.com/remi

安装或更新软件

安装php

yum --enablerepo=remi install php56

或升级php:

yum --enablerepo=remi-php55,remi update php*

升级mysql:

yum --enablerepo=remi-mysql,remi update mysql*

安装其他软件时,也可以通过启用 –enablerepo=remi 来安装

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:8,955
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,479
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,291
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,108
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,740
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,774