{"id":1138,"date":"2026-09-02T23:19:41","date_gmt":"2026-09-02T17:49:41","guid":{"rendered":"https:\/\/cpanelfree.com\/blog\/?p=1138"},"modified":"2026-09-03T12:34:47","modified_gmt":"2026-09-03T07:04:47","slug":"how-to-install-cloudpanel-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/cpanelfree.com\/blog\/how-to-install-cloudpanel-ubuntu-24-04\/","title":{"rendered":"How to Install CloudPanel on Ubuntu 24.04: Step-by-Step Guide (2026)"},"content":{"rendered":"<div style=\"background-color: #f0f7ff;border-left: 4px solid #0066cc;padding: 16px 20px;margin-bottom: 25px;border-radius: 6px\">\n<p style=\"margin: 0 0 8px 0;font-weight: bold;color: #004499;font-size: 1.1em\">\u26a1 Quick Tutorial Summary (TL;DR)<\/p>\n<ul style=\"margin: 0;padding-left: 20px;color: #333\">\n<li><strong>Goal:<\/strong> Deploy CloudPanel v2 (Nginx + PHP-FPM + MySQL 8.4) on a clean Ubuntu 24.04 LTS instance.<\/li>\n<li><strong>Time Required:<\/strong> ~5 to 8 minutes.<\/li>\n<li><strong>Difficulty:<\/strong> Beginner-friendly.<\/li>\n<li><strong>Primary Command:<\/strong> <code>curl -sS https:\/\/installer.cloudpanel.io\/ce\/v2\/install.sh -o install.sh &amp;&amp; sudo DB_ENGINE=MYSQL_8.4 bash install.sh<\/code><\/li>\n<li><strong>Access URL:<\/strong> <code>https:\/\/your-server-ip:8443<\/code><\/li>\n<\/ul>\n<\/div>\n<p><strong>CloudPanel<\/strong> 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 <strong>Nginx, PHP-FPM, MySQL 8.4, and Redis<\/strong>, CloudPanel eliminates legacy server bloat to deliver sub-second response times for WordPress, Laravel, Symfony, and Node.js applications.<\/p>\n<p>In this step-by-step tutorial, you will learn how to install CloudPanel on <strong>Ubuntu 24.04 LTS (Noble Numbat)<\/strong>, configure required security firewall ports, set up administrative credentials, and launch your first high-speed website.<\/p>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Direct Answer: How Do You Install CloudPanel on Ubuntu 24.04?<\/h2>\n<p><strong>Direct Answer:<\/strong> To install CloudPanel on Ubuntu 24.04 LTS, connect to a clean server as root, update system packages with <code>apt update &amp;&amp; apt upgrade -y<\/code>, download the installer script, and run <code>sudo DB_ENGINE=MYSQL_8.4 bash install.sh<\/code>. Once the installer finishes in ~5 minutes, open <code>https:\/\/your-server-ip:8443<\/code> in your browser to create your admin account.<\/p>\n<div style=\"background-color: #f8fafc;border-left: 4px solid #0284c7;padding: 12px 16px;margin: 18px 0;border-radius: 4px\">\n    \ud83d\udcd6 <strong>Related Comparison:<\/strong> Looking for other free control panels? Read our in-depth review of the <a href=\"https:\/\/cpanelfree.com\/blog\/best-free-cpanel-alternatives-2026\/\" style=\"color: #0284c7;font-weight: bold;text-decoration: underline\">Top 7 Best Free cPanel Alternatives in 2026<\/a>.\n<\/div>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>System Requirements &amp; Prerequisites<\/h2>\n<div style=\"background-color: #f8fafc;border: 1px solid #e2e8f0;padding: 18px 22px;margin-bottom: 25px;border-radius: 6px\">\n<h3 style=\"margin-top: 0;color: #1e293b;font-size: 1.15em\">\ud83d\udccb Server Prerequisites Checklist<\/h3>\n<ul style=\"margin-bottom: 0;padding-left: 20px;color: #334155;line-height: 1.7\">\n<li><strong>Operating System:<\/strong> Clean, freshly installed <strong>Ubuntu 24.04 LTS<\/strong> or <strong>Ubuntu 22.04 LTS<\/strong> (64-bit \/ x86_64 \/ ARM64).<\/li>\n<li><strong>RAM:<\/strong> 1 GB minimum (2 GB+ recommended for production workloads).<\/li>\n<li><strong>CPU:<\/strong> 1 Core (2.0 GHz+) minimum.<\/li>\n<li><strong>Disk Space:<\/strong> 10 GB SSD \/ NVMe minimum.<\/li>\n<li><strong>Root Privileges:<\/strong> Full <code>root<\/code> or <code>sudo<\/code> access.<\/li>\n<li><strong>Clean Slate:<\/strong> No existing Apache, Nginx, or MySQL packages pre-installed.<\/li>\n<\/ul>\n<\/div>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Step 1: Update Packages &amp; Install Prerequisites<\/h2>\n<p>Log in to your Ubuntu 24.04 server via SSH:<\/p>\n<pre style=\"background-color: #1e293b;color: #f8fafc;padding: 14px 18px;border-radius: 6px\"><code>ssh root@your-server-ip<\/code><\/pre>\n<p>Update repository package lists, upgrade installed packages, and install required utilities:<\/p>\n<pre style=\"background-color: #1e293b;color: #f8fafc;padding: 14px 18px;border-radius: 6px\"><code>sudo apt update &amp;&amp; sudo apt -y upgrade\nsudo apt -y install curl wget sudo ufw<\/code><\/pre>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Step 2: Open Required Firewall Ports<\/h2>\n<p>CloudPanel operates on port <strong>8443<\/strong> 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:<\/p>\n<table style=\"width: 100%;border-collapse: collapse;margin-top: 15px;margin-bottom: 25px;text-align: left\">\n<thead>\n<tr style=\"background-color: #f1f5f9;border-bottom: 2px solid #cbd5e1\">\n<th style=\"padding: 10px;border: 1px solid #cbd5e1\">Port Number<\/th>\n<th style=\"padding: 10px;border: 1px solid #cbd5e1\">Protocol<\/th>\n<th style=\"padding: 10px;border: 1px solid #cbd5e1\">Purpose<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding: 10px;border: 1px solid #cbd5e1\"><strong>8443<\/strong><\/td>\n<td style=\"padding: 10px;border: 1px solid #cbd5e1\">TCP<\/td>\n<td style=\"padding: 10px;border: 1px solid #cbd5e1\">CloudPanel HTTPS Admin Dashboard<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 10px;border: 1px solid #cbd5e1\"><strong>80 &amp; 443<\/strong><\/td>\n<td style=\"padding: 10px;border: 1px solid #cbd5e1\">TCP<\/td>\n<td style=\"padding: 10px;border: 1px solid #cbd5e1\">HTTP &amp; HTTPS Web Traffic<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 10px;border: 1px solid #cbd5e1\"><strong>22<\/strong><\/td>\n<td style=\"padding: 10px;border: 1px solid #cbd5e1\">TCP<\/td>\n<td style=\"padding: 10px;border: 1px solid #cbd5e1\">SSH &amp; SFTP File Access<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>To configure UFW quickly from terminal:<\/p>\n<pre style=\"background-color: #1e293b;color: #f8fafc;padding: 14px 18px;border-radius: 6px\"><code>sudo ufw allow 22\/tcp\nsudo ufw allow 80\/tcp\nsudo ufw allow 443\/tcp\nsudo ufw allow 8443\/tcp\nsudo ufw --force enable<\/code><\/pre>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Step 3: Run the Official CloudPanel Automated Installer<\/h2>\n<p>CloudPanel v2 allows you to select your preferred database engine during setup. For most modern web applications, <strong>MySQL 8.4<\/strong> or <strong>MariaDB 11.8<\/strong> is recommended.<\/p>\n<p>Download the installer script and execute it with MySQL 8.4:<\/p>\n<pre style=\"background-color: #1e293b;color: #f8fafc;padding: 14px 18px;border-radius: 6px\"><code>curl -sS https:\/\/installer.cloudpanel.io\/ce\/v2\/install.sh -o install.sh\nsudo DB_ENGINE=MYSQL_8.4 bash install.sh<\/code><\/pre>\n<div style=\"background-color: #eff6ff;border-left: 4px solid #3b82f6;padding: 12px 18px;margin: 15px 0;border-radius: 4px\">\n    <strong>\ud83d\udca1 Prefer MariaDB?<\/strong> If you prefer MariaDB over MySQL, simply change the database variable:<\/p>\n<p><code>sudo DB_ENGINE=MARIADB_11.8 bash install.sh<\/code>\n<\/div>\n<p>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 <strong>under 5 minutes<\/strong>.<\/p>\n<div style=\"background-color: #f0fdf4;border-left: 4px solid #16a34a;padding: 14px 18px;margin: 20px 0;border-radius: 4px\">\n    <strong>\ud83c\udf89 Installation Successful!<\/strong> The terminal will confirm completion and display your access link: <code>https:\/\/your-server-ip:8443<\/code>.\n<\/div>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Step 4: Create Your Admin Account<\/h2>\n<p>1. Open your web browser and visit your server URL on port 8443:<\/p>\n<pre style=\"background-color: #1e293b;color: #f8fafc;padding: 14px 18px;border-radius: 6px\"><code>https:\/\/your-server-ip:8443<\/code><\/pre>\n<p>2. You will see a self-signed certificate notice. Click <em>Advanced &gt; Proceed<\/em> to open the initial user creation screen.<\/p>\n<p>3. Fill in your details:<\/p>\n<ul>\n<li><strong>Admin User:<\/strong> Your preferred administrator username<\/li>\n<li><strong>Email:<\/strong> Your email address<\/li>\n<li><strong>Password:<\/strong> A strong, unique password<\/li>\n<\/ul>\n<p>4. Click <strong>Create User<\/strong> to finalize your administrative setup and enter the CloudPanel dashboard.<\/p>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Step 5: Deploy Your First Website with 1-Click SSL<\/h2>\n<p>CloudPanel makes deploying sites fast and straightforward:<\/p>\n<ol style=\"padding-left: 20px;line-height: 1.8\">\n<li>From the top navigation, click <strong>+ Add Site<\/strong>.<\/li>\n<li>Select your application type:\n<ul>\n<li><strong>Create a WordPress Site<\/strong> (Includes 1-click installer and database provisioning).<\/li>\n<li><strong>Create a PHP Site<\/strong> (Laravel, Symfony, custom PHP).<\/li>\n<li><strong>Create a Node.js Site<\/strong> (Next.js, Express, PM2).<\/li>\n<li><strong>Create a Python Site<\/strong> (Django, Flask).<\/li>\n<\/ul>\n<\/li>\n<li>Enter your domain name (ensure your DNS A record points to the server IP).<\/li>\n<li>Once deployed, navigate to the <strong>SSL\/TLS<\/strong> tab and click <strong>New Let&#8217;s Encrypt Certificate<\/strong>. CloudPanel will issue and auto-renew the certificate automatically.<\/li>\n<\/ol>\n<div style=\"background-color: #f8fafc;border-left: 4px solid #0284c7;padding: 12px 16px;margin: 18px 0;border-radius: 4px\">\n    \ud83d\udcd6 <strong>Need OpenLiteSpeed instead?<\/strong> If you want native OpenLiteSpeed caching rather than Nginx, follow our tutorial on <a href=\"https:\/\/cpanelfree.com\/blog\/how-to-install-cyberpanel-ubuntu-24-04-lts\/\" style=\"color: #0284c7;font-weight: bold;text-decoration: underline\">How to Install CyberPanel on Ubuntu 24.04 LTS<\/a>.\n<\/div>\n<hr style=\"margin: 35px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Frequently Asked Questions (FAQ)<\/h2>\n<div style=\"margin-bottom: 16px;border: 1px solid #e2e8f0;border-radius: 8px;padding: 18px 20px;background-color: #fafbfc\">\n<h3 style=\"margin: 0 0 10px 0;font-size: 1.1em;color: #1e293b\">\u2753 Does CloudPanel include a built-in email server?<\/h3>\n<p style=\"margin: 0;color: #475569;line-height: 1.6\">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.<\/p>\n<\/div>\n<div style=\"margin-bottom: 16px;border: 1px solid #e2e8f0;border-radius: 8px;padding: 18px 20px;background-color: #fafbfc\">\n<h3 style=\"margin: 0 0 10px 0;font-size: 1.1em;color: #1e293b\">\u2753 Can I switch PHP versions per website in CloudPanel?<\/h3>\n<p style=\"margin: 0;color: #475569;line-height: 1.6\">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.<\/p>\n<\/div>\n<div style=\"margin-bottom: 25px;border: 1px solid #e2e8f0;border-radius: 8px;padding: 18px 20px;background-color: #fafbfc\">\n<h3 style=\"margin: 0 0 10px 0;font-size: 1.1em;color: #1e293b\">\u2753 Is CloudPanel completely free?<\/h3>\n<p style=\"margin: 0;color: #475569;line-height: 1.6\">Yes, CloudPanel is 100% free to use on unlimited domains, with zero licensing restrictions or tiered feature gates.<\/p>\n<\/div>\n<div style=\"background-color: #f8fafc;border: 1px solid #e2e8f0;border-left: 4px solid #0ea5e9;padding: 20px;border-radius: 8px;margin: 30px 0\">\n<h3 style=\"margin-top: 0;color: #0f172a;font-size: 18px;display: flex;align-items: center\">\n        <span style=\"margin-right: 8px\">\ud83d\udd17<\/span> Recommended Related Technical Guides:<br \/>\n    <\/h3>\n<ul style=\"margin: 10px 0 0 0;padding-left: 20px;line-height: 1.8\">\n<li><a href=\"https:\/\/cpanelfree.com\/blog\/how-to-get-free-cloud-vps-forever\/\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">How to Get a Free Cloud VPS Forever<\/a><\/li>\n<li><a href=\"https:\/\/cpanelfree.com\/blog\/oracle-cloud-always-free-vps-setup-guide\/\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">Oracle Cloud Always Free VPS Setup Guide<\/a><\/li>\n<li><a href=\"https:\/\/cpanelfree.com\/blog\/best-cheap-cloud-vps-providers-2026\/\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">Top 7 Best Cheap Cloud VPS Providers in 2026<\/a><\/li>\n<li><a href=\"https:\/\/cpanelfree.com\/blog\/best-free-web-hosting-2026\/\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">Top 10 Best Free Web Hosting Services<\/a><\/li>\n<li><a href=\"https:\/\/cpanelfree.com\/#plans\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">Explore $0 Free cPanel Web Hosting Plans<\/a><\/li>\n<\/ul>\n<\/div>\n<div style=\"background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);color: #ffffff;padding: 26px 22px;border-radius: 8px;margin-top: 30px\">\n<h3 style=\"color: #ffffff;margin-top: 0;font-size: 1.25em\">\ud83c\udfaf Conclusion &amp; Next Steps<\/h3>\n<p style=\"color: #cbd5e1;line-height: 1.7;margin-bottom: 0\">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&#8217;s Encrypt SSL, it is an exceptional solution for high-throughput cloud hosting.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to install CloudPanel v2 on Ubuntu 24.04 LTS with Nginx, PHP 8.3 &amp; MySQL. Complete tutorial with firewall setup, SSL &amp; WordPress deployment.<\/p>\n","protected":false},"author":1,"featured_media":1137,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51,1],"tags":[46,54,60,61,52,50,49],"class_list":["post-1138","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-web-hosting-news","tag-cloudpanel","tag-linux-tutorials","tag-nginx","tag-php","tag-ubuntu-24-04","tag-vps","tag-web-hosting"],"_links":{"self":[{"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/posts\/1138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/comments?post=1138"}],"version-history":[{"count":2,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/posts\/1138\/revisions"}],"predecessor-version":[{"id":1596,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/posts\/1138\/revisions\/1596"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/media\/1137"}],"wp:attachment":[{"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/media?parent=1138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/categories?post=1138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/tags?post=1138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}