Upgrade CentOS 5.x to CentOS 6.x - tips and techniques

Now that CentOS 6.0 is making its way to the various mirror sites, I wanted to solicit opinions on the upgrade process. In working with the commercial RedHat 5.6 and 6.x distributions for the past few months, I've been relying on a fresh install instead of an in-place upgrade for my test systems.

Since the real CentOS 6 release is here, is anyone planning on performing the migration in-place? Are there any situations where it makes sense? If so, what are the pitfalls of an in-place update?


Solution 1:

We recommend everyone run through a reinstall rather than attempt an inplace upgrade from CentOS-4 or CentOS-5!

Source: http://lists.centos.org/pipermail/centos-announce/2011-July/017645.html

You can run this upgrade centos6 just by using yum upgrade --enablerepo=centosplus.

Do not forget: each system running centos is individual (!). I recommend you to test this upgrade on a virtual machine before upgrading (i did so!). Of course, this process may takes some hours. I've upgraded several internal systems virtually today and monitoring them right now. regards, msec.