CentOS 8 Stream

2 mins

V6 ProV6 MSPV6 Core

Overview

Red Hat develops the Red Hat Enterprise Linux(RHEL) source code in CentOS Stream before releasing the newer versions. It is considered to be upstream of the stable RHEL releases, so technically a development environment. How careful should you be before starting the update? Is it safe? To be honest, we can't tell you "Oh do it, it'll be just alright" in confidence. A lot of moving parts contribute to the stability of a system. You need to make that call

ℹ️ rConfig 6 will support CentoS 8 Stream. But we prefer if you use Rocky or RHEL

The idea is simple. To convert, you need to add Stream's repos, and remove the existing ones.

Fortunately, you don't have to do all that manually. There is a handy tool provided by the CentOS team for this purpose.

###Step 1: Install the repo files Install the package centos-release-stream. This contains all the repo files that are needed.

dnf --disablerepo '*' --enablerepo extras swap centos-linux-repos centos-stream-repos

###Step 2: Update the system Update the system or the packages to be specific, by running the distro-sync command. Note: I needed to add the --allowerasing flag to the command.

dnf distro-sync -y

###Step 3: Reboot and double-check the installed version Now, reboot your server:

Reboot

After the system is booted successfully, verify the migration by checking the CentOS version. You can do that by reading the os-release file:

[root@li2029-76 ~]# cat /etc/centos-release
CentOS Stream release 8

Or, read the centos-release file:

[root@li2029-76 ~]# cat /etc/os-release
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"

⚠️ rConfig provides limited support for Operating Systems. Where the issue directly impacts rConfig operations, we help and get involved with the issue. The choice of OS, patching, security etc.. is your responsibility. The scripts and instructions provided by rConfig are for reference only.