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.
1 |
dnf install wget tmux |
Next, start a tmux session, so in case you get disconnected from the remote server, you can connect back
1 |
tmux |
Now download migration script
1 |
wget https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2rocky/migrate2rocky.sh |
Now verify your system can be converted with command
1 |
bash migrate2rocky.sh -V |
If all is good, you can convert CentOS 8 to Rocky Linux with the command
1 |
bash migrate2rocky.sh -r |