centos添加yum官方repo源,安装,升级php5.2.x

转载 2012年03月27日 19:18:17

[root@QA-Server ~]# rpm –import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

[root@QA-Server ~]# vim /etc/yum.repos.d/utterramblings.repo

[utterramblings]
name=Jason’s Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

[root@QA-Server ~]# yum update php

Loading “fastestmirror” plugin
Determining fastest mirrors
* utterramblings: www.jasonlitka.com
* extras: mirror.be10.com
* updates: centos.candishosting.com.cn
* base: ftp.daum.net
* addons: mirror.be10.com
utterramblings 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 60 kB 00:00
utterrambl: ################################################## 230/230
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 140 kB 00:17
updates : ################################################## 353/353
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
Setting up Update Process
Resolving Dependencies
–> Running transaction check
—> Package php.i386 0:5.2.16-jason.1 set to be updated
–> Processing Dependency: php-common = 5.2.16-jason.1 for package: php
–> Processing Dependency: php-cli = 5.2.16-jason.1 for package: php
–> Processing Dependency: php = 5.1.6-20.el5_2.1 for package: php-devel
–> Running transaction check
—> Package php-devel.i386 0:5.2.16-jason.1 set to be updated
—> Package php-cli.i386 0:5.2.16-jason.1 set to be updated
—> Package php-common.i386 0:5.2.16-jason.1 set to be updated
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-odbc
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-pgsql
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-gd
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-snmp
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-bcmath
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-imap
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-pdo
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-dba
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-mysql
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-mbstring
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-ldap
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-soap
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-xml
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-ncurses
–> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-xmlrpc
–> Running transaction check
—> Package php-imap.i386 0:5.2.16-jason.1 set to be updated
—> Package php-mbstring.i386 0:5.2.16-jason.1 set to be updated
—> Package php-snmp.i386 0:5.2.16-jason.1 set to be updated
—> Package php-soap.i386 0:5.2.16-jason.1 set to be updated
—> Package php-pdo.i386 0:5.2.16-jason.1 set to be updated
—> Package php-pgsql.i386 0:5.2.16-jason.1 set to be updated
—> Package php-ldap.i386 0:5.2.16-jason.1 set to be updated
—> Package php-mysql.i386 0:5.2.16-jason.1 set to be updated
—> Package php-gd.i386 0:5.2.16-jason.1 set to be updated
—> Package php-xmlrpc.i386 0:5.2.16-jason.1 set to be updated
—> Package php-odbc.i386 0:5.2.16-jason.1 set to be updated
—> Package php-dba.i386 0:5.2.16-jason.1 set to be updated
—> Package php-bcmath.i386 0:5.2.16-jason.1 set to be updated
—> Package php-xml.i386 0:5.2.16-jason.1 set to be updated
—> Package php-ncurses.i386 0:5.2.16-jason.1 set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
php i386 5.2.16-jason.1 utterramblings 3.7 M
php-cli i386 5.2.16-jason.1 utterramblings 2.6 M
php-common i386 5.2.16-jason.1 utterramblings 481 k
Updating for dependencies:
php-bcmath i386 5.2.16-jason.1 utterramblings 64 k
php-dba i386 5.2.16-jason.1 utterramblings 123 k
php-devel i386 5.2.16-jason.1 utterramblings 568 k
php-gd i386 5.2.16-jason.1 utterramblings 320 k
php-imap i386 5.2.16-jason.1 utterramblings 104 k
php-ldap i386 5.2.16-jason.1 utterramblings 56 k
php-mbstring i386 5.2.16-jason.1 utterramblings 1.3 M
php-mysql i386 5.2.16-jason.1 utterramblings 258 k
php-ncurses i386 5.2.16-jason.1 utterramblings 73 k
php-odbc i386 5.2.16-jason.1 utterramblings 112 k
php-pdo i386 5.2.16-jason.1 utterramblings 159 k
php-pgsql i386 5.2.16-jason.1 utterramblings 153 k
php-snmp i386 5.2.16-jason.1 utterramblings 42 k
php-soap i386 5.2.16-jason.1 utterramblings 342 k
php-xml i386 5.2.16-jason.1 utterramblings 316 k
php-xmlrpc i386 5.2.16-jason.1 utterramblings 130 k

Transaction Summary
=============================================================================
Install 0 Package(s)
Update 19 Package(s)
Remove 0 Package(s)

