Skip to main content

Migrate CentOS8 to Rocky Linux 8


 

The following steps will migrate your CentOS8 server to Rocky Linux 8.


dnf -y install wget
chmod a+x migrate2rocky.sh
./migrate2rocky.sh -r

rm -rf /etc/yum.repos.d/backups /etc/yum.repos.d/CentOS-Linux-AppStream.repo.rpmsave /etc/yum.repos.d/CentOS-Linux-BaseOS.repo.rpmsave

sync && init 6
 


That's it.



Comments