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

I am a developer with an 18-year career in the Information Technology sector. Over the last half-decade, I’ve dedicated myself to advancing my expertise in the realm of intelligent information systems with a Master of Science in Information Systems (MScIS) degree. Notably, I recently completed a substantial socio-technical study, examining the feasibility of implementing responsible AI (RAI) within the public sector. Prior to my role in the public service, I undertook diverse software development roles as a contractor, a team lead and providing valuable services to post-secondary institutions. My driving passion revolves around the convergence of technology and the law, with a particular focus on the capacity of ethical AI systems to shed light on critical issues.

You may also like...