Tools: How to Install cPanel & WHM on AlmaLinux 9 or Ubuntu 24.04 LTS (2026 Guide) - 2025 Update

Tools: How to Install cPanel & WHM on AlmaLinux 9 or Ubuntu 24.04 LTS (2026 Guide) - 2025 Update

πŸ› οΈ What You Will Learn 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. Our comprehensive guide covers the entire deployment lifecycle: 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/] Templates let you quickly answer FAQs or store snippets for re-use. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse

Command

Copy

# Example: Starting a persistent session and running the installer screen -S cpanel--weight: 500;">install cd /home && -weight: 500;">curl -o latest -L [https://securedownloads.cpanel.net/latest](https://securedownloads.cpanel.net/latest) && sh latest # Example: Starting a persistent session and running the installer screen -S cpanel--weight: 500;">install cd /home && -weight: 500;">curl -o latest -L [https://securedownloads.cpanel.net/latest](https://securedownloads.cpanel.net/latest) && sh latest # Example: Starting a persistent session and running the installer screen -S cpanel--weight: 500;">install cd /home && -weight: 500;">curl -o latest -L [https://securedownloads.cpanel.net/latest](https://securedownloads.cpanel.net/latest) && sh latest - 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), -weight: 500;">update core packages, and -weight: 500;">disable OS-level firewalls (firewalld or ufw) so cPanel can bind its own services. - The Installation Execution: How to safely pull and run the official installation script using a screen session: