Search K
Appearance
Appearance
CustomBuild is a tool that manages DirectAdmin-related services and additional software components. Such as web server, email services, SQL, PHP, and others. Most of the packages are compiled from the source. The build process takes some time, but it provides some additional benefits:
Compiled services will have a lower memory footprint as a result of building them with the desired options only.
CustomBuild is extremely powerful and highly customizable.
CustomBuild has a graphical user interface in DirectAdmin, though you may use the command-line tool if you prefer. The CustomBuild CLI interface is available with the da build command. The configuration of CustomBuild is stored in the /usr/local/directadmin/custombuild/options.conf file. This section has some commonly used commands.
A list of CustomBuild installed software on the server:
da build versionsGeneral help on ./build commands:
da build helpList of CustomBuild configuration options:
da build opt_helpList of CustomBuild configuration options with extended descriptions:
da build opt_help fullRecompile Apache and PHP:
da build apache
da build phpRewrite web server configuration files:
da build rewrite_confsAll CustomBuild configuration is stored in a single file /usr/local/directadmin/custombuild/options.conf. The file has a simple key=value format, which allows easy access using standard CLI tools. Examples:
List all configuration options:
cat /usr/local/directadmin/custombuild/options.confShow the configured web server:
# grep webserver= /usr/local/directadmin/custombuild/options.conf
webserver=apacheOr just use the ./build options command. The output will be formatted:

By default, DirectAdmin uses the intermediate ssl_configuration (set in CustomBuild's options.conf file) to set the cipher lists for the services. ssl_configuration=old/intermediate/modern are set based on the lists provided by Mozilla's Handy cipher generator.