Migrating from RHEL 5.x to 6.x

Since Redhat doesn’t provide an upgrade path from 5.x to 6.x, it requires creating a new instance and porting everything over.

Unlike how a sys admin might feel, configuring servers from scratch is not fun for me. But I accept server administration as a necessary set of skills; it is not my passion and I’d rather get back to writing code.

While I don’t recommend copying all these commands verbatim, there are bound to be similarities between our set ups which will save you time so, like me, you can get back to writing code.

I was migrating from RHEL 5.10 to RHEL 6.5.

Once you’ve created your fresh install of RHEL 6.x, you can follow as much or as little of these next steps as is useful:


Now you should be ready to pull your files over from the `old server` to the new server. Preserving file permissions were important to me, so I implemented the following command from the new server:

sudo rsync -azvu username@oldserver.ca:/var/www/html/ /var/www/html/


Brad Payne is currently the lead developer for the Open Textbook Project whose work focuses on open source software using PHP (LAMP). When not contributing to other developers’ projects on github, he builds his own. Through exploiting API’s and with a penchant for design patterns, he helps BCcampus implement new technologies for post-secondary institutions. Prior to his current position at BCcampus, Brad worked in IT at Camosun College and the BC Ministry of Education.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *