How to Migrate cPanel Accounts Between Servers Using WHM Transfer Tool (Zero-Downtime Guide) Moving live…
How to Install CloudPanel on an Ubuntu VPS (Step-by-Step Guide)

If you want a fast, modern server control panel without paying recurring monthly licensing fees, learning how to install CloudPanel on an Ubuntu VPS is one of the smartest upgrades you can make. Built specifically for cloud servers, CloudPanel gives you a clean web interface powered by NGINX, PHP-FPM, MySQL or MariaDB, Redis, Node.js, and Varnish Cache—while keeping idle memory usage remarkably low.
Unlike bloated legacy control panels that bundle heavy email and DNS daemons you may never use, CloudPanel focuses purely on high-speed web application hosting, one-click Let’s Encrypt SSL certificates, multi-PHP version switching, and automated cloud backups.
This step-by-step guide walks you through how to install CloudPanel on a clean Ubuntu 22.04 or 24.04 LTS server. We cover hardware prerequisites, choosing between MariaDB and MySQL 8.0 in the one-line installer, opening UFW firewall ports, securing port 8443 with a custom domain SSL, and configuring backups and WordPress.

Prerequisites Before You Learn How to Install CloudPanel
Review these server requirements before following the steps on how to install CloudPanel. Always deploy on a freshly provisioned operating system image with no pre-installed web servers (Apache/NGINX) or databases:
| Resource | Minimum Spec | Recommended Production Spec |
|---|---|---|
| Operating System | Ubuntu 22.04 LTS or Ubuntu 24.04 LTS (64-bit) | Ubuntu 24.04 LTS (x86_64 or ARM64) |
| RAM (Memory) | 2 GB RAM | 2 GB to 4 GB+ RAM (Ideal for WordPress, Redis & Varnish) |
| Storage Space | 10 GB free disk space | 25 GB to 50 GB+ NVMe SSD |
| CPU | 1 vCPU | 2+ vCPUs |
| Server Access | Root SSH access | Root SSH with SSH key authentication |
Note: CloudPanel does not include built-in mail server (Postfix/Dovecot) or DNS server modules. Manage your domain DNS externally (for example, via Cloudflare) and use an external SMTP relay for transactional website emails—which keeps your VPS faster, cleaner, and avoids the deliverability headaches covered in our common VPS mistakes guide.
How to Install CloudPanel on Ubuntu Step-by-Step
Once your Ubuntu VPS is online and you have its public IPv4 address and root login credentials ready, follow these four steps for how to install CloudPanel cleanly.
Step 1: Connect via SSH and Update Ubuntu
Before running the installer for how to install CloudPanel, connect to your server as root from your terminal:
ssh root@YOUR_SERVER_IP
If your provider logs you in as a standard ubuntu sudo user, switch to a root shell immediately:
sudo su -
Update your system packages and install curl and wget:
apt update && apt upgrade -y
apt install -y curl wget
If you are running a 2 GB RAM VPS and plan to host multiple WordPress or WooCommerce sites, adding a 2 GB swap file provides extra headroom during traffic bursts—follow our quick tutorial on how to add swap space Linux before proceeding.
Step 2: Run the Official CloudPanel Installer Script
Execute the core command for how to install CloudPanel from the official CloudPanel v2 documentation. You can choose either MariaDB 10.11 (recommended for lower RAM usage) or MySQL 8.0 as your database engine:
Option A: Install CloudPanel with MariaDB 10.11 (Recommended for 2 GB–4 GB VPS)
curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh && sudo DB_ENGINE=MARIADB_10.11 bash install.sh
Option B: Install CloudPanel with MySQL 8.0
curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh && sudo DB_ENGINE=MYSQL_8.0 bash install.sh
The automated installer runs unattended for roughly 3 to 5 minutes, configuring NGINX, PHP-FPM (versions 7.4 through 8.4), Redis, and your chosen database engine. When finished, the terminal displays your access URL:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The installation of CloudPanel is complete!
CloudPanel can be accessed now: https://YOUR_SERVER_IP:8443
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Step 3: Open Required Firewall Ports (UFW)
If your server has an active firewall, blocked firewall ports are the main reason the dashboard fails to load after you finish how to install CloudPanel. Allow SSH, HTTP, HTTPS, HTTP/3 (UDP 443), and CloudPanel’s admin port (8443) in UFW:
sudo ufw allow 22/tcp comment 'SSH'
sudo ufw allow 80/tcp comment 'HTTP'
sudo ufw allow 443/tcp comment 'HTTPS'
sudo ufw allow 443/udp comment 'HTTP3 QUIC'
sudo ufw allow 8443/tcp comment 'CloudPanel Admin'
sudo ufw --force enable
Note: If your VPS provider also offers an external network firewall (security group) in the cloud dashboard, open TCP ports 22, 80, 443, and 8443 there as well.
Step 4: Create Your Admin Account Immediately
Open your browser and go to https://YOUR_SERVER_IP:8443. Because you have not assigned a custom domain yet, bypass the browser’s self-signed SSL warning (click Advanced → Proceed).
Important Security Step: CloudPanel prompts you to create your initial administrator user right on the first screen. Complete this form immediately so no automated scanner can claim the setup screen—enter your name, username, email address, a strong password, and select your server timezone.
Essential Post-Installation Tasks After Installing CloudPanel
Securing your admin port, configuring backups, and deploying your first site completes your setup after learning how to install CloudPanel. Spend a few minutes on these five post-install configurations.
1. Assign a Custom Domain and Free SSL to CloudPanel
Replace the raw IP address and browser security warning with a clean subdomain secured by Let’s Encrypt:
- In your DNS provider (such as Cloudflare), add an A Record pointing
panel.yourdomain.comto your VPS IP address (use DNS-only / grey cloud during certificate verification). - Log into CloudPanel, click Admin Area in the top-right corner, and open Settings in the left sidebar.
- Under Domain Name, enter
panel.yourdomain.comand click Save. - CloudPanel automatically issues and installs a valid Let’s Encrypt certificate and redirects you to
https://panel.yourdomain.com:8443with a verified HTTPS padlock.
2. Restrict Port 8443 Access and Enable Two-Factor Authentication
Inside Admin Area → Security, enable Two-Factor Authentication (2FA) for your admin user. If you connect from a static home or office IP address, you can also whitelist your IP under CloudPanel’s firewall rules so port 8443 is invisible to the rest of the internet. For additional OS-level protection, apply the SSH key steps from our Linux server hardening checklist.

