We are going to install DirectAdmin on CentOS 7.
What are the requirements?
- Fresh CentOS 7, installed on your VPS/Server.
How to install DirectAdmin?
Step 1: The first step is to login to your root account using SSH or any other way and enter these commands:
Then enter these 3 commands:
wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh
DirectAdmin will ask you to install the required pre-install packages, Type “Y†and then press Enter.

Step 2: Now, it will ask you to enter your Client ID of DirectAdmin, your DA license ID and then you will need to type in your hostname, for example server1.example.com

Once you will enter this, it will ask you for confirmation. If you entered the correct details, press “Yâ€. Then type in “Y†two more times.
If you want to install the default settings of Apache and PHP then press “Yâ€.

Once the installation starts, it may take from 20 to 30 minutes to complete.
Step 3: After the installation is complete, you can access your admin control panel directly via http:// ip-address:2222