Upgrade CentOS 6.X to CentOS 8.

General support questions
Post Reply
hack3rcon
Posts: 734
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: 3335
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: 734
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
Forum Moderator
Posts: 30314
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.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

hack3rcon
Posts: 734
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

Return to “CentOS 6 - General Support”