🚀 The 2026 Guide: Installing CloudPanel on Ubuntu 24.04
CloudPanel is a free, modern server control panel with a strong focus on performance and security. It offers a clean, efficient stack (NGINX, PHP-FPM, MySQL) designed for high-speed PHP applications.Unlike some legacy panels, CloudPanel is lightweight and built for the modern web. This guide provides a complete, step-by-step procedure for installing CloudPanel on a fresh Ubuntu 24.04 server, ensuring a secure and production-ready environment.
⬆️ Step 1: Update System & Install Prerequisites
Before executing the CloudPanel installer, it is essential to ensure your server's package repositories are up-to-date and all core components are at their latest versions. This prevents potential dependency conflicts.Additionally, the installer script requires
curl, wget, and sudo to function.You can accomplish all of this with a single, chained command:
Bash:
apt update && apt -y upgrade && apt -y install curl wget sudo
Allow this process to complete. If the
upgrade process included a new kernel, it is highly recommended to reboot your server once before proceeding.📥 Step 2: Run the CloudPanel Installer
With the system prepared, you can now run the main installation script. You must choose one database backend for your panel.Choose your Database Engine:
For MySQL 8.4
Bash:
curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
echo "19cfa702e7936a79e47812ff57d9859175ea902c62a68b2c15ccd1ebaf36caeb install.sh" | \
sha256sum -c && sudo DB_ENGINE=MYSQL_8.4 bash install.sh
For MySQL 8.0
Bash:
curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
echo "19cfa702e7936a79e47812ff57d9859175ea902c62a68b2c15ccd1ebaf36caeb install.sh" | \
sha256sum -c && sudo DB_ENGINE=MYSQL_8.0 bash install.sh
For MariaDB 11.4
Bash:
curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
echo "19cfa702e7936a79e47812ff57d9859175ea902c62a68b2c15ccd1ebaf36caeb install.sh" | \
sha256sum -c && sudo DB_ENGINE=MARIADB_11.4 bash install.sh
For MariaDB 10.11
Bash:
curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
echo "19cfa702e7936a79e47812ff57d9859175ea902c62a68b2c15ccd1ebaf36caeb install.sh" | \
sha256sum -c && sudo DB_ENGINE=MARIADB_10.11 bash install.sh
For the purposes of this guide, we will proceed with
MariaDB 11.4. Copy the command block for that version and execute it in your terminal.The installation is fully automated and may take between 10 and 30 minutes, depending on your server's hardware and network speed.
🌐 Step 3: Accessing the CloudPanel Interface
Once the installation script is complete, your CloudPanel instance is active and ready for its initial configuration.- Open your web browser and navigate to your server's IP address on the secure port
8443:https://yourIpAddress:8443 - You will encounter a browser security warning (e.g., "Your connection is not private"). This is normal and expected behavior. It occurs because CloudPanel generates a free, self-signed SSL certificate during installation, which your browser does not automatically trust.
- To continue, click the "Advanced" button and then select the option to "Proceed to [yourIpAddress] (unsafe)" or "Accept the Risk and Continue."