3 ms·
"Red Hat can now convert an installed CentOS or Oracle Linux to RHEL" Apologies if a dumb question, but I assumed CentOS 8 was a clone of RHEL 8. What would ch
by paul_f 6y ago
"Red Hat can now convert an installed CentOS or Oracle Linux to RHEL"
Apologies if a dumb question, but I assumed CentOS 8 was a clone of RHEL 8. What would change?
- chasil 6y agoWhen running "yum update" the packages are pulled from the registered repository, found in the /etc/yum.repos.d directory. When switching the provider of package updates, the old repository must be disabled, and a new one substituted, among other changes that the new provider requires to switch support. Oracle makes (by default) modest changes for such a switch. Red Hat essentially rewrites your whole operating system, and has added a warning that consultants should be retained for such conversions in case of trouble.
- jlgaddis 6y agoTake a look at Oracle's "CentOS to Oracle Linux" (and other similar) scripts to see how they work and what they do (sorry, I don't have a link handy as I'm on a mobile device at the moment). If memory serves, the process consists of, basically, installing the <distro>-release package for the "new" distro (which includes the files in the /etc/yum.repos.d/ (or whatever) directory that defines the package repositories), enabling the repositories it just added, disabling the "old" distribution's repositories, then running a "yum update" to replace the "old" distributions packages (including the kernel) with the (nearly identical) ones from the "new" distribution. After all that is done, you reboot the host so that the new kernel is loaded and that's pretty much it. Mostly out of curiosity, I tried out Oracle's "centos2ol.sh" (or something like that) script ~8 years ago on a new CentOS 6 VM I had set up for just that purpose and it was as easy as they claim that it is. I don't recall encountering any issues and I suspect that, by now, they've ran into most of the potential issues and have devised ways to resolve them automatically. Note that while CentOS 8 is a clone of RHEL 8, the CentOS packages are rebuilt versions of the RHEL ones. Most of them are built from the exact same source code but some packages do have minor changes made to them before they are rebuilt (for trademarks, etc.).