In this article describes about How to Migrate CentOS 8 to Stream. Open-source operating system CentOS Stream is being considered as a replacement for CentOS 8.
The “new CentOS” will follow in the footsteps of Fedora, which is an upstream source for Red Hat Enterprise Linux. As we know CentOS Linux 8 will reach its End of Life on 31-12-2021.
The CentOS Project has been recommended to migrate Stream 8, however, after December 2021 CentOS 8 machines will not receive any updates from the CentOS. Check the difference between Centos Linux and CentOS Stream
As part of the RHEL ecosystem, Red Hat will make CentOS Stream the major innovation hub. Until 2024 CentOS Linux 7 will receive maintenance updates until its maintenance ends.
Migrate CentOS 8 to Stream:
- Take a snapshot /backup of your machine.
- Keep a minimum 300 MB of free space available on root.
- Remove if any mounted packages are existing in /mnt.
- Save configuration details for routes (route -n) & IP addresses (ip a).
- There must be a proxy connection.
- Minimum CentOS 7 must be running.
- If any version lock exists, remove it by running yum versionlock clear
Step1: check the OS version, kernel version, and enabled repo list.
Step2: Make ensure that the extras repository should be in active mode.
Step3: Run the below command to install centos release package
dnf install centos-release-stream
Step4: Now you can see CentOS-Stream Repos are rolled out.
Step5: By swapping the repository files it will remove the CentOS 8 repos with help of
dnf swap centos-{linux,stream}-repos.
Step 6: Below is the output with stream cents OS stream repos
Step 7: By using below command, we can synchronize all components to the latest version. In this process all existing packages will be upgrades and downgrades.
dnf distro-sync
Step 8: Now verify CentOS Stream version as shown below.
From above picture we can see centos stream repository are visible.
Successfully completed Migrate CentOS 8 to Stream procedure.
→ At step:7 On my machine, there was an issue with the Corosync package update. However, I bypassed it, and the issue was resolved.
On November 30th, 2020, CentOS 6 was reached its end-of-life (EOL), use upgradation to Centos 7 link for upgradation.
CentOS Stream 9:
In the near future, RHEL will look like CentOS Stream. Based on Fedora 34, CentOS Stream 9 contains the same code base as RHEL 9. In order to develop CentOS 9 Stream, Fedora 34 was used, which was based on the same code as RHEL 9. Red Hat pushes new packages into CentOS Stream and the nightly build of RHEL as they are updated, pass the rigorous testing, and meet the stability standards. This means that CentOS stream uses Fedora’s stable version, which will eventually make its way into RHEL’s future releases
Conclusion:
Thanks for your time, leave a comment if you have any queries about Migrate CentOS 8 to Stream. In this post, we have covered the essential information about CentOS Stream, including its introduction, advantages, and comparison with CentOS.