Standard Install

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » DirectAdmin » Installation

Standard InstallLast Modified: Nov 5, 2019, 2:20 pm
For most people, you'd be using a standard install.   We have a full install guide listed here:

but this will be an abbreviated guide, on the assumption you're already familiar with the install requirements.

  1. Start by installing all pre-install requirements.
  2. Check over your license information in to see which OS the license is set to, and confirm the correct OS is set in the license.   This controls which binaries are downloaded, so it's important it's set correctly.
  3. Grab the and install DirectAdmin:

    cd /root
    chmod 755
    ./ auto

    and follow the instructions and answer all questions.
  4. While the is running, I like to open a 2nd ssh terminal to get the perl cpan modules going, if SpamAssassin is going to be installed.  This takes a while, and is unrelated to the main install, so the sooner the better.  Basically just step #1 of this guide for now:
    This step is not "required", but helps things in parallel. (Note: rspamd is another option, compiles and runs much more quickly than SpamAssassin)
  5. After the install is done, the login info should be displayed.  If you lose, it a copy of that output can be obtained by typing:

    tail -n 21 /var/log/directadmin/install.log

  6. At this point, you should have a vanilla install of DirectAdmin, but there are other steps we recommend.  I'll list the main ones here.
  7. Secure DA with https on 2222 using LetsEncrypt:
  8. Setup CustomBuild to check for new versions weekly, but not update automatically (can be setup however you wish):

    cd /usr/local/directadmin/custombuild
    ./build set cron yes
    ./build set email
    ./build cron

    More information on this in step #3 of the Basic System Security guide. Note that the CustomBuild 2.0 plugin should also be installed to new DA boxes by default now, so you'll see notices in the Admin Level interface.

There are many other things you can do, but this is a solid starting point.
Related Helpfiles
How to enable SpamAssassin on your server.
Basic system security
Common pre-install commands
I need a firewall. What are my options?
Installing an SSL certificate for your hostname using LetsEncrypt
Command-Line / Script installl

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST