Guide to install aapanel on CentOS 7.
Before installing aapanel, there is one thing that must be considered, namely making sure to install on an empty server or clean OS. This means that the server has never been used for anything.
The recommended server that can be installed is with 2 GB RAM, 40 GB disk and at least 1 vCPU core.
To ensure the server is in the latest security and update condition, update it first.
yum update -y
For CentOS 7 use the following command:
yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh aapanel
Soon the aapanel installation dialog interface appears.
Do you want to install aaPanel to the /www directory now?(y/n): y
Do you need to enable the panel SSl ? (yes/n): y
Then the download and install process will take place.
During the installation process, there is a yellow warning message like this:
WARNING: You are using pip version 20.3.3; however, version 22.3 is available. You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command.
This means that the pip version used on the server is currently out of date and it is recommended to upgrade pip to the latest version, 22.3. How to upgrade pip is explained in the warning message.
Then not long after the aapanel installation process is complete. This time I will upgrade pip so that the warning message disappears. Pip upgrade process:
# /www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip Requirement already satisfied: pip in /www/server/panel/pyenv/lib/python3.7/site-packages (20.3.3) Collecting pip Downloading pip-22.3-py3-none-any.whl (2.1 MB) |████████████████████████████████| 2.1 MB 5.3 MB/s Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.3.3 Uninstalling pip-20.3.3: Successfully uninstalled pip-20.3.3 Successfully installed pip-22.3
When the aapanel installation process is complete, you will be given a user and password to log into the control panel. For example:
================================================================== Congratulations! Installed successfully! ================================================================== aaPanel Internet Address: https://x.x.x.x:7800/72e1010c aaPanel Internal Address: https://x.x.x.x:7800/72e1010c username: cb8dizvg password: xxxxxxx
From here you can simply point the login URL to your browser and follow the process. For the first time logging into the https protocol, you may encounter an error message "Warning Potention Security Risk".
But don't be afraid, you only need to click "Advanced" then "Accept the Risk and Continue". Then login using the username and password provided.
As additional information, make sure you keep the login URL, username, and password information from aapanel as well as possible for your needs. Make sure not to lose or forget it.
When successfully logging into aapanel using the login information provided after aapanel installation, you will first be asked to choose which software you want to use. On the left is LNMP (with nginx) and on the right is LAMP (using Apache). You can even install additional software such as a DNS server or mail server.
The LAMP software installation process takes approximately 10-15 minutes depending on the speed (CPU core) of your server and the amount of software you want to install.