In this tutorial, you will learn how to migrate to AlmaLinux 8 or CloudLinux 8 from CentOS/CloudLinux 7 using cPanel ELevate.
Note: Before starting the upgrade, reviewing the list of known cPanel ELevate Blockers is crucial to prevent any conflicts with essential software. Additionally, upgrading the operating system can potentially cause data loss or system issues, so make sure to have full backups of all your accounts stored off-server.
Upgrade Steps:
- Server Preparation:
- Backup Confirmation: Verify that all data backups are current and reliable.
- Root Access: Log in as the root user via SSH or WHM Terminal.
- Update Packages: Execute the command to update all outdated packages:
yum update
- Update cPanel: Upgrade cPanel to the latest version:
/scripts/upcp
- Reboot Server: Apply changes by rebooting the system:
shutdown -r now
- Post-Reboot Login: After the server restarts, log back in as the root user.
- Initiate the Elevate Process:
- Download Elevate Script: Run the following commands to download and set up the script:
wget -O /scripts/elevate-cpanel https://raw.githubusercontent.com/cpanel/elevate/release/elevate-cpanel chmod 700 /scripts/elevate-cpanel
- Check for Blockers: Identify any potential blockers:
/scripts/elevate-cpanel –check
- Resolve Blockers: Address any issues found and recheck until no blockers remain:
/scripts/elevate-cpanel –check
- You should see: “There are no known blockers to start the elevation process.”
- Download Elevate Script: Run the following commands to download and set up the script:
- Perform the Upgrade:
- Start Upgrade: Begin the elevation process:
/scripts/elevate-cpanel –start
The process may take up to 90 minutes and involve multiple reboots. Do not interrupt.
- Monitor Progress: Check the upgrade status at any time:
/scripts/elevate-cpanel --status
- Start Upgrade: Begin the elevation process:
Actions to Take After Upgrade:
After completing the upgrade, confirm that the system is functioning correctly. Additionally, re-enable or configure any features or custom settings that were previously in use to guarantee everything is running smoothly.
Completing the following steps can ensure a stable and efficient upgrade to the latest supported OS version.
Next step after upgrading? Learn How to install WordPress through WP-CLI on AlmaLinux