Update PHP and MySQL on CentOS 5.3

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.




 
Subscribe in a reader


StumbleUpon  Toolbar


blog comments powered by Disqus

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.

Archives

Subscribe

Ads

Other Links