Friday, March 20, 2009

Using CentOS 5 testing repositories

CentOS does make a good Linux distro. Still users will want stuff that is still in the pipeline or testing.

One good example is that CentOS 5.2 comes with PHP 5.1. However many web developers have moved to PHP 5.2 and this is available in the testing repo. Below is one command to upgrade the existing PHP.

Step 1: Switch to root.

Step 2: Add the testing repo
# cd /etc/yum.repos.d
# wget

This will containg the following:
name=CentOS-5 Testing

Step 3: Update PHP.
yum --en=c5-testing update php*

No comments:

Blog Archive