CWP panel
How to Upgrade CentOS 8 to Stream
How to upgrade CentOS 8 Stream was actually much easier than I thought! It’s only a couple of commands, including changing the repo URL (since CentOS 8 is EOL). I found a blog post about how to update those URLs easily, so I’ll link that here.
Blog:
Commands (Run as root):
sed -i ‘s/mirrorlist/#mirrorlist/g’ /etc/yum.repos.d/CentOS-*
sed -i ‘s|#baseurl= /etc/yum.repos.d/CentOS-*
dnf install centos-release-stream
dnf swap centos-linux-repos centos-stream-reposwith Stream
dnf distro-sync //Execute the distribution sync
reboot
To check that it was successful:
cat /etc/centos-release
#CentOS
source
To see the full content, share this page by clicking one of the buttons below |