Today I will guide you to install DirectAdmin on your VPS / Server. In my opinion, I see DirectAdmin is a very good Control Panel with low maintenance costs, does not take up a lot of resources and is suitable for running with small and medium systems.
What is DirectAdmin?
DirectAdmin is one of the many control panels (also known as Control Panel) for Web Hosting administrators with a lot of basic to advanced features that you need to use. In Vietnam, DirectAdmin is also referred to as DA, DirectAdmin is a Web Hosting administration tool with copyright and has no free version and is released by JBMC Software. Good compatibility with the following operating systems:
- RedHat Enterprise / CentOS
- Ubuntu (Using 64-bit version for Ubuntu)
System requirements when installing DirectAdmin
Even though DirectAdmin uses very few resources, Direcadmin also recommends using at least 500 Mhz processor and as many cores as possible. Minimum 1GB RAM required (Recommended 2GB RAM or more), at least 2GB SWAP. Particularly systems using CentOS 8 operating system will need at least 2GB of RAM (Best to use 4GB RAM or more).
Hard drive free space at least 2 Gigabytes of space after the operating system is installed. In the case of high traffic you will probably need to upgrade more CPU and RAM accordingly. All CPUs Intel and AMD will work fine, CPU Solaris / Sparc will not work.
[wps_note size=”17″ background=”#fae588″ color=”#333333″ radius=”3″]Note: Please do not install services like Apache, PHP, MySQL, Ftp, Sendmail, etc., because during the installation Directadmin will do this for you. All that DirectAdmin needs is a VPS / Server installed new operating system. DirectAdmin should not be installed on the current running system, DirectAdmin will not preserve your data if you overwrite it.[/wps_note]
Instructions for installing DirectAdmin
In this DirectAdmin installation guide I will use a VPS running CentOS 7 and have a 5-core CPU and 8GB of RAM.
To install DirectAdmin you need to have root information of VPS / Server and the SSH service must be active to be able to use the installation commands. With the VPS at Azdigi by default, all SSH are available after installation.
Step 1: Update the operating system version to the latest version
The first step before installing DirectAdmin you need to update the operating system to the latest version for everything to work smoothly in the installation.
To update CentOS 7, use the following command:
[wps_clipboard]yum update -y[/wps_clipboard]
After the update process is complete and displays similar to the following figure, we use the command rebootto restart VPS / Server and start the installation process in step 2.
Step 2: Start installing DirectAdmin
At this step we use the following commands for the installation to take place:
[wps_clipboard]wget -O setup.sh https://www.directadmin.com/setup.sh chmod 755 setup.sh ./setup.sh auto[/wps_clipboard]
Explain the above commands:
- Download the installation file
- Decentralize the downloaded installation file
- Execute the installation file
How long the installation takes place will depend on the international connection and the performance of your VPS / Server. Usually the fastest will be 30 minutes.
After the installation is successful you will receive the following important information:
- Admin username: admin
- Admin password: ●●●●●●●●●●
- Admin email: admin@hostname
- To login now, follow this link: http://IP:2222
Below is an illustration:
Thus, the DirectAdmin installation process is complete, you can access your DirectAdmin admin path in the form of http: // IP: 2222. However, you need to activate your DirectAdmin license according to step 3 again.
Step 3: Enable DirectAdmin
To activate DirectAdmin you only need to have UID, LID and this license match your VPS / Server IP. To activate we use the following 3 commands:
[wps_clipboard]cd /usr/local/directadmin/scripts ./getLicense.sh UID LID service directadmin restart[/wps_clipboard]
Here you need to change the UID and LID to the number that matches your DirectAdmin license.
So you have completed Directadmin installed on your VPS / Server with only 3 simple steps.
If you find this DirectAdmin installation guide useful, please send it to other people for reference.