[CentOS] Crazy thought about upgrading to new major release

Tue Jun 6 19:45:51 UTC 2017
John R Pierce <pierce at hogranch.com>

On 6/6/2017 12:38 PM, Jerry Geis wrote:
> I have older systems out there that work fine, just for what ever reason
> would be great to upgrade from a C5 -> C7 (due to no longer supported) or
> C6 > C7 (for updated packages).
>
> Sounds like the upgrade tool is not quite an option...
> I was thinking...
>
> What would be wrong with any "easy" script that did the following:
>
> 1) Removed all packages with the --justdb option.
> 2) Import the RPM-GPG-KEY-CentOS-7
> 3) install the centos-release-7.3.1611 ... rpm
> 4) yum -y upgrade
> 5) yum groupinstall "GNOME Desktop"   (for example)
>
> and reboot of course.
>
> Does that have any chance or working and be valid?


the correct method is

1) backup all user files, databases, and settings.

2) clean install c7, configure required packages.

3) restore user files, databases, and settings.

or easier

1) install c7 on new server

2) move over all services, functionality, etc. one by one.


-- 
john r pierce, recycling bits in santa cruz