Running DirectAdmin from the command line

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

Top Level » Install Issues
Top Level » DirectAdmin » Custom Scripting
Top Level » CustomBuild » CustomBuild 2.0 Running DirectAdmin from the command lineLast Modified: Jan 15, 2019, 3:15 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:
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 as desired, before running the
Let's say you have your custom options.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

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.

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