3. Launch a WordPress Site with Free SSL and Varnish Cache
To host your first WordPress website on CloudPanel:
- Switch back to the main dashboard and click + Add Site → Create a WordPress Site.
- Enter your domain name (
yourdomain.com), site title, admin username, password, and email, then select PHP 8.3 and click Create. - Open your new site’s dashboard, click the SSL/TLS tab, choose Actions → New Let’s Encrypt Certificate, and click Create and Install.
- Enable Varnish Cache in the site settings for sub-50ms cached page delivery out of the box.
4. Configure Automated Off-Site Cloud Backups
CloudPanel includes built-in remote backup integration so your site files and databases are stored safely outside your VPS block volume:
- Open Admin Area → Backups in the left navigation menu.
- Select your preferred storage destination—Amazon S3, DigitalOcean Spaces, Wasabi, Google Drive, or an external SFTP server—and enter your bucket credentials.
- Choose a daily backup frequency and set a retention period (for example,
7or14days) so old archives prune automatically without filling your storage bucket.
5. Bookmark Useful CloudPanel CLI Commands (clpctl)
CloudPanel provides a dedicated command-line utility called clpctl for rapid emergency recovery over SSH—handy if you ever lose 2FA access or need to reset an admin password after completing how to install CloudPanel:
# Reset an admin user password:
sudo clpctl user:reset:password --userName=admin --password='NewStrongPassword123!'
# Disable Two-Factor Authentication if you lose your authenticator device:
sudo clpctl user:disable:mfa --userName=admin
# Check core CloudPanel and web stack service status:
sudo systemctl status clp-agent nginx php8.3-fpm
If a website ever throws a 502 error under heavy traffic, check PHP-FPM worker limits and memory usage using our Linux server troubleshooting guide.
Frequently Asked Questions About How to Install CloudPanel
Can I follow this guide on how to install CloudPanel on a 1 GB RAM VPS?
No. The official CloudPanel v2 installer enforces a minimum of 2 GB of RAM and will stop if it detects a 1 GB instance. If you are using a 1 GB VPS, choose a lighter alternative like aaPanel instead, or upgrade your VPS tier to at least 2 GB RAM before running the CloudPanel installation script.
Is CloudPanel completely free to use?
Yes. As stated on the CloudPanel official website, CloudPanel is 100% free with unlimited websites, unlimited users, full Let’s Encrypt SSL automation, and S3-compatible remote backups included at no cost.
Should I choose CloudPanel, CyberPanel, or aaPanel for my VPS?
Each free panel shines in a different setup: choose CloudPanel if you want the cleanest, fastest NGINX + Varnish + Redis stack for WordPress, PHP, or Node.js without email bloat. Choose CyberPanel if you want OpenLiteSpeed and built-in email hosting, or aaPanel if you need a full stack on a 1 GB VPS—compare their setup workflows in our guides on how to install CyberPanel and how to install aaPanel.
How do I update CloudPanel after completing how to install CloudPanel?
Once you finish how to install CloudPanel, keeping the panel updated requires just one command over SSH. Log in as root and run curl -sS https://installer.cloudpanel.io/ce/v2/update.sh | sudo bash to update CloudPanel cleanly without interrupting your live sites.
Conclusion
Mastering how to install CloudPanel gives you a fast, streamlined control panel tailored for modern cloud servers—complete with NGINX, PHP-FPM, MariaDB, Redis, Varnish Cache, and automated Let’s Encrypt SSL at zero licensing cost.
Bookmark this guide on how to install CloudPanel for your next Ubuntu VPS deployment, configure automated remote S3 backups inside the Admin Area, and enjoy effortless server management.
