How to Install a Control Panel on Ubuntu 24.04 (2026 Guide)
To install a hosting control panel on Ubuntu 24.04 you need three things: a freshly created VPS (not a server that is already configured), at least 2 GB of RAM, and a panel that officially supports Ubuntu 24.04 LTS. cPanel, Plesk, DirectAdmin, HestiaCP, CloudPanel and Koapanel all do today; which one fits depends on your budget, the services you need (email, DNS, resellers) and the web server you prefer. This guide covers the requirements, a quick comparison and a complete step-by-step installation.
Why Ubuntu 24.04 LTS
Ubuntu 24.04 "Noble Numbat" is a long-term support release with standard security updates until 2029, so a server you build today won't need an OS migration for years. The official repositories already ship a modern web stack: nginx 1.24, PHP 8.3 and MariaDB 10.11. PHP 8.3 and MariaDB 10.11 happen to be the minimum versions WordPress recommends in its official requirements.
A control panel installs and wires up those components for you, then gives you a web interface to create sites, databases, HTTPS certificates, mailboxes and backups without hand-editing config files.
Server requirements
Check the VPS before you pick a panel. Typical requirements look like this:
| Resource | Practical minimum | Recommended |
|---|---|---|
| OS | Ubuntu 24.04 LTS 64-bit, clean install | same |
| CPU | 1 vCPU | 2+ vCPUs |
| RAM | 1-2 GB (depends on the panel) | 4 GB if you run email with spam and virus filtering |
| Disk | 20 GB SSD | 40 GB+ NVMe |
| Network | one static IPv4 | IPv4 + IPv6, editable reverse DNS if you host email |
| Access | root or a sudo user over SSH | SSH key instead of a password |
SSH in and confirm the OS, architecture, memory and disk:
cat /etc/os-release | grep -E '^(NAME|VERSION)='
uname -m
free -h
df -h /
You should see VERSION="24.04.x LTS (Noble Numbat)" and either x86_64 or aarch64.
Why a "clean" server matters
Almost every panel expects a brand-new server. If Apache, nginx with live sites, or MySQL are already installed, the installer will either overwrite their configuration or refuse to run. If that server hosts sites today, spin up a new VPS and move the sites afterwards: it's safer, and the old box stays around as a fallback.
Which panels support Ubuntu 24.04
We checked each vendor's official documentation (September 2026):
| Panel | Ubuntu 24.04 | Stated minimum RAM | Web server | Cost |
|---|---|---|---|---|
| cPanel & WHM | Yes | 2 GB (4 recommended) | Apache (EasyApache) | from $29.99/mo (source) |
| Plesk Obsidian | Yes (recommended) | 1 GB + 1 GB swap | Apache + nginx | from $14.29/mo (source) |
| DirectAdmin | Yes, until July 2029 | 4 GB + 4 GB swap | Apache, nginx, LiteSpeed | paid license |
| HestiaCP | Yes | 1 GB (without spam/virus filtering) | nginx, optional Apache | free, open source |
| CloudPanel | Yes | not stated | nginx | free |
| Koapanel | Yes (24.04 only) | 2 GB recommended | nginx | free up to 3 sites, then from €7.90/mo |
A few pointers:
- cPanel has the biggest ecosystem (integrations, tutorials, customers who already know it), but it's also the most expensive and the price climbs every year. For a cost breakdown see Koapanel vs cPanel.
- Plesk is mature, also runs on Windows and has a large extension catalog; VPS licenses start low but grow with features. Details in Koapanel vs Plesk.
- DirectAdmin is light in day-to-day use, but its docs ask for 4 GB of RAM plus swap as a minimum.
- HestiaCP is free, open source and includes email and DNS. If you have no budget and don't mind a no-frills UI, it's a great pick.
- CloudPanel is free and very fast for PHP and Node.js sites, but it doesn't do email: mailboxes have to live elsewhere.
- Koapanel runs nginx only (no Apache, no
.htaccess), on Ubuntu 24.04 only, and offers SFTP rather than classic FTP. In exchange it bundles email, DNS with DNSSEC, S3 backups, anti-malware, WordPress with three-layer caching, white-label resellers and migration from cPanel, Plesk and DirectAdmin.
Prepare the VPS (applies to any panel)
1. Update the system
sudo apt update
sudo apt -y full-upgrade
[ -f /var/run/reboot-required ] && sudo reboot
2. Set a fully qualified hostname
Pick a name that will point at the server, such as server.example.com, and create an A record (plus AAAA if you have IPv6) for the VPS IP.
sudo hostnamectl set-hostname server.example.com
hostname -f
3. Add swap on small instances
Many 1-2 GB VPS plans come without swap. Two gigabytes of swap keep MariaDB or the virus scanner from being killed during load spikes:
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
4. Check your provider's firewall
Besides the server's own firewall, many providers (Hetzner, AWS, DigitalOcean, Vultr...) have a network firewall in their dashboard. It must allow SSH, ports 80 and 443, and the port of the panel you're installing (8443 for Koapanel, CloudPanel and Plesk, 8083 for HestiaCP, 2087 for WHM, 2222 for DirectAdmin).
Installing Koapanel on Ubuntu 24.04 step by step
Here is a complete install using Koapanel. The official instructions are also in the installation docs.
1. Run the installer
Over SSH, on the server you just prepared:
curl -fsSL https://get.koapanel.app | sudo bash
To set the Let's Encrypt email right away, or enable email hosting from the start, pass variables after sudo:
curl -fsSL https://get.koapanel.app | sudo KOAPANEL_EMAIL=you@example.com KOAPANEL_MAIL=1 bash
Email can also be switched on later from the panel, so this isn't a one-way decision.
2. What the installer does
The script works through four stages:
- checks: root, Ubuntu 24.04 and an x86_64 or arm64 CPU. If it finds cPanel, Plesk, DirectAdmin, Apache, nginx sites or MySQL/MariaDB already there, it stops so it doesn't overwrite anything. Below roughly 1.8 GB of RAM it warns you; below about 1.5 GB the ClamAV antivirus is skipped;
- verified download: it fetches a signed manifest, checks its ed25519 signature and verifies the SHA-256 of the panel binary and install script. Any mismatch aborts the install;
- installation: nginx, PHP-FPM 8.3, MariaDB, certbot, the ufw firewall, fail2ban, phpMyAdmin, the WordPress tooling (WP-CLI, Redis) and ClamAV. This usually takes 5-10 minutes;
- connection to the license and update service.
If you'd rather inspect things before the server is touched, you can download and verify only:
curl -fsSL https://get.koapanel.app | sudo KOAPANEL_DOWNLOAD_ONLY=1 bash
3. The firewall after installation
The installer enables ufw, denying all inbound traffic except your SSH port, 80 (HTTP), 443 (HTTPS), 8443 (panel) and 8444 (phpMyAdmin). Check it with:
sudo ufw status verbose
4. First login
At the end you'll see a summary box with the panel address, something like https://SERVER-IP:8443/, and the admin credentials. They're also saved in a root-only file:
sudo cat /root/koapanel-install.log
Store the username and password in a password manager, then delete the file:
sudo rm /root/koapanel-install.log
On first visit the browser warns about the panel's self-signed certificate. That's expected: accept it and log in.
5. First things to do
Following the getting started chapter of the manual:
- in Your account, change the password and add your email so you're alerted if it ever changes;
- create your first site and turn on free HTTPS with Let's Encrypt (the domain must already point at the server);
- set up backups, ideally to external S3 storage, and keep the repository password away from the server;
- if you need other PHP versions (7.4 through 8.5), install them from the PHP versions page;
- review the firewall and fail2ban on the Security page.
The panel starts on the Free plan: up to 3 sites for personal use once it's linked to a free account (unlinked, it's limited to 1 site). For more sites or commercial use there are Starter, Pro and Agency plans: see pricing.
Already running sites on another panel?
Koapanel imports accounts from cPanel, Plesk, DirectAdmin or any Linux server over SSH, or from backup files. The procedure is in the migration docs, and there's a full walkthrough for migrating from cPanel.
Common errors
- "serve Ubuntu 24.04 LTS" (Ubuntu 24.04 required): the server runs a different release. Rebuild the VPS from your provider's dashboard with the Ubuntu 24.04 image.
- "Questo server non sembra nuovo" (this server doesn't look new): the installer found another panel, Apache or MySQL. The right fix is a fresh VPS. A
KOAPANEL_FORCE=1override exists, but on a server with live sites you risk overwriting configuration. - The panel won't load: almost always the provider's firewall is blocking port 8443.
- A site's HTTPS certificate fails: the domain doesn't point at the server yet, or port 80 is closed.
FAQ
Can I run a control panel on Ubuntu 24.04 with 1 GB of RAM?
Some panels will install (HestiaCP and Plesk list 1 GB), but once you add email, spam filtering and antivirus the memory runs out fast. 2 GB plus some swap is comfortable; 4 GB lets you host email and more sites.
Can I install a panel on a server that already hosts sites?
Better not. Nearly every installer reconfigures nginx, PHP and the database. Create a new VPS, install the panel, then migrate the sites.
What's the best free control panel for Ubuntu 24.04?
It depends. HestiaCP is full-featured with no site limit; CloudPanel is excellent for PHP sites when you don't need email; Koapanel is free for up to 3 personal sites and adds managed WordPress, S3 backups and automated migration.
Does Koapanel run on Debian or Ubuntu 22.04?
No. It supports Ubuntu 24.04 LTS only, on x86_64 and arm64. That's deliberate: every release is tested against a single OS.
How long does the installation take?
With Koapanel, usually 5-10 minutes. cPanel and Plesk can take longer depending on the components you pick.
Try Koapanel
Got a fresh Ubuntu 24.04 VPS? One command and ten minutes is all it takes: install Koapanel for free with the installation guide, or poke around the public demo first (user admin, password demo-admin-2026, reset every hour).