DirectAdmin Installation on Centos Server :
1: Do you meet the system requirements?
– Clean OS install
– At least one external IP address (NAT/LAN-based systems will NOT work)
– SSH installed, gcc and g++ installed
– Yum installed.
You can check the gcc and g++ is installed or not through the command :
# yum list gcc-c++
this will display if it is installed, if not the run following command :
# yum install gcc-c++
2. Make sure your license information is correct.
Sign into your client account at https://www.directadmin.com/clients and click the “view” link next to your license.
Verify that the server IP address and operating system is correct. Also make sure that the license is Active and Verified (if it isn’t, then direct-admin billing system hasn’t processed your order yet).
3: Begin the installation!
Login as root and download the setup.sh file
Hint: Use “fetch” instead of “wget” on FreeBSD systems.
Change permissions on the setup.sh file
# chmod 755 setup.sh
Run the setup script!
You will be prompted for a client ID number, license ID number, and hostname.
Important Note : The hostname should not be the same as the primary domain name. e.g. example.com is not a good hostname, where server.example.com is. Having the same host/main domain name will cause e-mail and FTP problems. Also, please make sure the hostname resolves once you setup DNS.