Site icon CentLinux

How to migrate CentOS 8 to Stream

Share on Social Media

Learn how to seamlessly migrate CentOS 8 to Stream with our step-by-step guide. Ensure a smooth transition and keep your server up-to-date with the latest innovations. #centlinux #linux #centos

What is CentOS Stream?

CentOS Linux 8, as a rebuild of RHEL 8, will end at the end of 2021. It is recently announced by Red Hat. CentOS Stream continues after that date, serving as the upstream (development) branch of Red Hat Enterprise Linux.

Additionally, support for CentOS Linux 8 has been cut short, from May 31, 2029 to December 31, 2021.

When Linux support ends, your best option will be to upgrade CentOS 8 to Stream, which is a small delta and has regular updates like traditional CentOS Linux releases.

Although the Linux Community is not quiet happy with the Red Hat decision. They have initiated a new project named Rocky Linux, that aims to function as a downstream build just as CentOS had done previously, building releases after they have been added to the upstream vendor, not before. There is not currently an ETA for Rocky Linux release. Let’s see if it meets the Linux user expectations.

Right now, the best option for Linux users is to Migrate CentOS 8 to Stream.

CentOS Stream 8 Features

CentOS Stream, positioned as a rolling-release distribution that tracks just ahead of Red Hat Enterprise Linux (RHEL), offers several key features that make it a valuable choice for developers and enterprises:

  1. Continuous Updates: Unlike traditional CentOS, which receives periodic updates, CentOS Stream gets continuous updates and improvements. This means you’ll always have access to the latest features and fixes.
  2. Proactive Development: CentOS Stream serves as a development preview for the next minor release of RHEL. It allows developers to see and work with what will be included in the next version of RHEL, facilitating proactive development and testing.
  3. Community Involvement: With CentOS Stream, the community has a more direct influence on the development process. Contributions and feedback from users can shape the direction of the platform.
  4. Rolling Releases: CentOS Stream operates on a rolling release model, providing a constantly updating platform that evolves incrementally. This ensures systems remain current with the latest enhancements without waiting for major version releases.
  5. Enhanced Stability and Security: While being a rolling release, CentOS Stream aims to maintain the stability and security standards expected from a CentOS distribution, making it suitable for both development and production environments.
  6. Compatibility with RHEL: CentOS Stream maintains close compatibility with RHEL, making it a suitable choice for developers and businesses that rely on RHEL’s ecosystem. It’s particularly useful for those looking to test applications and workloads before deploying them on RHEL.
  7. Developer Friendly: It provides a robust environment for developers looking to build and test their applications on a platform that closely mirrors the upcoming RHEL versions.

By leveraging these features, CentOS Stream users can stay at the forefront of enterprise Linux development, ensuring their systems and applications are always aligned with the latest advancements and industry standards.

Recommended Book: Practical Guide to Linux Commands, Editors, and Shell Programming (PAID LINK) by Mark Sobell & Matthew Helmke
Recommended Online Training: Learn Bash Shell in Linux for Beginners

Migrate CentOS 8 to Stream

Connect with your Linux server as root user by using a ssh client.

Check the version of your current Linux operating system.

# cat /etc/centos-release
CentOS Linux release 8.3.2011

We are currently using the CentOS 8.3, the output may vary on your Linux server.

Build cache for installed yum repositories.

# dnf makecache

Install centos-release-stream package by using dnf command.

# dnf install -y centos-release-stream

Now, replace the yum repositories of CentOS Linux with the CentOS Stream by executing following command.

# dnf swap -y centos-{linux,stream}-repos
Swap Yum Repositories 1
Swap Yum Repositories 2

Execute the following dnf command to upgrade and synchronize all software packages with CentOS Stream distro in your Linux server.

# dnf -y distro-sync
Synchronize Packages with CentOS Stream 8 Repo

Your Linux server has been upgraded to CentOS Stream.

Check the version of your Linux server now.

# cat /etc/centos-release
CentOS Stream release 8

Final Thoughts

Migrate CentOS 8 to Stream can be a straightforward process with the right guidance. By following the steps outlined in this guide, you can ensure a smooth and efficient transition, keeping your system updated with the latest innovations and improvements from the CentOS community.

If you need further assistance or prefer to have an expert handle the migration for you, check out my Fiverr gig here. I offer professional migration services to ensure your system is transitioned seamlessly and securely. Let’s keep your servers running smoothly and up-to-date!

Exit mobile version