{"id":1142,"date":"2026-09-02T23:19:43","date_gmt":"2026-09-02T17:49:43","guid":{"rendered":"https:\/\/cpanelfree.com\/blog\/?p=1142"},"modified":"2026-09-03T12:34:41","modified_gmt":"2026-09-03T07:04:41","slug":"how-to-install-aapanel-linux","status":"publish","type":"post","link":"https:\/\/cpanelfree.com\/blog\/how-to-install-aapanel-linux\/","title":{"rendered":"How to Install aaPanel on Linux: Step-by-Step Beginner 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 Installation Summary (TL;DR)<\/p>\n<ul style=\"margin: 0;padding-left: 20px;color: #333\">\n<li><strong>Goal:<\/strong> Install aaPanel on a fresh Linux instance (Ubuntu, Debian, AlmaLinux, Rocky).<\/li>\n<li><strong>Time Required:<\/strong> ~5 to 10 minutes.<\/li>\n<li><strong>Difficulty:<\/strong> Beginner-friendly (Modular App Store interface).<\/li>\n<li><strong>Ubuntu Command:<\/strong> <code>wget -O install.sh http:\/\/www.aapanel.com\/script\/install-ubuntu_6.0_en.sh &amp;&amp; sudo bash install.sh aapanel<\/code><\/li>\n<li><strong>Access URL:<\/strong> Printed in terminal upon completion (includes security entry URL on port 8888).<\/li>\n<\/ul>\n<\/div>\n<p><strong>aaPanel<\/strong> is one of the most accessible, visual, and modular open-source server control panels in 2026. Designed with a flexible &#8220;App Store&#8221; architecture, aaPanel allows you to install only the packages you need\u2014whether that is a 1-click <strong>LNMP (Nginx)<\/strong> or <strong>LAMP (Apache)<\/strong> stack, Redis cache, FTP server, Docker manager, or Node.js runtime\u2014all managed from an intuitive graphical web interface.<\/p>\n<p>In this beginner-friendly tutorial, you will learn how to prepare your Linux server, run the automated aaPanel installer, configure firewall security, and launch your first website.<\/p>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Direct Answer: How Do You Install aaPanel on Linux?<\/h2>\n<p><strong>Direct Answer:<\/strong> To install aaPanel on a clean Linux server, connect via SSH as root and run the official installation script for your distribution (e.g., on Ubuntu: <code>wget -O install.sh http:\/\/www.aapanel.com\/script\/install-ubuntu_6.0_en.sh &amp;&amp; sudo bash install.sh aapanel<\/code>). When finished, copy the unique login URL, username, and password displayed in your terminal, and select your preferred LNMP or LAMP stack upon initial login.<\/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>Compare Panels:<\/strong> Discover how aaPanel stacks up against CyberPanel, CloudPanel, and HestiaCP in our roundup 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 deployed <strong>Ubuntu 20.04\/22.04\/24.04<\/strong>, <strong>Debian 11\/12<\/strong>, or <strong>AlmaLinux \/ Rocky Linux 8\/9<\/strong>.<\/li>\n<li><strong>RAM:<\/strong> 512 MB minimum (1 GB to 2 GB+ recommended for production).<\/li>\n<li><strong>Disk Space:<\/strong> 10 GB SSD \/ NVMe minimum.<\/li>\n<li><strong>Access:<\/strong> Full <code>root<\/code> SSH privileges.<\/li>\n<li><strong>Clean Environment:<\/strong> No existing web server (Apache\/Nginx) or database (MySQL) pre-installed.<\/li>\n<\/ul>\n<\/div>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Step 1: Connect to Server &amp; Update System Packages<\/h2>\n<p>Connect to your 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 system packages to ensure complete dependency compatibility:<\/p>\n<p><strong>For Ubuntu \/ Debian:<\/strong><\/p>\n<pre style=\"background-color: #1e293b;color: #f8fafc;padding: 14px 18px;border-radius: 6px\"><code>apt update &amp;&amp; apt upgrade -y\napt install -y wget curl<\/code><\/pre>\n<p><strong>For AlmaLinux \/ Rocky Linux:<\/strong><\/p>\n<pre style=\"background-color: #1e293b;color: #f8fafc;padding: 14px 18px;border-radius: 6px\"><code>dnf update -y\ndnf install -y wget curl<\/code><\/pre>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Step 2: Run the Official aaPanel Installation Script<\/h2>\n<p>Execute the corresponding automated installation script for your Linux distribution:<\/p>\n<p><strong>Ubuntu \/ Deepin:<\/strong><\/p>\n<pre style=\"background-color: #1e293b;color: #f8fafc;padding: 14px 18px;border-radius: 6px\"><code>wget -O install.sh http:\/\/www.aapanel.com\/script\/install-ubuntu_6.0_en.sh &amp;&amp; sudo bash install.sh aapanel<\/code><\/pre>\n<p><strong>Debian:<\/strong><\/p>\n<pre style=\"background-color: #1e293b;color: #f8fafc;padding: 14px 18px;border-radius: 6px\"><code>wget -O install.sh http:\/\/www.aapanel.com\/script\/install-ubuntu_6.0_en.sh &amp;&amp; bash install.sh aapanel<\/code><\/pre>\n<p><strong>AlmaLinux \/ Rocky Linux \/ RHEL \/ CentOS:<\/strong><\/p>\n<pre style=\"background-color: #1e293b;color: #f8fafc;padding: 14px 18px;border-radius: 6px\"><code>yum install -y wget &amp;&amp; wget -O install.sh http:\/\/www.aapanel.com\/script\/install_6.0_en.sh &amp;&amp; bash install.sh aapanel<\/code><\/pre>\n<p>During the script execution, the installer will ask if you wish to install aaPanel to the default <code>\/www<\/code> directory: type <code>y<\/code> and press Enter.<\/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 Complete!<\/strong> In ~3 to 5 minutes, the terminal will print your unique access details:<\/p>\n<p>\u2022 <strong>aaPanel Internet Address:<\/strong> <code>https:\/\/your-server-ip:8888\/your_security_path<\/code><\/p>\n<p>\u2022 <strong>Username:<\/strong> Randomly generated administrative user<\/p>\n<p>\u2022 <strong>Password:<\/strong> Randomly generated secure password\n<\/div>\n<div style=\"background-color: #fff9e6;border-left: 4px solid #ffaa00;padding: 12px 18px;margin: 20px 0;border-radius: 4px\">\n    <strong>\u26a0\ufe0f Important:<\/strong> Save the security entrance URL immediately! aaPanel uses dynamic security entrance strings (e.g., <code>\/8f3a9b2c<\/code>) on port 8888 to prevent unauthorized brute-force attempts.\n<\/div>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Step 3: Open Required Firewall Ports<\/h2>\n<p>Ensure port <strong>8888<\/strong> (and standard web ports 80\/443) are allowed in your firewall (UFW\/Firewalld) and cloud security groups:<\/p>\n<pre style=\"background-color: #1e293b;color: #f8fafc;padding: 14px 18px;border-radius: 6px\"><code>sudo ufw allow 8888\/tcp\nsudo ufw allow 80\/tcp\nsudo ufw allow 443\/tcp\nsudo ufw allow 21\/tcp\nsudo ufw allow 22\/tcp\nsudo ufw --force enable<\/code><\/pre>\n<hr style=\"margin: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Step 4: Initial Login &amp; One-Click Web Stack Selection<\/h2>\n<p>1. Open your unique aaPanel security URL in your web browser.<\/p>\n<p>2. Enter the admin credentials provided at the end of the installation.<\/p>\n<p>3. Upon first login, aaPanel presents a <strong>One-Click Environment Setup Modal<\/strong>:<\/p>\n<ul>\n<li><strong>LNMP (Recommended):<\/strong> Nginx + MySQL\/MariaDB + PHP 8.2\/8.3 + phpMyAdmin + Pure-FTPd (Best for speed and high traffic).<\/li>\n<li><strong>LAMP:<\/strong> Apache + MySQL + PHP + phpMyAdmin (Best for traditional <code>.htaccess<\/code> rewrite rule compatibility).<\/li>\n<\/ul>\n<p>Select <strong>LNMP<\/strong> and click <strong>One-click Install<\/strong> (select <em>Fast \/ RPM<\/em> mode for instant deployment, or <em>Compiled<\/em> mode for tailored performance).<\/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>Prefer Native OpenLiteSpeed?<\/strong> If you want native OpenLiteSpeed caching rather than standard Nginx, read our guide 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: 30px 0;border: none;border-top: 1px solid #e2e8f0\" \/>\n<h2>Step 5: Deploying Your First Website with Free SSL<\/h2>\n<ol style=\"padding-left: 20px;line-height: 1.8\">\n<li>Click <strong>Website<\/strong> in the left navigation menu.<\/li>\n<li>Click <strong>Add site<\/strong>.<\/li>\n<li>Enter your domain name (e.g., <code>yourdomain.com<\/code>).<\/li>\n<li>Select your preferred PHP version and choose <strong>Create Database<\/strong>.<\/li>\n<li>Click <strong>Submit<\/strong>.<\/li>\n<li>Click on the newly created domain name, navigate to the <strong>SSL<\/strong> tab, select <strong>Let&#8217;s Encrypt<\/strong>, and click <strong>Apply<\/strong> to enable automated HTTPS encryption.<\/li>\n<\/ol>\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 How do I retrieve my aaPanel login URL if I forget it?<\/h3>\n<p style=\"margin: 0;color: #475569;line-height: 1.6\">Simply connect to your server via SSH as root and run the command <code>bt default<\/code>. aaPanel will print your panel URL, port, username, and password immediately.<\/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 install Node.js and Python applications in aaPanel?<\/h3>\n<p style=\"margin: 0;color: #475569;line-height: 1.6\">Yes. From aaPanel&#8217;s App Store, you can install the Node.js Version Manager (supporting PM2 and multiple Node releases) and Python Project Manager with 1 click.<\/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 aaPanel completely free?<\/h3>\n<p style=\"margin: 0;color: #475569;line-height: 1.6\">Yes. The core aaPanel open-source edition is 100% free with unlimited domain support. Optional commercial plugins (like enterprise WAF) are available in the App Store if needed.<\/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\/best-free-cpanel-alternatives-2026\/\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">Top 7 Best Free cPanel Alternatives<\/a><\/li>\n<li><a href=\"https:\/\/cpanelfree.com\/blog\/cyberpanel-vs-cpanel-comparison-2026\/\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">CyberPanel vs cPanel In-Depth Comparison<\/a><\/li>\n<li><a href=\"https:\/\/cpanelfree.com\/blog\/how-to-install-cyberpanel-ubuntu-24-04-lts\/\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">How to Install CyberPanel on Ubuntu 24.04<\/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\">aaPanel provides the easiest graphical server management experience for Linux beginners and experienced developers alike. With modular LNMP\/LAMP deployment, visual resource monitoring, and automated Let&#8217;s Encrypt SSL, it turns complex Linux VPS administration into an intuitive, point-and-click workflow.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to install aaPanel on Ubuntu, Debian &amp; AlmaLinux. Complete tutorial on 1-click LNMP\/LAMP stacks, App Store extensions, firewall &amp; SSL setup.<\/p>\n","protected":false},"author":1,"featured_media":1141,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51,1],"tags":[47,57,59,54,58,50,49],"class_list":["post-1142","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-web-hosting-news","tag-aapanel","tag-almalinux","tag-control-panels","tag-linux-tutorials","tag-ubuntu","tag-vps","tag-web-hosting"],"_links":{"self":[{"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/posts\/1142","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=1142"}],"version-history":[{"count":2,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/posts\/1142\/revisions"}],"predecessor-version":[{"id":1594,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/posts\/1142\/revisions\/1594"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/media\/1141"}],"wp:attachment":[{"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/media?parent=1142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/categories?post=1142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/tags?post=1142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}