Upgrade CentOS 6.X to CentOS 8.

General support questions
Post Reply
hack3rcon
Posts: 757
Joined: 2014/11/24 11:04:37

Upgrade CentOS 6.X to CentOS 8.

Post by hack3rcon » 2021/01/29 17:34:15

Hello,
A web server using CentOS 6.X and I want to upgrade it to CentOS 8. If I change the address of repositories, then is it enough?
I must upgrade to 7.X then to 8?

Thank you.

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

Re: Upgrade CentOS 6.X to CentOS 8.

Post by jlehtone » 2021/01/29 18:11:09

hack3rcon wrote:
2021/01/29 17:34:15
If I change the address of repositories, then is it enough?
No. Never try those tricks.

You have two things: OS and website content.
1. Install new OS
2. Transfer website content to the new system
hack3rcon wrote:
2021/01/29 17:34:15
I must upgrade to 7.X then to 8?
As already said: there is no "upgrade" from one CentOS Linux major version to other. Always a fresh install.


PS. If you mean CentOS Linux 8 with the "CentOS 8", then you should have noticed that CentOS Linux 8 will be dead at the end of this year. Consider some other OS.

hack3rcon
Posts: 757
Joined: 2014/11/24 11:04:37

Re: Upgrade CentOS 6.X to CentOS 8.

Post by hack3rcon » 2021/01/29 19:46:57

For a big website!!!!
Why not that trick?

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

Re: Upgrade CentOS 6.X to CentOS 8.

Post by TrevorH » 2021/01/29 22:21:34

Because it will break. And it's explicitly unsupported and if you try it and it breaks (which it will) then you get to keep all of the pieces.
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

hack3rcon
Posts: 757
Joined: 2014/11/24 11:04:37

Re: Upgrade CentOS 6.X to CentOS 8.

Post by hack3rcon » 2021/02/18 12:52:36

Thank you.

Post Reply