Total download size: 11 M
Is this ok [y/N]: y
Downloading Packages:
(1/19): php-ncurses-5.2.16 100% |=========================| 73 kB 00:00
(2/19): php-xml-5.2.16-jas 100% |=========================| 316 kB 00:01
(3/19): php-5.2.16-jason.1 100% |=========================| 3.7 MB 00:14
(4/19): php-cli-5.2.16-jas 100% |=========================| 2.6 MB 00:14
(5/19): php-bcmath-5.2.16- 100% |=========================| 64 kB 00:12
(6/19): php-dba-5.2.16-jas 100% |=========================| 123 kB 00:14
(7/19): php-odbc-5.2.16-ja 100% |=========================| 112 kB 00:08
(8/19): php-xmlrpc-5.2.16- 100% |=========================| 130 kB 00:11
(9/19): php-gd-5.2.16-jaso 100% |=========================| 320 kB 00:35
(10/19): php-common-5.2.16 100% |=========================| 481 kB 00:43
(11/19): php-mysql-5.2.16- 100% |=========================| 258 kB 00:22
(12/19): php-ldap-5.2.16-j 100% |=========================| 56 kB 00:04
(13/19): php-pgsql-5.2.16- 100% |=========================| 153 kB 00:19
(14/19): php-pdo-5.2.16-ja 60% |=============== | 96 kB 00:06 ETA

Linux系统CentOS使用yum方式安装指定版本的PHP 添加yum源 从PHP5.3升级到5.4/5.5/5.6

默认的版本太低了,手动安装有一些麻烦,想采用Yum安装的可以使用下面的方案: 首先删除旧版本的PHP, 通过yum list installed | grep php可以查看所有已安装的php软件...
  • yfgcq
  • yfgcq
  • 2015年12月02日 19:12
  • 8407

centos添加yum官方repo源,安装,升级php5.2.x

CentOS为yum添加官方源由于centos5.4安装好后通过yum来安装php的版本是5.1.6,现在很多站点都是在5.2.x上开发的,所以我们要添加其他的yum repo 来安装Php5.2.x...
  • gunnerjason
  • gunnerjason
  • 2011年03月10日 18:22
  • 9250

centos添加yum官方repo源,安装,升级php5.2.x

CentOS为yum添加官方源 由于centos5.4安装好后通过yum来安装php的版本是5.1.6,现在很多站点都是在5.2.x上开发的,所以我们要添加其他的yum repo  来安装Php5...
  • lampsunny
  • lampsunny
  • 2011年03月29日 10:33
  • 723

centos通过添加chrome源来安装chrome

在google网站下载chrome速度很慢,但是添加了chrome的源之后,就可以在终端通过yum install 来安装chrome了,会快很多。 首先在/etc/yum.repos.d里建立一个...
  • liansehai
  • liansehai
  • 2015年01月22日 22:51
  • 2308

CentOS7.1 更新 repo 源 镜像使用帮助

cd /etc/yum.repos.d/ mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.back...
  • AresGod
  • AresGod
  • 2016年01月01日 22:09
  • 7466

centos上自制repo源来安装指定版本的rpm包

为了统一规划和管理,一般都期望在各服务器上使用相同的软件版本来部署服务。直接使用通用的镜像源(如阿里、163的),安装的都是当前最新版的软件包,这样就会因为软件包的升级而导致安装的版本不一样。例如do...
  • felix_yujing
  • felix_yujing
  • 2016年12月08日 21:33
  • 2402

Centos安装完成后添加第三方源

添加第三方源Centos作为REDHAT的社区版本,本身追求稳定性。因此,官方源中自带的软件并不多,添加一些第三方的源对我们以后安装一些软件非常方便。常用的有 EPEL、ATrpms、ELRepo、N...
  • DEL5202587
  • DEL5202587
  • 2017年09月14日 09:16
  • 628

Centos更新yum源

1 先查看系统版本 lsb_release -a        如 CentOS 7 2 国内知名开源镜像站点   阿里巴巴开源镜像   http://mirrors.aliyun.c...
  • u010094934
  • u010094934
  • 2016年11月17日 23:26
  • 3673

CentOS7创建本地YUM源的三种方法

这篇文章主要介绍了CentOS7创建本地YUM源的三种方法,本文讲解了使用CentOS光盘作为本地yum源、如何为CentOS创建公共镜像、创建完全自定义的本地源等内容,需要的朋友可以参考下 ...
  • qq_32835907
  • qq_32835907
  • 2017年03月30日 17:02
  • 1325

centos7安装docker最新版

1. 加入docker的安装源: vim /etc/yum.repos.d/docker.repo [dockerrepo] name=Docker  Repository baseurl=https...
  • yuanchao99
  • yuanchao99
  • 2016年05月16日 10:42
  • 6420
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:centos添加yum官方repo源,安装,升级php5.2.x
举报原因:
原因补充:

(最多只允许输入30个字)