Is there a list of software that gets installed when you run "setup.sh auto"?

IT_Architect

Verified User
Joined
Feb 27, 2006
Messages
1,091
Is there a list of software that gets installed when you run "setup.sh auto"?...
OR much better...
an options.conf and php_extensions.conf that spells that out that we could download that contains them so that we could change a couple things in them and see where things go. Example: I want MySQL, NOT Mariah, and I want ProFTPd, not Pure-FTPd, and might want to try PHP 8.0 instead of the default 7.4. E.G. let DirectAdmin take care of the best practices and so that we don't have to install them later, but yet enable us to change a few things such. If you prestage your own files, it will follow them pretty well except at the end it will tell you that it switched your no to yes on secure PHP, whether you like it or not, and the only way to avoid that is to do an interactive setup. That may be a good thing and what most people use, but I don't know if there are any disadvantages or not. Apparently DA doesn't think so.

The other thing is they recommend adding nosuid on /home. The tmp directory mounting flags are no-brainers, but I don't know of the drawbacks to nosuid on /home because I've never used it before. Their comment "if you can" indicates it could be an issue.
 
I actually like your question on this because I asked this before 3 months ago in feedback but haven't seen any update: https://feedback.directadmin.com/b/...entation-on-the-installation-using-auto-mode/

For example, the docs said auto mode will install everything, in fact, it did not install all 4 PHP versions or some other extra PHP extensions. That is why the word auto = install everything is a bit vague. If they are able to list out what has been installed, it would be easier to focus on adding missing packages.
 
For example, the docs said auto mode will install everything, in fact, it did not...or some other extra PHP extensions...If they are able to list out what has been installed, it would be easier to focus on adding missing packages.
Exactly! Without that, you don't know what needs to be overridden and turned off that you don't want, and what what still needs to be done when setup finishes without going on a very time-consuming treasure hunt and possibly surprises in perpetuity when you troubleshoot unexpected behavior only to find it is expected behavior based on what was installed. I don't have to understand everything and would like to trust their best judgement in a lot of areas as long as I know what those areas are.
 
I set a snapshot and had DirectAdmin do its thing with setup.sh and auto. The following are the config files makes and uses for the install. With them we can get a clue as to what was done and what you still have to do.

DirectAdmin.conf
Code:
add_userdb_quota=1
apache_public_html=0
apache_ver=2.0
backup_gzip=2
brute_force_log_scanner=1
check_subdomain_owner=1
cloud_cache=0
default_private_html_link=1
demodocsroot=./data/skins/evolution
dkim=2
dns_ttl=1
docsroot=./data/skins/evolution
dovecot=1
ethernet_dev=ens224
frontpage_on=0
ipv6=1
letsencrypt=1
litespeed=0
mail_sni=1
mysql_detect_correct_methods=1
nginx=0
nginx_proxy=0
ns1=ns1.mydomain.com
ns2=ns2.mydomain.com
openlitespeed=0
php_fpm_max_children_default=10
pointers_own_virtualhost=1
pureftp=1
quota_partition=/home
secure_access_group=access
servername=server01.mydomain.com
ssl=0
system_user_to_virtual_passwd=1
unified_ftp_password_file=1
use_xfs_quota=1
webmail_link=roundcube
zip=1
zstd=1
hide_brute_force_notifications=1

options.conf
Code:
#PHP Settings
php1_release=7.4
php1_mode=php-fpm
php2_release=no
php2_mode=php-fpm
php3_release=no
php3_mode=php-fpm
php4_release=no
php4_mode=php-fpm
secure_php=yes
php_ini=no
php_timezone=America/New_York
php_ini_type=production
x_mail_header=yes

#MySQL Settings
mysql=8.0
mariadb=10.4
mysql_inst=mariadb
mysql_backup=yes
mysql_backup_gzip=no
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
mysql_force_compile=no

#WEB Server Settings
unit=no
webserver=apache
http_methods=ALL
litespeed_serialno=trial
modsecurity=no
modsecurity_ruleset=owasp
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
userdir_access=no
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=server01.mydomain.com
redirect_host_https=no

#WEB Applications Settings
phpmyadmin=yes
phpmyadmin_public=yes
phpmyadmin_ver=5
squirrelmail=no
roundcube=yes
webapps_inbox_prefix=no

#ClamAV-related Settings
clamav=no
clamav_exim=yes
modsecurity_uploadscan=no
proftpd_uploadscan=no
pureftpd_uploadscan=no
suhosin_php_uploadscan=no

#Mail Settings
exim=yes
eximconf=yes
eximconf_release=4.5
blockcracking=no
easy_spam_fighter=no
spamd=no
sa_update=daily
dovecot=yes
dovecot_conf=yes
mail_compress=no
pigeonhole=yes

#FTP Settings
ftpd=pureftpd

#Statistics Settings
awstats=no
webalizer=yes

#PHP Extension Settings
#CustomBuild Settings
custombuild=2.0
custombuild_plugin=yes
autover=no
bold=yes
clean=yes
cleanapache=yes
clean_old_tarballs=yes
clean_old_webapps=yes
downloadserver=files-ca.directadmin.com
unofficial_mirrors=no

#Cronjob Settings
cron=yes
cron_frequency=daily
[email protected]
notifications=no
da_autoupdate=no
updates=no
webapps_updates=no

#CloudLinux Settings
cloudlinux=no
cloudlinux_beta=no
cagefs=no

#Advanced Settings
curl=no
ssl_configuration=intermediate

#PHP extensions can be found in php_extensions.conf
redis=no

php_extensions.conf
Code:
#PHP Extension Settings
bz2=no
gmp=no
htscanner=no
igbinary=no
imagick=no
imap=no
ioncube=no
ldap=no
opcache=no
phalcon=no
redis=no
readline=no
suhosin=no
snuffleupagus=no
xmlrpc=no
zend=no
 
Back
Top