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.
![](/system/img/directadmin-install-required-packages.gif)
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
![](/system/img/directadmin-install-step2.gif)
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â€.
![](/system/img/directadmin-default-apache-setting-setup.gif)
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