Upgrade to CentOS 5.11 from CentOS 5.10 (5.9, 5.8, 5.7, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0) - Comment Page: 1
This is quick guide, howto upgrade to CentOS 5.11 from CentOS 5.10 (5.9, 5.8, 5.7, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0). 1. Change to root User su - ## OR ## sudo -i 2. Backup all important data Backup /etc diretory Backup important logs /var/log Backup web server configs and sites Dump MySQL databases Dump PostgreSQL databases Backup all what you need if something goes wrong [inttf_post_ad1] 3. Check list of packages that are going to be updated yum list updates 4. Upgrade with yum update Official way to do upgrade: yum update Another way to do update is first clean all, second update glibc, yum, rpm and python...
20 comments on “Upgrade to CentOS 5.11 from CentOS 5.10 (5.9, 5.8, 5.7, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0) - Comment Page: 1”1 2 Next »
[…] Desktop with OpenOffice.org 3.1.1 » Install CentOS 5.5 with NetInstall Guide » Upgrade to CentOS 5.5 From 5.4 (5.3, 5.2, 5.1, 5.0) Guide Related posts:Fedora 13 […]
[…] This post was mentioned on Twitter by Zuissi. Zuissi said: Upgrade to CentOS 5.5 from CentOS 5.4 (5.3, 5.2, 5.1, 5.0) – http://bit.ly/977FT8 #CentOS #Upgrade […]
[…] Upgrade to CentOS 5.5 from CentOS 5.4 (5.3, 5.2, 5.1, 5.0) […]
Thanks for the instructions. I just upgraded a fresh CentOS 5.3 install up to CentOS 5.5 final. I followed your instructions exactly and they worked perfectly.
I had been using Fedora before (way back on Fedora 7). I tried to upgrade through a few Fedora versions, but I decided it was time for the nightmare to end. It’s almost a shock that the same company that makes Fedora is really behind CentOS (Fedora = Beta, Redhat=Paid, CentOS=Free Redhat Clone w/out Support).
Anyway, thanks for the post. It worked like a charm.
I really liked your blog! It helped me alot…
Thanks for the help, it worked perfectly
Thanks for the instructions, they helped a lot , i’ll keep a bookmark to your blog incase anything changes for version 6. now i’ve just got to upgrade the php
Hi, I get this error;
[[email protected] ~]# lsb_release -a
-bash: lsb_release: command not found
What should I do to this?
Simply install redhat-lsb
Just done an upgrade from 5.3 to 5.4 using the above process (thanks! )
It won’t upgrade any further than 5.4. How do I get it to go to 5.5 or above? I’ve tried yum clean all, and repeating the above process, but it just says nothing to upgrade.
Very good information.
Thks a lot.
Thank you sir!
Very useful information, thank you.
useful information. Thank you.
Standard newbie excuse here. Does “yum update” update applications such as apache, php and mysql such that I might end up with compatability issues with my php webpages?
Additional question: when “yum list updates” for examples shows “php.i386 5.1.6-40.el5_9 updates” is that where I am now, our where I will be if the update suceeds?
Yes it’s of course possible, that updating applications like apache, php, mysql breaks your php code (this totally depends on your code). So it’s important to know are you updating php from 5.1 to 5.5 or are you updating just minor versions, like from 5.1.6 to 5.1.7 or even just some new build, like 5.1.6-37 to 5.1.6-40.
Yum list updates shows new version, but if you use following command:
Then you should see installed and available versions, so yum update your package from installed version to available version.
You can of course “pin” package versions (using /etc/yum.conf) or exclude some packages from upgrade process, if you want, but normally RHEL/CentOS 5 updates are important security updates.
If you need more help, feel free to ask.
Thank you for that clear explanation. My experience with computers has been that the chances of a failed upgrade is exponentially proportional to the number of modules times the number of revisions to go.
So does your experience indicate “yum update” from 5.2 to 5.9 has a good chance of success?
Sorry for the late reply, but I think you have a good change of success, when you upgrade from 5.2 to 5.9. You should of course backup your important stuff first.