Install directadmin without answering questions in Terminal?

MaXi32

Verified User
Joined
Jul 25, 2016
Messages
659
Location
The Earth
Is there a predefined config to install Directadmin without asking questions in the terminal ? Something like predefined config for options.conf or php_extensions.conf before running setup.sh ?
 
Only can install without "auto" to select,
Code:
bash <(curl -Ss https://www.directadmin.com/setup.sh)

or if you wanna do this, in same os, same config,

edit install.sh
find something like this and remove, OR edit by your skills
Code:
        rm -f ${CB_OPTIONS}

and move your option to
/usr/local/directadmin/custombuild/options.conf
=================================================
and about Extension

copy your old extension to
Code:
/usr/local/directadmin/custombuild/php_extensions.conf

and run "setup.sh auto"



this relate to
 
Last edited:
Thank you my @jamgames2, my bad after few months today I try to reinstall DA and I saw this new documentation here https://docs.directadmin.com/getting-started/installation/overview#common-installation-guide . It said if I use the command without 'auto' it still can ask question. But I just tried it out actually there was no question shown in terminal.

1607778389574.png
 
Yes, install script update every time when have update from Directadmin, but some tutorial still it old

you can edit install script that you want to do, but keep in mind to not change step install from default script
 
There is a quick workaround for this :)

For example, you'd like to override default value for php1_release. You'd just do it this way:
Code:
export php1_release=8.0

Then run setup.sh in auto mode, and it should just 8.0 for php1_release.
 
Back
Top