Upgrading CentOS 6 to 7

General support questions
Post Reply
DonSea
Posts: 1
Joined: 2019/01/09 17:09:24

Upgrading CentOS 6 to 7

Post by DonSea » 2019/01/09 17:15:33

Hello Guys,

I'm new using CentOS. In my new job, my boss asked me to upgrade CentOS from 6 to 7. I've read a lot of forums here and outside and there is different information related with this upgrade. Some people say that there is tool to make this upgrade but looks like is old and not working with latest versions.
Also I've found the following page with some steps: https://linuxacademy.com/blog/linux/cen ... -in-place/ but I'm not sure to follow this stems. Iv'e searched in several topics here, but I cannot found a clear answer or answer are too old.

Please, can you assist me with my question?

It is possible to upgrade CentOS from 6 to 7 without a fresh installation?

If yes, do you have a step by step site or any how to?

This is a critical server for my Company, so I don't want to brake it.

Thank you for your support an assistance.

Best,
SV.

User avatar
TrevorH
Forum Moderator
Posts: 24804
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Upgrading CentOS 6 to 7

Post by TrevorH » 2019/01/09 17:38:57

There is no upgrade from CentOS 6 to 7 at all. For a brief period around 7.0 time there was a vaguely working utility but it never worked very well and was prone to errors. Once 7.1 came along even that stopped working and has never worked since and never will.

The recommended approach is to reinstall in parallel and migrate your apps and services from old to new machines.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

dunch
Posts: 34
Joined: 2018/11/07 13:48:53
Location: Yorkshire

Re: Upgrading CentOS 6 to 7

Post by dunch » 2019/01/30 14:30:42

There is (or at least was) a RedHat utility for upgrading 6 to 7 that ran on the server edition only. It had some limitations, if couldn't handle EFI boot and couldn't upgrade the GUI but otherwise ran quite nicely. You will need a RedHat support contract to get hold of a copy.

User avatar
TrevorH
Forum Moderator
Posts: 24804
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Upgrading CentOS 6 to 7

Post by TrevorH » 2019/01/30 16:57:40

The RHEL version will not work with CentOS.

The withdrawn CentOS tool was based on the orginal RHEL version of that utility and had so many changes that the person who made it work then walked away saying "never again". And since then there have been no newer versions though several people have looked at it and then all has gone very quiet...
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

dunch
Posts: 34
Joined: 2018/11/07 13:48:53
Location: Yorkshire

Re: Upgrading CentOS 6 to 7

Post by dunch » 2019/01/31 09:00:35

I can confirm that the RedHat utility most definitely will work on CentOS, in my previous job I used it to update a couple of hundred machines. You do have to do some malarkey with the yum console to swap the centos-release rpm and redhat-release-server rpms first though.

Post Reply