CentOS Alternatives

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!

Alaric Bird

Alaric Bird is a seasoned Linux System Administrator with over a decade of experience in managing and optimizing Linux-based servers and infrastructure. Known for his expertise in server deployment, security hardening, and performance tuning, Alaric has a deep understanding of various Linux distributions, including Ubuntu, CentOS, and Red Hat Enterprise Linux. His skills extend to cloud platforms like AWS, where he effectively manages virtual private servers and services. Alaric is also proficient in scripting languages such as Bash and Python, which he uses to automate routine tasks, enhancing efficiency and reliability. With a strong commitment to continuous learning, he stays updated with the latest developments in open-source technologies and best practices. His problem-solving abilities, combined with excellent communication skills, make him a valuable asset to any IT team. In addition to his technical expertise, Alaric is passionate about mentoring junior administrators and fostering a collaborative environment.

Share
Published by
Alaric Bird

Recent Posts

Puppy Linux: Fast and Simple OS

Puppy Linux is a fast, lightweight OS designed for speed and simplicity, perfect for old…

2 days ago

Change Apache Document Root in Linux

Learn how to change Apache document root in Linux by following this step-by-step guide. Adjust…

2 weeks ago

How to Change Apache Port in Linux

Discover how to change Apache port in Linux easily. Follow our simple guide to modify…

2 weeks ago

How to Create Virtual Host in Apache Server

Learn how to create a virtual host in Apache Server with this comprehensive guide. Set…

3 weeks ago

10 Practical Tasks for RHCSA Exam with Solutions

Discover 10 practical tasks for the RHCSA exam with step-by-step solutions. Boost your Linux skills…

3 weeks ago

Ultimate Fail2ban Configuration Guide

Discover the ultimate Fail2ban configuration guide. Learn how to set up, customize, and optimize Fail2ban…

4 weeks ago

This website uses cookies.