Running DirectAdmin from the command line

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

Top Level » DirectAdmin » Custom Scripting
Top Level » DirectAdmin » Installation Running DirectAdmin from the command lineLast Modified: May 29, 2020, 3:40 pm
As many people need to install DA frequently, they might have a usual set of options that they want to use, and to automate this process.  The does allow for this.

A few variables, you might need:

Client ID:
License ID:
Ethernet Device:
Options.conf URL:/options.conf
CustomBuild version:

A sample call for the, is to first specify the CustomBuild version, then pass all arguments to the, eg:

cd /root
echo 2.0 > /root/.custombuild
wget -O
chmod 755
./ 1234 56789 eth0

If you don't want the default settings for custombuild, set the options.conf and php_extensions.conf as desired, before running the
Let's say you have your custom options.conf and php_extensions.conf stored at some URL, then you could do this before the is run:

mkdir -p /usr/local/directadmin/custombuild
wget -O /usr/local/directadmin/custombuild/options.conf
wget -O /usr/local/directadmin/custombuild/php_extensions.conf

and that way, when the runs custombuild, it will use your settings, without any changes.

Related thread.

Custom Email and ns1/ns2

You can override the internal defaults by creating files before running the


With a one-line entry for those values, which will set them into the setup.txt via the, instead of the default values that match the hostname.
Related Helpfiles
Standard Install
Command-Line / Script installl

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