For users of CentOS, Red Hat® Enterprise Linux®, Oracle® Linux, AlmaLinux and Rocky Linux we have prepared and made public a universal script that automates the migration process from these systems to the latest version of EuroLinux. The migration process comes down to switching repositories, installing the el-release package, and updating the system.
The instructions shown below will work for: CentOS, RHEL®, Oracle® Linux, AlmaLinux, and Rocky Linux versions 8 and 7.
Migrating to EuroLinux – a guide
We update the system to the latest version:
sudo yum update
We download the migration script:
git clone https://github.com/EuroLinux/eurolinux-migration-scripts.git
We navigate to the directory with the script:
cd eurolinux-migration-scripts
We run the migration script with superuser privileges:
sudo ./migrate2eurolinux.sh
After entering the command, a backup recommendation will appear in the terminal before starting the migration.
We recommend rebooting the system after the operation is complete:
sudo reboot
During the first boot we will still see the option to select old kernel versions, but after a full boot they will be automatically removed and the correct EuroLinux kernel will remain in the system. To quickly verify that the process was successful, we can check the distribution description using the following command:
cat /etc/el-release
EuroLinux release 8.4 (Vaduz)
After the migration is complete, the user can check the list of RPM packages before and after the migration. This information can be found in the files:
/var/tmp/$(hostname)-rpms-list-before.log
/var/tmp/$(hostname)-rpms-list-after.log
Packet validation is also logged in the files:
/var/tmp/$(hostname)-rpms-verified-before.log
/var/tmp/$(hostname)-rpms-verified-after.log
Summary
The process of migrating to EuroLinux has been designed to be simple and secure. Internally it has been tested for: CentOS, RHEL®, Oracle® Linux, AlmaLinux and Rocky Linux.
Additional benefits of migrating to EuroLinux are described in the CentOS Support tab.
Questions about how the scripts work can be emailed to us or directly submitted to the open source GitHub repository:
https://github.com/eurolinux/eurolinux-migration-scripts