How to Convert CentOS 8 to Rocky Linux
You can convert your remote VPS or Dedicated Server running CentOS 8 to Rocky Linux easily by running the following commands.
Install wget and tmux packages.
dnf install wget tmux
Next, start a tmux session, so in case you get disconnected from the remote server, you can connect back
tmux
Now download migration script
wget https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2rocky/migrate2rocky.sh
Now verify your system can be converted with command
bash migrate2rocky.sh -V
If all is good, you can convert CentOS 8 to Rocky Linux with the command
bash migrate2rocky.sh -r