I think a lot DA users could benefit the use of this explanation. Therefore I made them more easy to read for custombuild 2.0
DirectAdmin options.conf explained
Code:
Command: /usr/local/directadmin/custombuild/./build opt_help full
------------------------------------------
PHP Settings
------------------------------------------
php1_release:
Possible values: 5.3, 5.4, 5.5, 5.6, 7.0.
Description: Default version of PHP.
php1_mode:
Possible values: php-fpm, fastcgi, suphp, lsphp, mod_php.
Description: Mode of the default PHP version. lsphp is only compatible with LiteSpeed WWW server or CloudLinux+Apache. For nginx (not as a reverse proxy for apache) php-fpm must be chosen.
php2_release:
Possible values: 5.3, 5.4, 5.5, 5.6, 7.0, no.
Description: Additional version of PHP.
php2_mode:
Possible values: php-fpm, fastcgi, suphp, lsphp, mod_php.
Description: Mode of the additional PHP version.
opcache:
Possible values: yes, no.
Description: opCache opcode cacher for PHP.
htscanner:
Possible values: yes, no.
Description: htscanner for Apache (allows to confige php in .htaccess files using PHP).
php_ini:
Possible values: yes, no.
Description: Enables ability to update php.ini file of PHP (rewrites any customizations!).
php_timezone:
Possible values: userinput.
Description: date.timezone setting in php.ini file of PHP.
http://www.php.net/manual/en/
datetime.configuration.php#ini.date.timezone.
php_ini_type:
Possible values: production, development.
Description: Type of php.ini file. php.ini-development contains settings recommended for use in
development environments. php.ini-production contains settings recommended for use in production environments.
ioncube:
Possible values: yes, no.
Description: PHP loader for ionCube Secured Files.
zend:
Possible values: yes, no.
Description: Zend Guard Loader is a free runtime application that enables PHP to run the scripts encoded by Zend Guard.
suhosin:
Possible values: yes, no.
Description: Suhosin advanced protection system for PHP.
x_mail_header:
Possible values: yes, no.
Description: mail.add_x_header setting in php.ini file of PHP.
http://www.php.net/manual/en/ mail.configuration.php#ini.mail.add-x-header
------------------------------------------
MySQL Settings
------------------------------------------
mysql:
Possible values: 5.1, 5.5, 5.6.
Description: MySQL version.
mariadb:
Possible values: 5.5, 10.0, 10.1.
Description: MariaDB version.
mysql_inst:
Possible values: mysql, mariadb, no.
Description: Enables management of MySQL/MariaDB using CustomBuild.
mysql_backup:
Possible values: yes, no.
Description: Backups MySQL databases before the installation of MySQL/MariaDB server.
mysql_backup_dir:
Possible values: userinput.
Description: Sets full path for mysql_backup option were MySQL backups should be placed.
mysql_force_compile:
Possible values: yes, no.
Description: Force compilation of MySQL/MariaDB instead of using system packages (RPM, DEB)
------------------------------------------
WEB Server Settings
------------------------------------------
webserver:
Possible values: apache, nginx, nginx_apache, litespeed.
Description: WWW Server.
litespeed_serialno:
Possible values: userinput.
Description: Serial number of LiteSpeed Enterprise license.
modsecurity:
Possible values: yes, no.
Description: ModSecurity - Web application firewall.
modsecurity_ruleset:
Possible values: comodo, owasp, no.
Description: ModSecurity rule set. Set to 'no' to use no ruleset. Comodo option provides Comodo Rule Set for ModSecurity:
https://modsecurity.comodo.com/. OWASP ModSecurity Core Rule Set:
https://www.owasp.org/index.php/Category:OWASP_ModSecurity_Core_Rule_Set_Project. Add custom rules to custom/modsecurity/conf, they'd be added automatically to /etc/modsecurity.d after './build modsecurity' or './build modsecurity_rules' is ran. Nginx is not compatible with Comodo Rule Set.
apache_ver:
Possible values: 2.4.
Description: Apache version.
apache_mpm:
Possible values: prefork, event, worker, auto.
Description: Apache Multi-Processing Module. 'auto' mode sets MPM to be Prefork if PHP as mod_php is chosen, because this way PHP is not thread-safe. Otherwise Event MPM is set.
mod_ruid2:
Possible values: yes, no.
Description: mod_ruid2 is an Apache extension that allows requests to a domain to run as the owner of that domain, instead of the Apache user. Not supported on FreeBSD systems.
userdir_access:
Possible values: yes, no.
Description: Allows accessing contents of public_html using
http://hostname/~user, if enabled.
harden_symlinks_patch:
Possible values: yes, no.
Description: Patches apache to include hardened symlinks patch.
http://files.directadmin.com/services/custombuild/harden-symlinks-2.4.patch.
use_hostname_for_alias:
Possible values: yes, no, auto.
Description: Redirects WEB appplications addresses to server hostname. Useful with FastCGI mode of PHP ('auto' option enables it for FastCGI mode of PHP only).
redirect_host:
Possible values: userinput.
Description: Hostname used for use_hostname_for_alias setting.
redirect_host_https:
Possible values: yes, no.
Description: Enables SSL redirection for use_hostname_for_alias setting.
------------------------------------------
WEB Applications Settings
------------------------------------------
phpmyadmin:
Possible values: yes, no.
Description: Enables management of phpMyAdmin (Web application to manage MySQL databases) using CustomBuild.
phpmyadmin_ver:
Possible values: 3, 4.
Description: Selects the version of phpMyAdmin to install. Takes effect only when phpmyadmin option is enabled.
squirrelmail:
Possible values: yes, no.
Description: Enables management of SquirrelMail webmail using CustomBuild.
roundcube:
Possible values: yes, no.
Description: Enables management of RoundCube webmail using CustomBuild.
webapps_inbox_prefix:
Possible values: yes, no.
Description: Adds INBOX. prefix to all of the mailbox folders in SquirrelMail/RoundCube (like: INBOX.Sent instead of just Sent)
------------------------------------------
ClamAV-related Settings
------------------------------------------
clamav:
Possible values: yes, no.
Description: Enables management of ClamAV antivirus engine using CustomBuild. Enables ClamAV automatically in Exim configuration.
clamav_exim:
Possible values: yes, no.
Description: Enables ClamAV automatically in Exim configuration together with the installation of ClamAV.
modsecurity_uploadscan:
Possible values: yes, no.
Description: Scan HTTP uploaded files using ClamAV, when ModSecurity is enabled. ClamAV needs to be installed for this setting to work.
proftpd_uploadscan:
Possible values: yes, no.
Description: Scan FTP uploaded files in ProFTPd using ClamAV. ClamAV needs to be installed for this setting to work.
pureftpd_uploadscan:
Possible values: yes, no.
Description: Scan FTP uploaded files in Pure-FTPd using ClamAV. ClamAV needs to be installed for this setting to work.
suhosin_php_uploadscan:
Possible values: yes, no.
Description: Scan PHP uploaded scripts using suhosin upload verification script and ClamAV antivirus (clamdscan). ClamAV must be installed and suhosin option should be enabled for the setting to work.
------------------------------------------
Mail Settings
------------------------------------------
exim:
Possible values: yes, no.
Description: Enables management of Exim MTA (Mail Transfer Agent) using CustomBuild.
eximconf:
Possible values: yes, no.
Description: Enables ability to update exim.conf and exim.pl files of Exim MTA (rewrites any customizations!).
eximconf_release:
Possible values: 2.1, 4.2, 4.3, 4.4.
Description: Sets appopriate version of exim.conf to update.
blockcracking:
Possible values: yes, no.
Description: Enables BlockCracking in exim.conf for outgoing spam mitigation. Requires exim configuration version 4.3 or higher. More information:
http://forum.directadmin.com/showthread.php?t=50059.
easy_spam_fighter:
Possible values: yes, no.
Description: Enables Easy Spam Figher in exim.conf for incoming spam mitigation. Requires exim configuration version 4.3 or higher. More information:
http://forum.directadmin.com/showthread.php?t=50059.
spamassassin:
Possible values: yes, no.
Description: Enables management of SpamAssassin Spam Filter using CustomBuild. Enables SpamAssassin automatically in Exim configuration.
sa_update:
Possible values: no, daily, weekly, monthly.
Description: Installs a cronjob for sa-update to update SpamAssassin Spam Filter Rules daily, weekly or monthly using CustomBuild. Takes effect only if SpamAssassin is enabled on the server, at the installation time of SpamAssassin.
dovecot:
Possible values: yes, no.
Description: Enables management of Dovecot IMAP and POP3 email server using CustomBuild.
dovecot_conf:
Possible values: yes, no.
Description: Enables management of Dovecot configuration files using CustomBuild.
pigeonhole:
Possible values: yes, no.
Description: Enables management of Pigeonhole (enables Sieve language and the ManageSieve protocol, allows users to configure email filtering in their email clients) for Dovecot IMAP and POP3 email server using CustomBuild. When this setting is enabled, Pigeonhole is enabled with update/installation of Dovecot. RoundCube plugin to manage email filtering is enabled with update/installation of RoundCube.
------------------------------------------
FTP Settings
------------------------------------------
ftpd:
Possible values: proftpd, pureftpd, no.
Description: FTP Server.
------------------------------------------
Statistics Settings
------------------------------------------
awstats:
Possible values: yes, no.
Description: Enables management of AWstats (generates advanced web server statistics graphically) using CustomBuild.
webalizer:
Possible values: yes, no.
Description: Enables management of Webalizer (generates advanced web server statistics graphically) using CustomBuild.
------------------------------------------
CustomBuild Settings
------------------------------------------
custombuild:
Possible values: 1.1, 1.2, 2.0.
Description: CustomBuild version to be used. WARNING: not recommended to change the setting without deep knowledge about upgrade/downgrade of the CustomBuild script.
autover:
Possible values: yes, no.
Description: Updates versions.txt file (latest versions of the packages are listed there) with every execution of the CustomBuild script.
bold:
Possible values: yes, no.
Description: Enables bold effect for important output in terminal.
clean:
Possible values: yes, no.
Description: Cleans not needed folders in the CustomBuild directory. Folders are often left from the previous packge installations.
cleanapache:
Possible values: yes, no.
Description: Removes Apache directory when the installation is finished. Takes effect only when 'clean' option is enabled.
clean_old_tarballs:
Possible values: yes, no.
Description: Removes tarballs of old (unused) packages.
clean_old_webapps:
Possible values: yes, no.
Description: Removes old WEB application folders from /var/www/html. Takes effect when any WEB application is installed/updated.
downloadserver:
Possible values: files.directadmin.com, files2.directadmin.com, files4.directadmin.com, files6.directadmin.com, files7.directadmin.com, files8.directadmin.com, files9.directadmin.com, files10.directadmin.com, files11.directadmin.com, files12.directadmin.com, files13.directadmin.com, files14.directadmin.com, files15.directadmin.com, files16.directadmin.com, files17.directadmin.com, files18.directadmin.com, files22.directadmin.com, files23.directadmin.com, files24.directadmin.com, files25.directadmin.com, files26.directadmin.com.
Description: Sets which download server to use to download files needed by the CustomBuild script. Any other server than files.directadmin.com may take 24 hours for latest files to be synced, however they may have better speeds than files.directadmin.com.
------------------------------------------
Cronjob Settings
------------------------------------------
cron:
Possible values: yes, no.
Description: Enables cronjob for CustomBuild scheduled jobs set.
cron_frequency:
Possible values: daily, weekly, monthly.
Description: Sets the execution frequency of the Cronjob (scheduled jobs). Takes effect only when the 'cron' option is enabled.
email:
Possible values: userinput.
Description: Sets the email for notifications about the updates available. Takes effect only when 'cron' and 'notifications' options are enabled.
notifications:
Possible values: yes, no.
Description: Sets the email for notifications about the updates available. Takes effect only when 'cron' option is enabled.
da_autoupdate:
Possible values: yes, no.
Description: Sets DirectAdmin to be updated automatically when the Cronjob is executed. Takes effect only when 'cron' option is enabled.
updates:
Possible values: yes, no.
Description: Enables automatic updates of all available to update packaged managed by the CustomBuild script. Takes effect only when 'cron' option is enabled. WARNING: not recommended in production!
webapps_updates:
Possible values: yes, no.
Description: Enables automatic updates of all WEB applications enabled. Takes effect only when 'cron' option is enabled.
------------------------------------------
CloudLinux Settings
------------------------------------------
cloudlinux:
Possible values: yes, no.
Description: Enables CloudLinux support in the CustomBuild script (automatic patching using CloudLinux patches for specific components). NOTE: CloudLinux needs to be installed on the system.
http://www.cloudlinux.com.
cagefs:
Possible values: yes, no.
Description: Enables support of CageFS component by CloudLinux in the CustomBuild script (automatic updating of files in CageFS using 'cagefsctl --force-update'). NOTE: CloudLinux needs to be installed on the system.
http://www.cloudlinux.com.
------------------------------------------
Advanced Settings
------------------------------------------
autoconf:
Possible values: yes, no.
Description: Enables management of Autoconf (package for generating configure scripts) using CustomBuild.
automake:
Possible values: yes, no.
Description: Enables management of Automake (tool for automatically generating Makefile.in files) using CustomBuild.
libtool:
Possible values: yes, no.
Description: Enables management of Libtool (generic library support script) using CustomBuild.
curl:
Possible values: yes, no.
Description: Enables management of cURL (library and command-line tool for transferring data using various protocols) using CustomBuild.
new_pcre:
Possible values: yes, no.
Description: Enables latest version of pcre to be compiled using CustomBuild.