If you want to update Linux CentOs from version 5.2 or 5.1.6 to 5.5
First we chek what is the versoin of our CentOs installation with this command:
lsb_release -a
This is for our information:
Then we import the public
rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
The next step is create the repository file:
vi /etc/yum.repos.d/utterramblings.repo
To operta with vi command we will press i key and the paste this
[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
Once we past this text we press ESC key and put :wq! to save the file.
The next sttep is remove a dependency that will give an error to the update.
yum remove php-sqlite2
and finally we do the magic commad, that will update all the system:
yum update
And in 5 minuts we will have our system updateD:
We can check the version of the system with this command:
lsb_release -a
And in out scree we have an output like this:
[root@XXXXXX ~]# lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.5 (Final) Release: 5.5 Codename: Final
and thats all!!
