Jump to content

does it possible to Migrating from CentOS7 to AlmaLinux9 (same server) without installing to new server

Featured Replies

Posted
comment_1193

Hi, dear Master please guide me on does it possible to Migrating from CentOS7 to AlmaLinux9 (same server) without installing to new server?

I having Centos7 and willing to Migrating to Almalinux9 without new installation to the new server?

if possible please guide me.

Note: i found the below articles but I’m not sure it will work or no.

Migrating from CentOS to AlmaLinux or Rocky Linux

If you have CentOS 8 installed, root access to the server, and some knowledge of SSH commands, you can migrate your operating system to AlmaLinux or Rocky Linux.

For migrating to AlmaLinux, take the following steps:

  1. Access the server via SSH with your root details (eg. ssh root@IPaddress –p22) Find more information about how to access your server via SSH.

  2. Download the following AlmaLinux GitHub repository script.

  3. Run the script: sudo bash almalinux-deploy.sh

If your migration is successful, you will see “Migration to AlmaLinux is completed” in the output. Then you can reboot your system to run the AlmaLinux kernel and start using AlmaLinux OS with the following command: sudo reboot

Migration from CentOS to Rocky Linux can also be performed via SSH with the help of the migrate2rocky tool developed for this purpose.

Take the following steps to migrate CentOS to Rocky Linux:

  1. In the repository via SSH, download the executing script directly from the repository via SSH by running the following command on your server: click here.

  2. Make sure that the script is executable by running the following command: chmod u+x migrate2rocky.sh

  3. Then you can run the migration script: ./migrate2rocky.sh –r

You will see ‘Completed!’, which means that the system was successfully migrated from CentOS to Rocky Linux. Reboot your server using the sudo reboot and start using Rocky Linux!

After the reboot, check the current system installed on your server by running: hostnamectl.

source link:

AlmaLinux vs. Rocky Linux: a com...
No image preview

AlmaLinux vs. Rocky Linux: a comparison and guide - Hosti...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now