Answered by the Webhosting Experts

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

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

============================================================
**** THERE IS SPECIAL NOTICE FOR FreeBSD INSTALLATIONS ****
============================================================

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 setup.sh file

Command

# wget https://www.directadmin.com/setup.sh

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

so it will be

# fetch https://www.directadmin.com/setup.sh

5) Change permissions on the setup.sh file
Command

# chmod 755 setup.sh

6) Run the setup script!

# ./setup.sh

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. gary.com is not a good hostname, where server.gary.com 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.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.