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:

RSYNC

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

A few of my favourite things: Agile software development with the potential for significant social impact combined with responsible and appropriate use of data, machine learning algorithms and systems that support research and evidence based decision making.

You may also like...

Leave a Reply

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

*