Tutorials Web Hosting News

How to Install CloudPanel on Ubuntu 24.04: Step-by-Step Guide (2026)

How to Install CloudPanel on Ubuntu 24.04 Linux Server - CpanelFree
Written by Blog

Learn how to install CloudPanel v2 on Ubuntu 24.04 LTS with Nginx, PHP 8.3 & MySQL. Complete tutorial with firewall setup, SSL & WordPress deployment.

⚡ Quick Tutorial Summary (TL;DR)

  • Goal: Deploy CloudPanel v2 (Nginx + PHP-FPM + MySQL 8.4) on a clean Ubuntu 24.04 LTS instance.
  • Time Required: ~5 to 8 minutes.
  • Difficulty: Beginner-friendly.
  • Primary Command: curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh && sudo DB_ENGINE=MYSQL_8.4 bash install.sh
  • Access URL: https://your-server-ip:8443

CloudPanel is a free, modern PHP and Node.js server control panel engineered for maximum performance, minimal resource overhead, and effortless cloud VPS management. Built entirely on top of Nginx, PHP-FPM, MySQL 8.4, and Redis, CloudPanel eliminates legacy server bloat to deliver sub-second response times for WordPress, Laravel, Symfony, and Node.js applications.

In this step-by-step tutorial, you will learn how to install CloudPanel on Ubuntu 24.04 LTS (Noble Numbat), configure required security firewall ports, set up administrative credentials, and launch your first high-speed website.


Direct Answer: How Do You Install CloudPanel on Ubuntu 24.04?

Direct Answer: To install CloudPanel on Ubuntu 24.04 LTS, connect to a clean server as root, update system packages with apt update && apt upgrade -y, download the installer script, and run sudo DB_ENGINE=MYSQL_8.4 bash install.sh. Once the installer finishes in ~5 minutes, open https://your-server-ip:8443 in your browser to create your admin account.

📖 Related Comparison: Looking for other free control panels? Read our in-depth review of the Top 7 Best Free cPanel Alternatives in 2026.

System Requirements & Prerequisites

📋 Server Prerequisites Checklist

  • Operating System: Clean, freshly installed Ubuntu 24.04 LTS or Ubuntu 22.04 LTS (64-bit / x86_64 / ARM64).
  • RAM: 1 GB minimum (2 GB+ recommended for production workloads).
  • CPU: 1 Core (2.0 GHz+) minimum.
  • Disk Space: 10 GB SSD / NVMe minimum.
  • Root Privileges: Full root or sudo access.
  • Clean Slate: No existing Apache, Nginx, or MySQL packages pre-installed.

Step 1: Update Packages & Install Prerequisites

Log in to your Ubuntu 24.04 server via SSH:

ssh root@your-server-ip

Update repository package lists, upgrade installed packages, and install required utilities:

sudo apt update && sudo apt -y upgrade
sudo apt -y install curl wget sudo ufw

Step 2: Open Required Firewall Ports

CloudPanel operates on port 8443 for its control panel interface. Make sure your server firewall (UFW) and cloud security groups (AWS, Google Cloud, DigitalOcean, Hetzner, Vultr) permit the following inbound traffic:

Port Number Protocol Purpose
8443 TCP CloudPanel HTTPS Admin Dashboard
80 & 443 TCP HTTP & HTTPS Web Traffic
22 TCP SSH & SFTP File Access

To configure UFW quickly from terminal:

sudo ufw allow 22/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 8443/tcp
sudo ufw --force enable

Step 3: Run the Official CloudPanel Automated Installer

CloudPanel v2 allows you to select your preferred database engine during setup. For most modern web applications, MySQL 8.4 or MariaDB 11.8 is recommended.

Download the installer script and execute it with MySQL 8.4:

curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh
sudo DB_ENGINE=MYSQL_8.4 bash install.sh
💡 Prefer MariaDB? If you prefer MariaDB over MySQL, simply change the database variable:

sudo DB_ENGINE=MARIADB_11.8 bash install.sh

The automated script will now install Nginx, PHP versions (PHP 7.4 through PHP 8.4), MySQL, phpMyAdmin, and Node.js. The process typically completes in under 5 minutes.

🎉 Installation Successful! The terminal will confirm completion and display your access link: https://your-server-ip:8443.

Step 4: Create Your Admin Account

1. Open your web browser and visit your server URL on port 8443:

https://your-server-ip:8443

2. You will see a self-signed certificate notice. Click Advanced > Proceed to open the initial user creation screen.

3. Fill in your details:

  • Admin User: Your preferred administrator username
  • Email: Your email address
  • Password: A strong, unique password

4. Click Create User to finalize your administrative setup and enter the CloudPanel dashboard.


Step 5: Deploy Your First Website with 1-Click SSL

CloudPanel makes deploying sites fast and straightforward:

  1. From the top navigation, click + Add Site.
  2. Select your application type:
    • Create a WordPress Site (Includes 1-click installer and database provisioning).
    • Create a PHP Site (Laravel, Symfony, custom PHP).
    • Create a Node.js Site (Next.js, Express, PM2).
    • Create a Python Site (Django, Flask).
  3. Enter your domain name (ensure your DNS A record points to the server IP).
  4. Once deployed, navigate to the SSL/TLS tab and click New Let’s Encrypt Certificate. CloudPanel will issue and auto-renew the certificate automatically.
📖 Need OpenLiteSpeed instead? If you want native OpenLiteSpeed caching rather than Nginx, follow our tutorial on How to Install CyberPanel on Ubuntu 24.04 LTS.

Frequently Asked Questions (FAQ)

❓ Does CloudPanel include a built-in email server?

No. CloudPanel deliberately omits local email servers (like Postfix/Dovecot) to keep the stack lightweight and avoid server blacklisting. For email, it is best practice to connect external SMTP providers like Google Workspace, Zoho Mail, SendGrid, or Mailgun.

❓ Can I switch PHP versions per website in CloudPanel?

Yes. CloudPanel supports running multiple PHP versions simultaneously (PHP 7.4 through PHP 8.4). You can assign different PHP versions to individual domains with a single click in the site settings.

❓ Is CloudPanel completely free?

Yes, CloudPanel is 100% free to use on unlimited domains, with zero licensing restrictions or tiered feature gates.

🎯 Conclusion & Next Steps

CloudPanel on Ubuntu 24.04 provides the cleanest, fastest Nginx hosting environment available for modern web development. With multi-PHP version managers, native Node.js/Python support, and automated Let’s Encrypt SSL, it is an exceptional solution for high-throughput cloud hosting.

About the author

Blog

DevOps architect and Linux sysadmin specializing in server hardening, OpenLiteSpeed performance optimization, and free cloud hosting infrastructure.

Leave a Comment