Difference between revisions of "Migrate Centos8 Strean into Alma Linux8"
Jump to navigation
Jump to search
(Created page with "=Intro= In many forums I found the information, that the EOL of CentOS8 Stream needs a reinstall and can't get ugpraded or migrated into newer releases.<br> Since the repos ha...") |
(No difference)
|
Revision as of 07:42, 15 March 2022
1 Intro
In many forums I found the information, that the EOL of CentOS8 Stream needs a reinstall and can't get ugpraded or migrated into newer releases.
Since the repos have been removed, you need to switch to the vault repos to install any software in an old CentOS 8 Stream OS.
1.1 Switch to Vault Repos
find /etc/yum.repos.d -type f -exec sed -i 's/mirrorlist=http:\/\/mirrorlist.centos.org/\#mirrorlist=http:\/\/mirrorlist.centos.org/g' {} \; find /etc/yum.repos.d -type f -exec sed -i 's/\#baseurl=http:\/\/mirror.centos.org/baseurl=http:\/\/vault.centos.org/g' {} \; dnf update -y reboot dnf swap centos-linux-repos centos-stream-repos -y dnf update -y reboot
1.2 Upgrade to Alma Linux 8
I migrated several Stream8 OS into Alma and never run into problems.
dnf install git -y cd /tmp git clone https://github.com/rocky-linux/rocky-tools.git chmod +x /tmp/rocky-tools/migrate2rocky/migrate2rocky.sh bash /tmp/rocky-tools/migrate2rocky/migrate2rocky.sh -r reboot