Update PHP and MySQL on CentOS 5.3

| No Comments | No TrackBacks

I have a VPS server. The OS is CentOS 5.3 (final)
It is running very well. Because I like to keep software updated. So I use yum command to update it.

It told me nothing to update. OK.

PHP 5.2.6 and MySQL 5.0.77 installed on CentOS 5.3

To keep it update, I have to add repository.

Let me describe the steps.

1) SSH to the server

2) Run following command

#rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
#vi /etc/yum.repos.d/utterramblings.repo

3) Add following content into the 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

4) Save and run following command to do the update.

#yum update php
#yum update mysql

The results are php to 5.2.11 and mysql to 5.0.84.

I took above method from
bingu. Thanks my friend.

No TrackBacks

TrackBack URL: http://www.yinfor.com/mtcgi/mt-t-0916.cgi/2422

Leave a comment

About this Entry

This page contains a single entry by David Yin published on September 24, 2009 1:22 AM.

Website Directory for you was the previous entry in this blog.

See Through is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.31-en

Subscribe

Online Tools

Code Convertor