Simple command line sheet for Custom Build 2 By Brent Dacus 2019 First the Author of the great script is Martynas Bendorius (smtalk) I made this guide for myself and chose to share it please send back corrections. Please use this Post as well. https://forum.directadmin.com/showthread.php?t=44743 A lot of what is here came from there... This is the root are of the script its not in you PATH so you have to go here. cd /usr/local/directadmin/custombuild To look at options.conf: cat /usr/local/directadmin/custombuild/options.conf Use custombuild plugin or cmd line editor to set options.conf. Then to get just usage aka help: ./build To see directadmin version: ./build version To update directadmin: Get latest build script with packages. ./build update Get latest build script without packages. ./build update_script To set fastest Mirror: To see what you currently have installed: ./build versions To build any of these software package do: NOTE: Command all will compile everything as it is set in the options.conf file, please take a look at ./build options Install/update server components: ./build apache ./build autoconf ./build automake ./build awstats ./build awstats_process ./build clamav ./build curl ./build dovecot ./build exim ./build freetype ./build geoipupdate ./build glib ./build iconv ./build icu ./build ioncube ./build imagemagick ./build imagick ./build ragel ./build suhosin ./build libjpeg ./build libmagic ./build libmaxminddb ./build libmodsecurity ./build libpng ./build libspf2 ./build libsrs_alt ./build libsodium ./build libtool ./build libxml2 ./build libxslt ./build libzip ./build litespeed ./build luajit ./build libwebp ./build m4 ./build mcrypt ./build mhash ./build mod_lsapi ./build mod_proctitle ./build mod_aclr2 ./build mod_ruid2 ./build mod_htscanner2 ./build mod_fcgid ./build modsecurity ./build modsecurity_rules ./build mysql ./build nginx ./build nginx_apache ./build openlitespeed ./build pigeonhole ./build pigz ./build pcre ./build pcre2 ./build php ./build proftpd ./build pureftpd ./build rspamd ./build spamassassin ./build suphp ./build webalizer ./build zend ./build zlib Now that you have set your choices in option.conf You need to run for the first time: Note: depending on your box this can take hours. I would either do it at night or during early hours so you can check it. This command rebuilds ALL off you apps you selected in options.conf ./build all d I always do ./build rewrite_confs If you need to update configs on certain things: ./build exim_conf ./build dovecot_conf ./build blockcracking ./build easy_spam_fighter ./build php_ini ./build rewrite_confs ./build secure_php If you want to update all the Software to the latest versions: ./build update_versions Install/update web applications: ./build phpmyadmin ./build roundcube Remove old build data: ./build clean ./build clean_old_webapps Dont forget to set up Cron. This will help keep DA up to date and old files cleaned up. You need to run this once to set it up. cd /usr/local/directadmin/custombuild ./build set cron yes ./build set cron_frequency weekly ./build set notifications yes ./build set da_autoupdate yes ./build set updates yes ./build set webapps_updates yes ./build set clean yes ./build set cleanapache yes ./build set clean_old_tarballs yes ./build set clean_old_webapps yes ./build cron There are lots of other options explore ./build to see others.