Your CentOS 7 server still boots and still serves pages. It just hasn't had a security patch since June 2024. Every CentOS 7 migrate to AlmaLinux project comes down to one decision: convert the box you already have with ELevate, or build a fresh AlmaLinux server and move your data across. This guide gives you the exact steps for both routes, plus a quick test for picking the right one.
Quick Answer: As of November 2026, rebuild on a fresh AlmaLinux 10 server if you can run a second server for about a week, because it reaches the May 2035 support date in one move. Use an in-place ELevate upgrade only when the server is hard to recreate (a busy cPanel box, say) and plan to stop at AlmaLinux 8, which gets security fixes until May 31, 2029.
Last verified: November 2026, against AlmaLinux 10.2, AlmaLinux 9.8, AlmaLinux 8.10, cPanel & WHM v136 and the current ELevate (Leapp) packages.
Our engineers resolve 20 to 30 client server issues every day, and a surprising share of the hard ones this year still trace back to a forgotten CentOS 7 machine. Everything below comes from that hands-on work, written so you can do the move yourself.
Why CentOS 7 End of Life Still Bites in 2026
CentOS 7 end of life arrived on June 30, 2024. Since then the official mirrors have gone offline too, which is why a plain yum update now fails on most of these servers with mirrorlist errors.
As of November 2026, CentOS 7 has been unsupported for about 29 months, cPanel & WHM is frozen at version 110 on it, and cPanel's paid extended support for CentOS 7 ended on January 1, 2026. Any new kernel, OpenSSL or PHP vulnerability found this year stays open on that server unless you pay a third party for patches.
The damage isn't only security. Current PHP, MariaDB and Certbot packages all expect an EL8 or newer base, so the stack fossilises until a plugin demands PHP 8.2 and the "stable" server becomes the outage.
So where should you land? Patch runway per release, counted from November 2026:
| AlmaLinux release | Active support ends | Security support ends | Months of patches left |
|---|---|---|---|
| AlmaLinux 8.10 | Ended May 31, 2024 | May 31, 2029 | about 30 |
| AlmaLinux 9.8 | May 31, 2027 | May 31, 2032 | about 66 |
| AlmaLinux 10.2 | May 31, 2030 | May 31, 2035 | about 102 |
The dates come from the official AlmaLinux release notes and lifecycle table. Notice the trap in the middle row: AlmaLinux 9 looks safe until 2032, but its active support phase ends in roughly 6 months. After that, it's security fixes only.
ELevate Upgrade vs Clean Rebuild: Which Should You Choose?
For most servers, the clean rebuild is the better choice. Keep the in-place ELevate upgrade for machines that are genuinely expensive to recreate, because ELevate only moves one major version per run and every run carries its own risk.
| Factor | In-place ELevate upgrade | Clean rebuild on a new server |
|---|---|---|
| Where one job lands you | AlmaLinux 8 | AlmaLinux 9 or 10 |
| Runs needed to reach AlmaLinux 10 | 3 (7 to 8, 8 to 9, 9 to 10) | 1 fresh install |
| Website downtime | One reboot window per hop | Minutes, at DNS cutover |
| IP address and panel licence | Kept as they are | New IP, second licence during overlap |
| Leftover el7 packages | Possible, must be cleaned | None |
| Rollback if it fails | Snapshot or backup restore | Old server is untouched |
| Extra cost | None | A parallel server for about 7 days |
The Three-Hop Test
The Hostaccent team (a UK-registered host, hosting since 2016 and UK-incorporated 2018) resolves 20-30 client issues a day, and before anyone touches a CentOS 7 box it goes through three questions:
- How many hops do you need? If AlmaLinux 8 (patched until 2029) is enough for now, that's one hop and ELevate is reasonable. Want 9 or 10? That's two or three hops, and a rebuild almost always wins.
- Could you recreate this stack in a day? A plain Nginx, PHP-FPM and MariaDB stack, yes. A cPanel server with 80 accounts and years of hand edits, probably not.
- Do you have a restore point you've actually tested? If not, neither route starts until you do.
If two of the three answers point to a rebuild, rebuild.
Is an in-place upgrade actually safe on a live server?
Mostly, yes, if the preupgrade report is clean and you have a snapshot. In our experience, Leapp itself rarely breaks. What breaks is everything it doesn't own: third-party PHP builds, Python 2 cron scripts (EL8 ships no default python), custom kernel modules and hand-written iptables rules.
The usual "just run ELevate" advice undersells how much of a ten-year-old server lives outside the base repos. Audit that before the reboot, not after.
Pro Tip: A hypervisor snapshot is not a backup, because it lives on the same storage as the VM. Take the snapshot for fast rollback, then copy a file backup and database dump off the server entirely.
Step-by-Step: The CentOS 7 Migrate to AlmaLinux Upgrade With ELevate
ELevate wraps Red Hat's Leapp framework and upgrades CentOS 7 to AlmaLinux 8 in place in about nine commands. Run it from a console you can reach if SSH dies, such as your VPS panel's VNC console.
ELevate upgrades exactly one major version per run. A CentOS 7 server reaches AlmaLinux 8 after the first upgrade, AlmaLinux 9 after the second and AlmaLinux 10 after the third, and as of November 2026 each hop needs its own preupgrade check, its own reboot window and its own cleanup of leftover packages.
The steps below follow the official AlmaLinux ELevate quickstart guide. To ELevate CentOS 7, log in as root and work through them in order:
- Snapshot and back up. Take a VM snapshot and copy a full backup off the server.
- Fix the dead mirrors. CentOS 7's repos are offline, so point yum at AlmaLinux's CentOS 7 mirror. Many older guides skip this, and their first command fails.
curl -o /etc/yum.repos.d/CentOS-Base.repo https://el7.repo.almalinux.org/centos/CentOS-Base.repo - Fully update and reboot. Run
yum upgrade -y && reboot, then confirmcat /etc/centos-releaseshows 7.9.2009. - Install the ELevate repo.
yum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el$(rpm --eval %rhel).noarch.rpm - Install Leapp and the AlmaLinux data.
yum install -y leapp-upgrade leapp-data-almalinux - Run the preupgrade check.
leapp preupgradewill fail on a default install. That's expected. Read/var/log/leapp/leapp-report.txtline by line. - Clear the common inhibitors.
rmmod pata_acpiecho PermitRootLogin yes >> /etc/ssh/sshd_configleapp answer --section remove_pam_pkcs11_module_check.confirm=True - Upgrade and reboot. Run
leapp upgrade && reboot. The server boots into anELevate-Upgrade-Initramfsentry and does the work there, so watch from the console. - Verify using the checks below.
This CentOS 7 upgrade to AlmaLinux 8 is the only jump ELevate makes from version 7. There's no direct path to 9 or 10.
How do I know the upgrade really worked?
Run these and read the output:
cat /etc/redhat-releaseshould show AlmaLinux 8.10.rpm -qa | grep el7lists leftover CentOS 7 packages to remove or replace.getenforcetells you whether SELinux came back the way you left it.systemctl --failedshows any service that didn't start.
Then remove the PermitRootLogin yes line from step 7 and restart sshd. If Apache won't start, see how to restart Apache on Ubuntu, CentOS and cPanel. If Nginx in front throws gateway errors, follow 502 Bad Gateway Nginx: How to Fix It (Step-by-Step), since a changed PHP-FPM socket path is a classic post-upgrade culprit.
Going on to AlmaLinux 9
Remove leftover el7 packages, delete /root/tmp_leapp_py3, run dnf clean all, then reinstall the ELevate packages (now el8). Typical 8-to-9 inhibitors are firewalld zone drifting (set AllowZoneDrifting=no) and legacy files in /etc/sysconfig/network-scripts/. After the reboot, dnf update --allowerasing clears stragglers.
Prefer a specialist-managed migration?
Eligible moves into Hostaccent hosting are included at no separate migration charge. Independent migrations between other providers are scoped and quoted before work begins.
How to Move a cPanel Server Off CentOS 7
On a cPanel server, don't run plain Leapp. Use cPanel's own ELevate script, which wraps the AlmaLinux tool and handles EasyApache 4, the cPanel packages and the licence checks around them. Plesk has its own equivalent, called centos2alma.
As of November 2026, cPanel & WHM version 110 is the last release that runs on CentOS 7, while AlmaLinux 10 needs cPanel version 132 or later. That gap means a CentOS 7 cPanel server can't simply be patched forward: it has to be ELevated to AlmaLinux 8 first, or its accounts moved to a new AlmaLinux server.
Route A: cPanel ELevate in place. Following the official cPanel ELevate guide, run this inside tmux or screen so a dropped SSH session doesn't kill it:
bashwget -O /scripts/elevate-cpanel https://raw.githubusercontent.com/cpanel/elevate/release/elevate-cpanel chmod 700 /scripts/elevate-cpanel /scripts/elevate-cpanel --check /scripts/elevate-cpanel --start
--check flags blockers such as outdated database versions or unsupported repos. Fix every one before --start, because the script reboots several times. If it stops partway, fix the error and resume with /scripts/elevate-cpanel --continue.
Route B: rebuild and transfer. Install cPanel on a fresh AlmaLinux 9 or 10 server and pull accounts across with WHM's Transfer Tool. It's safer for data, but you'll pay for a second licence during the overlap. One detail worth knowing: cPanel dropped Rocky Linux support from version 134, so if you move a cPanel server off CentOS 7 today, AlmaLinux (or CloudLinux) is the target that keeps you on the upgrade path.
Plesk servers. The Plesk centos2alma conversion tool uses ELevate underneath. Plesk services stop and hosted sites go offline during the conversion, so book a proper maintenance window.
Insider Insight: AlmaLinux 10 targets x86-64-v3 CPUs. On KVM or Proxmox, a generic CPU type like
kvm64hides AVX2 and the standard image won't boot. Ifgrep -c avx2 /proc/cpuinforeturns 0, switch the VM's CPU type tohostor use AlmaLinux's x86_64_v2 build.
The Clean Rebuild: Moving to a Fresh AlmaLinux Server Without Downtime
A clean rebuild means installing AlmaLinux 10 on a new server, copying sites and databases across, testing privately, then switching DNS. The old CentOS 7 server keeps running throughout as your rollback plan.
A clean rebuild typically costs one parallel server for about 7 days, and visible downtime shrinks to the few minutes DNS needs once the TTL has been lowered to 300 seconds a day or two ahead. As of November 2026, it's also the only route that lands on AlmaLinux 10 in a single step.
- Lower your DNS TTL to 300 seconds at least 24 hours before cutover.
- Provision the new server on AlmaLinux 10.2 and run the AVX2 check above. Pick AlmaLinux 9 only if a vendor application isn't certified on 10 yet.
- Install the stack from the AlmaLinux repos. AlmaLinux 10.2 ships PHP 8.4 and MariaDB 11.8, so there's no need for third-party repos for a standard LAMP or LEMP build.
- Copy files with
rsync -aHAX --numeric-ids /var/www/ root@NEW_IP:/var/www/(run from the old server). - Move databases with
mysqldump --single-transaction --routines dbname > dbname.sqlper database, then import on the new server. - Rebuild the extras: cron jobs, users, firewall rules (firewalld and nftables replace raw iptables), mail and SSL.
- Test via your hosts file so you see the new server before anyone else does.
- Freeze, final sync, switch DNS. Run one last rsync and database dump during a short write freeze, then update the A records.
- Keep the old server for 7 days before cancelling it.
Our Migrate Shared Hosting to Linux VPS: Practical Checklist has a printable version of these steps, and the guide to moving a website to another server on any CMS covers WordPress search-replace and email cutover. Running a store? The write freeze matters most there, since orders placed on the old server during propagation get lost. Our guide to hosting for WooCommerce and what actually matters explains sizing for checkout load.
Common Mistakes That Break the Move
Most failed migrations fail on a skipped step around the tool, not the tool itself. Across the 4,000+ site migrations Hostaccent has handled since 2016, the step people most often get wrong is the restore test: they keep a backup and never prove it actually opens.
Other mistakes our team sees repeatedly on CentOS 7 jobs:
- Following a 2024 guide word for word. Guides written before the mirrors went offline start with a
yum updatethat now fails, so people assume ELevate is broken. - Forgetting the Python 2 scripts. Old backup scripts and cron jobs that call
pythonsilently stop running on EL8 and later. - Choosing AlmaLinux 9 for a rebuild in late 2026 without noticing its active support ends on May 31, 2027. Go to 10 unless software holds you back.
- Cancelling the old server on cutover day. Give it a week.
Still weighing the target distro? Our comparison of the best Linux distro for VPS hosting in 2026 sets AlmaLinux against Ubuntu and Debian.
Your Next Step: A Fresh AlmaLinux Server You Control
Key takeaways:
- CentOS 7 has had no patches since June 30, 2024.
- ELevate moves one major version per run, so AlmaLinux 10 takes three upgrades.
- A clean rebuild reaches AlmaLinux 10 (supported to 2035) in one step.
- Lower your TTL, test via the hosts file, keep the old server 7 days.
Now that you know a rebuild is the only one-step way to finish a CentOS 7 migrate to AlmaLinux move, the open question is where the new server lives. You could provision and harden one yourself this weekend, or start on a VPS where 24/7 help from our own in-house engineers is already part of the plan. The Standard VPS at $12.00/mo (renews at $12.00/mo) gives you full root access to install AlmaLinux and any panel you like, free 30 Gbps DDoS protection and a 30-day money-back guarantee. One honest caveat: a cPanel or Plesk licence is sold separately, so budget for it if you need one. When you're ready, start on the Standard VPS plan with Hostaccent.
Frequently Asked Questions
Can I upgrade CentOS 7 directly to AlmaLinux 9 or 10?
No. ELevate is built on Leapp, which only performs single-step upgrades, so CentOS 7 must go to AlmaLinux 8 first, then to 9, then to 10. Each hop needs its own preupgrade check, reboot and cleanup. If AlmaLinux 10 is your real goal, a fresh install on a new server is usually faster and cleaner than three back-to-back upgrades, and it leaves the old server intact as a fallback.
How long does a CentOS 7 migrate to AlmaLinux upgrade take?
On a small VPS with a clean preupgrade report, the upgrade boot itself typically takes 20 to 60 minutes, with websites offline during that window. Fixing inhibitors and testing afterwards often takes longer than the upgrade. A clean rebuild takes more hands-on hours, usually a day for a simple stack, but visitors only see a few minutes of disruption at DNS cutover once the TTL has been lowered.
Will ELevate keep my websites, databases and IP address?
Yes. An in-place ELevate upgrade keeps your IP address, hostname, files, databases and user accounts, because it upgrades the operating system around them rather than moving anything. That's its main advantage over a rebuild. What it can't guarantee is that third-party software survives: PHP builds from outside repos, custom kernel modules and Python 2 scripts often need reinstalling or rewriting after the jump to AlmaLinux 8.
Is it safe to keep running CentOS 7 in 2026?
Not on a public-facing server. CentOS 7 stopped receiving upstream security updates on June 30, 2024, so every vulnerability disclosed since then remains open unless you pay for third-party extended support. Control panels have frozen too, with cPanel stuck at version 110. An internal machine behind a firewall buys you a little time, but a web server with open ports should be moved or upgraded now.
Do I need to pay for a second cPanel licence to rebuild?
Usually, yes, for the overlap period. A rebuild means running the old and new servers side by side while you transfer accounts and test, and each server running cPanel needs its own licence. Budget for one extra month and cancel the old licence once the new server has been stable for a week. An in-place cPanel ELevate upgrade avoids that cost because the server and its licence stay the same.
What if the new server has problems after I switch DNS?
That's exactly why you keep the old CentOS 7 server running for 7 days. If something breaks, point the A records back to the old IP and, with a 300-second TTL, most visitors return within minutes. If your new server is on Hostaccent and it doesn't work out, the 30-day money-back guarantee covers you, and the prices you start on are the prices you renew at.











Discussion
Have a question or tip about this topic? Share it below — your comment will appear after review.