Upgrading CentOS 6 to 7 or 8

General support questions
Post Reply
rgoldman
Posts: 9
Joined: 2020/01/28 21:29:00

Upgrading CentOS 6 to 7 or 8

Post by rgoldman » 2020/01/28 21:30:36

Hello

Is there an upgrade path to CentOS 7/8 from CentOS 6? What are you doing in these cases?

Thanks

User avatar
TrevorH
Site Admin
Posts: 33242
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Upgrading CentOS 6 to 7 or 8

Post by TrevorH » 2020/01/28 22:08:54

There is no upgrade from one major version to another. It's a reinstall. Everything is significantly different in each new version, usually encompassing about 4 years worth of Fedora changes in one lump.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4540
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Upgrading CentOS 6 to 7 or 8

Post by jlehtone » 2020/01/29 21:25:45

rgoldman wrote:
2020/01/28 21:30:36
What are you doing in these cases?
A separate test install first, for example into VM, to study and learn how the new version is to be configured and used.

Furthermore, I often install to separate partition so that I can dual boot or at least mount the root(s) of the previous versions to access older config(s).

For "real production", kickstart installations followed by ansible deploying and maintaining additional config. It might take some iterations at staging to get that right, but eventually reinstalling ten or thousand nodes makes no difference.

Post Reply