{"id":379,"date":"2024-03-24T20:51:05","date_gmt":"2024-03-24T20:51:05","guid":{"rendered":"https:\/\/vpswebhostingindia.in\/blog\/?p=379"},"modified":"2024-03-24T22:24:17","modified_gmt":"2024-03-24T22:24:17","slug":"how-to-install-aapanel-on-ubuntu","status":"publish","type":"post","link":"https:\/\/vpswebhostingindia.in\/blog\/how-to-install-aapanel-on-ubuntu\/","title":{"rendered":"How to install aaPanel on Ubuntu 22.04 | 20.04 Linux server"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h2>\n\n\n\n<p>aaPanel on Ubuntu &#8211; <a href=\"https:\/\/www.aapanel.com\/\" rel=\"nofollow noopener\" target=\"_blank\">aaPanel<\/a> is an open-source lightweight Linux control panel that provides a web interface and tools that simplify the creation of a web hosting environment. The control panel offers a straightforward web dashboard to set up websites, databases, DNS entries, mail accounts, and applications on the server.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#introduction\">Introduction<\/a><\/li><li><a href=\"#before-installation\">Before installation<\/a><\/li><li><a href=\"#step-by-step-installation-of-aa-panel-on-ubuntu\">Step-by-Step Installation of aaPanel on Ubuntu<\/a><ul><li><a href=\"#step-1-update-your-ubuntu-22-04-or-20-04-server\">Step 1: Update your Ubuntu 22.04 or 20.04 Server<\/a><\/li><li><a href=\"#step-2-download-and-execute-the-installation-script\">Step 2. Download and Execute the Installation Script<\/a><\/li><li><a href=\"#step-3-access-aa-panel-gui\">Step 3. Access aaPanel GUI<\/a><\/li><\/ul><\/li><li><a href=\"#uninstallation-of-aa-panel\">Uninstallation of aaPanel<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<p>aaPanel is a Chinese alternative of a web server control panel like cPanel and Vesta. Developed by BT.cn it is&nbsp;currently at version v6.9.79 (at the moment of the writing). It is free, mature enough, and features some really nice stuff like editor, uploader, file manager, backups and Nginx preconfigured rules. Also, it is user friendly and offers GUI for most of the essential Linux services, making your job managing a web server easier.<\/p>\n\n\n\n<p>In this article, we\u2019ll install aaPanel on a Server, then create a simple website using the web interface.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"before-installation\">Before installation<\/h2>\n\n\n\n<p>Before start Aapanel installation, please ensure that you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Server with at least 2Gb RAM and 20GB disk space.<\/li>\n\n\n\n<li>Actual operation system (Ubuntu 20.04 LTS in this example).<\/li>\n\n\n\n<li>Permissions of &#8220;root&#8221; user<\/li>\n\n\n\n<li>Domain &#8220;pointed&#8221; to your server.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-by-step-installation-of-aa-panel-on-ubuntu\">Step-by-Step Installation of aaPanel on Ubuntu<\/h2>\n\n\n\n<p><strong>Follow these steps to install aaPanel on Ubuntu server:<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-update-your-ubuntu-22-04-or-20-04-server\">Step 1: Update your Ubuntu 22.04 or 20.04 Server<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Login to the server via SSH as &#8220;root&#8221; user and update current system;<\/li>\n<\/ul>\n\n\n\n<p class=\"has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-800e52263d09c037508180eac946c6f5\">apt-get update; apt upgrade -y<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"342\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/pic1-6.webp\" alt=\"aaPanel on Ubuntu\" class=\"wp-image-380\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/pic1-6.webp 547w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/pic1-6-300x188.webp 300w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Reboot the server to avoid outdated software using;<\/li>\n\n\n\n<li>Install&nbsp;<em>wget <\/em>package to may acquire installation script further;<\/li>\n<\/ul>\n\n\n\n<p class=\"has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-11e392834209cf9c243e03c65805f775\">apt install wget -y<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"657\" height=\"342\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/pic2-8.png\" alt=\"\" class=\"wp-image-381\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/pic2-8.png 657w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/pic2-8-300x156.png 300w\" sizes=\"auto, (max-width: 657px) 100vw, 657px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-2-download-and-execute-the-installation-script\">Step 2. Download and Execute the Installation Script<\/h3>\n\n\n\n<p>We need to download the aaPanel installation script first with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-7103f56c1d294c3d02b123e1e71e1564\"><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\n\n\n<p><strong>Note<\/strong>: you can check out the script for other Linux systems from the <a href=\"https:\/\/www.aapanel.com\/new\/download.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>official website<\/strong><\/a>.<\/p>\n\n\n\n<p>As you run the script, it will ask for your permission to install aaPanel in the web directory \/www, press the<strong> Y<\/strong> key, and then <strong>Enter <\/strong>to continue the process.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"949\" height=\"401\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-26.png\" alt=\"\" class=\"wp-image-383\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-26.png 949w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-26-300x127.png 300w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-26-768x325.png 768w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><\/figure>\n\n\n\n<p>If you are not using SSL already or some WAF service like CloudFlare and want to enable SSL in aaPanel then again type \u201c<strong>Y<\/strong>\u201d and hit the <strong>Enter <\/strong>key.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"563\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-25.png\" alt=\"\" class=\"wp-image-382\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-25.png 969w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-25-300x174.png 300w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-25-768x446.png 768w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/figure>\n\n\n\n<p>Process may take a time, be patient. When install finished, you will see access credentials. Keep it safely.<\/p>\n\n\n\n<p>After installation, you should see something like this:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/webdock.io\/application\/files\/2416\/0675\/9764\/aapanel_install.png\" alt=\"aapanel_install.png\"\/><\/figure>\n\n\n\n<p>By default, aaPanel runs on port 8888. You can check it using the following command:<\/p>\n\n\n\n<p class=\"has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-39a69e6dd4d115c3882d69e3b435fb52\">ss -antpl | grep 8888<\/p>\n\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"71\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-28-1024x71.png\" alt=\"\" class=\"wp-image-388\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-28-1024x71.png 1024w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-28-300x21.png 300w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-28-768x53.png 768w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-28.png 1308w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>During the installation process, aaPanel enables and configures the UFW firewall and allows necessary ports through the firewall. You can check them with the following command:<\/p>\n\n\n\n<p class=\"has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-66b173db6348d379cde953d39b02d236\">ufw status<\/p>\n\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"751\" height=\"653\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-29.png\" alt=\"\" class=\"wp-image-389\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-29.png 751w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/image-29-300x261.png 300w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-access-aa-panel-gui\">Step 3. Access aaPanel GUI<\/h3>\n\n\n\n<p>To access the aaPanel use the given URL after the installation and use the provided credentials. <\/p>\n\n\n\n<p class=\"has-black-color has-cyan-bluish-gray-background-color has-text-color has-background has-link-color wp-elements-d0af100d6a70480730651528b93a644e\">https:\/\/<strong>YourServerIPAddress<\/strong>:8888\/4df96639<\/p>\n\n\n\n<p>You will be prompted to log in to aaPanel using the username and password you got upon the completion of the installation script. Once logged in, you can start using aaPanel to manage your web server and hosting services.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"657\" src=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/aaPanel-Linux-control-panel-1024x657.png\" alt=\"\" class=\"wp-image-385\" srcset=\"https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/aaPanel-Linux-control-panel-1024x657.png 1024w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/aaPanel-Linux-control-panel-300x192.png 300w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/aaPanel-Linux-control-panel-768x493.png 768w, https:\/\/vpswebhostingindia.in\/blog\/wp-content\/uploads\/2024\/03\/aaPanel-Linux-control-panel.png 1152w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Note: When installing aaPanel, the default port to use is <strong>8888<\/strong>. To change the default port, visit the article <a href=\"https:\/\/vpswebhostingindia.in\/blog\/change-the-aapanel-port\">change-the-aapanel-port<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"uninstallation-of-aa-panel\">Uninstallation of aaPanel<\/h2>\n\n\n\n<p>In the future, if you want to remove the aaPanel from your Ubuntu server then for that first stop its server and then delete the folder where all the files of this open-source control panel reside. Here is the command for all this:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-2bd7dc7fde0e0e64f3c45a453027565f\"><code>sudo bt stop &amp;&amp;sudo update-rc.d -f bt remove &amp;&amp;sudo rm -f \/etc\/init.d\/bt &amp;&amp;sudo rm -rf \/www\/server\/panel<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Introduction aaPanel on Ubuntu &#8211; aaPanel is an open-source lightweight Linux control panel that provides a web interface and tools that simplify the creation of a web hosting environment. The control panel offers a straightforward web dashboard to set up websites, databases, DNS entries, mail accounts, and applications on the server. aaPanel is a Chinese [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":392,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"_eb_attr":"","footnotes":""},"categories":[30,29],"tags":[],"class_list":["post-379","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aapanel","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts\/379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/comments?post=379"}],"version-history":[{"count":7,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts\/379\/revisions"}],"predecessor-version":[{"id":413,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/posts\/379\/revisions\/413"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/media\/392"}],"wp:attachment":[{"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/media?parent=379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/categories?post=379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpswebhostingindia.in\/blog\/wp-json\/wp\/v2\/tags?post=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}