DirectAdmin Installation

Control panel for web hosting companies running Red Hat 7.x, 8.x, 9.x, Red Hat Enterprise and FreeBSD.

Requirements

- Clean OS install
- At least one external IP address (NAT/LAN-based systems will NOT work)
- SSH installed, gcc and g++ installed
- Client account at https://www.directadmin.com/clients

Installation!

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.

Login as root and download the setup.sh file

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

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

Change permissions on the setup.sh file

# chmod 755 setup.sh

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. 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.

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.