Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

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.

Share on Twitter
Share on Facebook