{"id":653,"date":"2024-08-18T13:05:07","date_gmt":"2024-08-18T13:05:07","guid":{"rendered":"https:\/\/joomlawebhosting.in\/tutorial\/?p=653"},"modified":"2024-08-18T13:05:55","modified_gmt":"2024-08-18T13:05:55","slug":"how-to-install-aapanel-on-ubuntu","status":"publish","type":"post","link":"https:\/\/joomlawebhosting.in\/tutorial\/how-to-install-aapanel-on-ubuntu\/","title":{"rendered":"How to Install aaPanel on Ubuntu"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Install aaPanel on Ubuntu \u2013\u00a0<a href=\"https:\/\/www.aapanel.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">aaPanel<\/a>\u00a0is 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\u00a0<a href=\"https:\/\/www.joomlawebhosting.in\/\">server<\/a>.<\/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=\"#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-on-ubuntu\">Uninstallation of aaPanel on Ubuntu\u00a0<\/a><\/li><\/ul><\/nav><\/div>\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 class=\"wp-block-paragraph\"><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 \u201croot\u201d user and update current system;<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get update; apt upgrade -y<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"342\" src=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/pic1-6.webp\" alt=\"\" class=\"wp-image-658\" srcset=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/pic1-6.webp 547w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/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\u00a0<em>wget\u00a0<\/em>package to may acquire installation script further;<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install wget -y<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"657\" height=\"342\" src=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/pic2-8.png\" alt=\"\" class=\"wp-image-660\" srcset=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/pic2-8.png 657w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/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 class=\"wp-block-paragraph\">We need to download the aaPanel installation script first with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget -O install.sh http:\/\/www.aapanel.com\/script\/install-ubuntu_6.0_en.sh &amp;&amp; sudo bash install.sh aapanel<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>: you can check out the script for other Linux systems from the&nbsp;<a href=\"https:\/\/www.aapanel.com\/new\/download.html\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>official website<\/strong><\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As you run the script, it will ask for your permission to install aaPanel in the web directory \/www, press the<strong>&nbsp;Y<\/strong>&nbsp;key, and then&nbsp;<strong>Enter&nbsp;<\/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:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-26.png\" alt=\"\" class=\"wp-image-661\" srcset=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-26.png 949w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-26-300x127.png 300w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-26-768x325.png 768w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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&nbsp;<strong>Enter&nbsp;<\/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:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-25.png\" alt=\"\" class=\"wp-image-662\" srcset=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-25.png 969w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-25-300x174.png 300w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-25-768x446.png 768w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Process may take a time, be patient. When install finished, you will see access credentials. Keep it safely.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After installation, you should see something like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"193\" src=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/aapanel_install.png\" alt=\"\" class=\"wp-image-663\" srcset=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/aapanel_install.png 698w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/aapanel_install-300x83.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">By default, aaPanel runs on port 8888. You can check it using the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ss -antpl | grep 8888<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"71\" src=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-28-1024x71-1.png\" alt=\"\" class=\"wp-image-664\" srcset=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-28-1024x71-1.png 1024w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-28-1024x71-1-300x21.png 300w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-28-1024x71-1-768x53.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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=\"wp-block-paragraph\">ufw status<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"751\" height=\"653\" src=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-29-1.png\" alt=\"\" class=\"wp-image-666\" srcset=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-29-1.png 751w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-29-1-300x261.png 300w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output:<\/strong><\/p>\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 class=\"wp-block-paragraph\">To access the aaPanel use the given URL after the installation and use the provided credentials.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"614\" src=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-1536x921-1-1024x614.png\" alt=\"\" class=\"wp-image-667\" srcset=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-1536x921-1-1024x614.png 1024w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-1536x921-1-300x180.png 300w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-1536x921-1-768x461.png 768w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-1536x921-1.png 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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=\"818\" src=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-1-1024x818.png\" alt=\"\" class=\"wp-image-668\" srcset=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-1-1024x818.png 1024w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-1-300x240.png 300w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-1-768x613.png 768w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/image-1.png 1043w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Note: When installing aaPanel, the default port to use is&nbsp;<strong>8888<\/strong>. To change the default port, visit the article&nbsp;<a href=\"https:\/\/vpswebhostingindia.in\/blog\/change-the-aapanel-port\" rel=\"noreferrer noopener\" target=\"_blank\">change-the-aapanel-port<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"uninstallation-of-aa-panel-on-ubuntu\">Uninstallation of aaPanel on Ubuntu&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"657\" src=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/aaPanel-Linux-control-panel-1024x657-1.png\" alt=\"\" class=\"wp-image-669\" srcset=\"https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/aaPanel-Linux-control-panel-1024x657-1.png 1024w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/aaPanel-Linux-control-panel-1024x657-1-300x192.png 300w, https:\/\/joomlawebhosting.in\/tutorial\/wp-content\/uploads\/2024\/08\/aaPanel-Linux-control-panel-1024x657-1-768x493.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">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<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Install aaPanel on Ubuntu \u2013\u00a0aaPanel\u00a0is 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\u00a0server. Step-by-Step Installation of aaPanel on Ubuntu Follow [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":656,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,39],"tags":[],"class_list":["post-653","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-control-panel","category-information"],"_links":{"self":[{"href":"https:\/\/joomlawebhosting.in\/tutorial\/wp-json\/wp\/v2\/posts\/653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/joomlawebhosting.in\/tutorial\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/joomlawebhosting.in\/tutorial\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/joomlawebhosting.in\/tutorial\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/joomlawebhosting.in\/tutorial\/wp-json\/wp\/v2\/comments?post=653"}],"version-history":[{"count":4,"href":"https:\/\/joomlawebhosting.in\/tutorial\/wp-json\/wp\/v2\/posts\/653\/revisions"}],"predecessor-version":[{"id":670,"href":"https:\/\/joomlawebhosting.in\/tutorial\/wp-json\/wp\/v2\/posts\/653\/revisions\/670"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/joomlawebhosting.in\/tutorial\/wp-json\/wp\/v2\/media\/656"}],"wp:attachment":[{"href":"https:\/\/joomlawebhosting.in\/tutorial\/wp-json\/wp\/v2\/media?parent=653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/joomlawebhosting.in\/tutorial\/wp-json\/wp\/v2\/categories?post=653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/joomlawebhosting.in\/tutorial\/wp-json\/wp\/v2\/tags?post=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}