GideonStuff

it beats a sharp stick in the eye

Migrating to CentOS Stream

December 08, 2020 — Gideon Mayhak

A short one to talk about moving my server to CentOS Stream. This is precipitated by the recent announcement that the traditional CentOS Linux releases that followed official RHEL releases will be going away by the end of next year as they focus on CentOS Stream that precedes RHEL releases.


Different strokes

I have a very basic server setup using Apache HTTP Server and not much else, so there aren't a lot of moving parts to worry about. I simply followed the steps in the FAQ, but I'll repeat them here.

Step-by-step

All that's needed is to install the Stream release package and sync with the new repo. Back everything up first! Then, as root or with sudo:

# dnf install centos-release-stream
# dnf distro-sync

Of course, you'll want to reboot if needed depending on which packages get replaced. For me, 273 packages were updated including the kernel (though some of these were just recent updates and not from Stream specifically). The FAQ also suggests checking the release file to make sure it worked:

# cat /etc/centos-release

That should report something like CentOS Stream release 8.

Lastly, I tend to run rpmconf -a after any package upgrade to see if there are new config file updates from the package maintainers that might clash with my own changes.


"My eye runs down with streams of water,
for the destruction of the daughter of my people."

Lamentations 3:48, WEB

Tags: how-to, server-info