导航

2011年8月23日

摘要: CentOS 5.5默认的是163的源,据说sohu的源很好用,今天小试了下。1、修改yum配置文件,更改为sohu源# cd /etc/yum.repos.d/ # cp CentOS-Base.repo CentOS-Base.repo.bak清空CentOS-Base.repo文件内容,替换为以下内容:# CentOS-Base.repo # # This file uses a new mirrorlist system developed by Lance Davis for CentOS. # The mirror system uses the connecting IP add 阅读全文

posted @ 2011-08-23 18:29 C'est la vie 阅读(641) 评论(0) 推荐(0) 编辑

摘要: CentOS5.5使用yum安装了php环境后,发现是php4.x版本,使用最新的phpMyAdmin提示“PHP 5.2+ is required”,是由于php版本过低,需要PHP5.2以上版本,那么就需要更新下php直接使用yum update php,提示无可用更新,看来需要更换源了先导入key,添加额外源# rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka修改utterramblings.repo# vim /etc/yum.repos.d/utterramblings.repo里面加入内容如下:[utt. 阅读全文

posted @ 2011-08-23 13:16 C'est la vie 阅读(2017) 评论(0) 推荐(0) 编辑