How to upgrade my image from CentOS 6.2 to CentOS 7?

Hi,

I have linode on CentOS6.2 image. I'd like to upgrade to CentOS 7, but I can't find the documentation for this upgrade. I found docs for Ubuntu from 14 to 16, but failed to find yum package with similar name 'update-manager-core'. Can someone point me to the documentation/direction on how to do it?

Thanks,

Yuantai

3 Replies

A major version upgrade (6 to 7) in CentOS requires a fresh installation.

Spin up a new Linode, install CentOS 7, copy over your data and configurations, test. When you're happy that all is working well, swap IPs between the old and new servers. Then cancel the old one.

Even with major releases for other Linux distributions, it's still heavily recommended to redeploy anyway and restore your data on your own.

@duyt1001,

I've done the same you're now aiming in the following way..

1 - backed Up all my data, including MySQL dump to my databases;

2 - resized my linode and created a new disk;

3 - created a new configuration profile for second disk and did a fresh install of CentOS 7;

At this time I can boot my Linode with CentOS 6.2 or CentOS 7… It meets my needs beautifully!

For steps 2 and 3, see here: https://www.linode.com/docs/migrate-to- … n-profiles">https://www.linode.com/docs/migrate-to-linode/disk-images/disk-images-and-configuration-profiles

For fresh install, just go thru the Getting Started Guide as it includes centOs7 install: https://www.linode.com/docs/getting-started

Hope it helps,

Cheers!

Virneto

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct