DirectAdmin Installation Guide
Easy steps for success
- Clean OS install: check install.php to ensure you've got a supported OS
- At least one external IP address (IP Requirements)
- SSH installed, gcc, g++, openssl-devel installed.
- Run the pre-install commands before starting the install
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 our billing system hasn't processed your order yet).
**** SPECIAL NOTICE for non-root ssh logins ****
If logging in as a user other than admin or root (using su to gain root access):
You *must* 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.
Hint: Use "fetch" instead of "wget" on FreeBSD systems.
The auto method will be best for most people. It automatically installs everything for you, including the CSF firewall.
It can also be called as './setup.sh' without options, which requires input but allows for customization.
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. 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! Please see below if you are installing on a VPS, or wanting to setup DirectAdmin for secure (https://) control panel access.
After the install, add the following to /usr/local/directadmin/conf/directadmin.conf:
This step is only required if you wish to use DirectAdmin through SSL. You will also have to change set SSL=1 in the directadmin.conf file: http://help.directadmin.com/item.php?id=15
DirectAdmin can be accessed at http://server.ip.address:2222 -- use the Admin username/password specified in the setup.txt file in your scripts directory.
When installing RPMs, errors can sometimes occur. Don't panic, solving them is usually easy. If you didn't know what to install during your RedHat installation, you might have installed a few services, such as apache and sendmail. These services must be removed before the rpm will be able to be installed.
For example, lets say you are trying to install exim and you get the following:
If you are having trouble with RPMs hanging, please look at: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=73097
You can e-mail questions to firstname.lastname@example.org or send an inquiry by visiting the contacts page. We are available Monday through Friday, 9 AM - 5 PM Mountain Standard Time. You may also visit the forum to see if your question has been answered there.