How to install DirectAdmin on AlmaLinux 8
DirectAdmin is a paid web hosting control panel just like WHM CPanel. Available for installation on almost all popular Linux operating systems, including FreeBSD. Here we inform you of the process and commands to install DirectAdmin on the AlmaLinux 8 server.
Using the DirectAdmin control panel, you can easily manage your own web server and websites. It offers resale hosting, web server, DNS, backup, database and file management; log statistics, full usage statistics, system / service information, preconfigured reseller configuration plan, IP management
Authorization / update and other functions. Although not feature rich like WHM cPanel, but still cheaper.
Installing DirectAdmin on AlmaLinux 8.x
The steps below can also be used for Rocky Linux 8, CentOS 8, and RHEL 8.x operating systems.
1. Requirements for the Directadmin server to run this tutorial:
- AlmaLinux / RHEL / CentOS 7.x 64 bit, 8.x 64 bit
- RAM: at least 4 GB
- Intel and AMD processor of at least 500 MHz
- Minimum 2 gigabytes of free space
- root access
2. Buy or create a trial license
The first thing in the sense of installing DirectAdmin on AlmaLinux is to start by using the license for the IP address of the server on which you plan to install it. To do this, go to official site from this web control panel and create an account. You will get the login username and password of the registered e-mail address. Now, from your DirectAdmin account page, create a Trail license and add your server IP address to where you want to install this hosting control panel and for operating system choose CentOS 8 64 bit.
To note: To find the IP address of the server, you can run a command –
3. Run the system update
Once you have created the license, go back to your AlmaLinux server and run the system update to ensure that all system default packages are up to date and the repository is also flushed and rebuilt.
Switch to root user
4. Script to install DirectAdmin on AlmaLinux
We don’t need to go through many commands to set up this web hosting control panel on our Linux server, everything is preconfigured as a script, and we just need to run it. Here is that-
bash <(curl -Ss https://www.directadmin.com/setup.sh || wget -O - https://www.directadmin.com/setup.sh) auto
5. Write down the administrator username and password.
Once the installation is complete, the configuration will give you the Administrator username and password with the login url which is nothing else your-IP-server in the same way 2222 Harbor.
However, in case you haven’t noted the admin password for DirectAdmin or you forget it, then there is a command to retrieve the same.
Connect to your server with root and run one of the commands below-
grep adminpass /usr/local/directadmin/scripts/setup.txt or cat /usr/local/directadmin/scripts/setup.txt
6. Access the web interface and log in
Open any system browser that can access your server’s IP address with port 2222 – example:
To note: If you cannot access the web interface, open the 2222 port in system / cloud firewall
Finally, you have the interface to create users, resellers, management domains and other settings.