How do I install Direct Admin on FreeBSD?

Step 1)

Do you meet the system requirements?

– Clean OS FreeBSD 4.7, 4.8, 4.9, 4.10, 4.11, 5.0, 5.1, 5.2, 5.2.1, 5.3, 5.4, 6.0, 6.1

– At least one external IP address (NAT/LAN-based systems will NOT work)

– SSH installed, gcc installed (these are usually standard with 99% of systems)

Step 2: Make sure your license information is correct.

Sign into your client account at

*** ***

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 the DA billing system hasn’t processed your order yet).


1) If logging in as a user other than admin or root (using su to gain root access):

2) You *have* to add “AllowUsers username” to /etc/ssh/sshd_config before you log out from root or you’ll lose root on the server forever, and you’ll have to format.

3) Login as root and download the file


# wget

Hint: Use “fetch” instead of “wget” on FreeBSD systems.

so it will be

# fetch

5) Change permissions on the file

# chmod 755

6) Run the setup script!

# ./

You will be prompted for a client ID number, license ID number, and hostname.

Important: The hostname should not be the same as the primary domain name. e.g. is not a good hostname, where is good. 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.

That’s it! You are done with the above given procedure.

Share on Twitter
Share on Facebook