Hey DEV community! π
If you are provisioning a bare-metal dedicated server for web hosting in 2026, you already know that CentOS is officially out of the picture. Getting cPanel & WHM running smoothly on modern OS options like AlmaLinux 9 or Ubuntu 24.04 LTS requires an updated set of pre-flight checks.
Relying on outdated tutorials will often result in conflicting package managers, broken dependencies, and failed installations. Since cPanel cannot be cleanly uninstalled without a complete OS wipe, you have to get it right on the first try.
We just published an in-depth, verified tutorial over at FitServers that cuts through the noise. No fluffβjust the exact terminal commands and WHM GUI steps you need to get production-ready.
π οΈ What You Will Learn
Our comprehensive guide covers the entire deployment lifecycle:
- OS Selection & Requirements: Why AlmaLinux 9 is the primary recommendation, and how to handle Ubuntu's specific AppArmor and NetworkManager quirks.
-
Pre-Installation Prep: Step-by-step commands to properly set your FQDN (
hostnamectl), update core packages, and disable OS-level firewalls (firewalldorufw) so cPanel can bind its own services. -
The Installation Execution: How to safely pull and run the official installation script using a
screensession:
# Example: Starting a persistent session and running the installer
screen -S cpanel-install
cd /home && curl -o latest -L [https://securedownloads.cpanel.net/latest](https://securedownloads.cpanel.net/latest) && sh latest
Initial WHM Configuration: A walkthrough of the Setup Wizard, including setting up custom nameservers and provisioning Let's Encrypt certificates via AutoSSL.
Security Hardening: Essential post-install lock-downs. We detail the exact network ports you need to open on your cloud firewall and how to activate cPHulk to immediately block brute-force login attacks.
Creating Your First Account: Provisioning your first hosting package and web space.
π Ready to Deploy?
Whether you are setting up your own infrastructure, migrating high-traffic client sites, or building a hosting reseller business, this guide is your definitive blueprint.
For read more, visit the tutorial link: [https://www.fitservers.com/tutorials/howto/install-cpanel-whm-on-dedicated-server/]
Top comments (0)