Rocky Linux 8 is one to one RHEL binary compatible Linux OS, its latest stable release 8.4 has been released. Thus, if you want to migrate from CentOS 8 to Rocky Linux, then here is the tutorial using the official migrate2rocky script.
Steps to migrate CentOS 8 to Rocky Linux 8
Before performing the below CentOS 8 to Rocky migration commands, make sure you have a backup for your system. Because many times few applications might not work after migration, thus, it would be a wise idea to take a full system snapshot.
1. Run system update & upgrade
The first thing we have to perform is to ensure that all the packages installed on our existing CentOS 8 are up to date and have their latest version. For this run the system update and upgrade command using DNF package manager.
2. Migrate CentOS to Rocky using Script
Rocky developers have created a script called migrate2rocky available on the Github page of this Linux. Let’s download it on the existing CentOS system that we want to convert.
3. Change Script Permission
Change the permission of the downloaded script, so that we can execute it on our Linux operating system.
4. Execute Script
The script will automatically change the CentOS 8 Linux repositories, GPG keys, logo, and other things to Rocky Linux. It may take some time depending upon your existing system size.
Once the migration is completed, you will get:
Now, sync the command and then simply reboot your system.
5. Verify & Check OS Version
To confirm you have successfully migrated to Rocky Linux, let’s check the OS version.
Category: Linux
Comments (0)
Log in or register to leave a comment.
No comments yet. Be the first to comment!