Introduction: In this tutorial, we will guide you through the process of installing aaPanel, an open-source web hosting control panel that includes email features and a one-click software installer.
Prerequisites:
Before we begin, make sure you have the following:
- A server with root access.
- Basic knowledge of Linux and how to use the terminal.
What You Should Know:
Before we get started, here are some key details you should know:
- Username: root (This is the default SSH user.)
- Hostname: <your_hostname> (e.g., sub.domain.tld)
- Domain: <domain.tld> (e.g., example.com)
- Subdomain: <sub.domain.tld> (e.g., sub.example.com)
- IPv4 Address: 192.0.2.1 (Standard IP Address)
Step 1: Setting Up Your Server
Choosing a Project:
- Log in to your server hosting provider's platform.
Creating the Server:
- Create your server instance with your desired specifications.
Choosing the Server's Operating System:
- Select the operating system for your server. In this tutorial, we'll use Ubuntu 20.04, but you can choose any supported by aaPanel.
Selecting the Type of Server:
- Choose the server type based on your needs. Ensure it meets the requirements for your hosting.
Other Settings:
- Configure other options according to your preferences. Defaults are usually fine.
Step 2: Installation
Connecting to Your Server:
-
Connect to your server using SSH. Use the following command, replacing
<IP Address>
with your server's IPv4 address, or of course you can use putty software.ssh root@<IP Address>
Installing aaPanel:
-
Run the following commands to install aaPanel:
Install, Update, Upgrade all packages apt-get update -y && apt-get upgrade -y apt-get install wget -y wget -O install.sh https://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh
-
After the installation script completes, you will see the details of the default admin user.
Step 3: Accessing the Web Hosting Panel
-
Access the web hosting panel using the provided admin user details.
-
Upon logging in, you may be prompted to install recommended software packages. Choose LNMP or LAMP based on your requirements. This selection is typically made on the software recommendations screen.
-
Once you complete the package installation or close the screen, you will see the aaPanel dashboard.
Adding Your First Website:
- To add a website, configure the basic settings (ensure the domain points to your server's public IPv4 address).
Adding SSL Certificate:
- Configure SSL options for added security.
Conclusion:
Congratulations! You have successfully installed aaPanel on your server. You can now manage your websites and hosting services with ease. Thank you for following this tutorial.