Hot to instal 1.681 (not higher) on Debian 12

lukgier

Verified User
Joined
Mar 16, 2025
Messages
25
Hi,

How to instal 1.681 on Debian as with 1.682+ I have nothing but problems and 1.681 installs flowelessly.

Regards,
Luke
 
Or maybe it's possible to start installation in console with step configuration as in 1.681?

In web installation I can install only predefined defaults.
 
Directadmin is v1.683 at the moment. What problems are you having exactly? Are you trying to install a previous version for a specific reason?
 
I had no problem with installation in 1.681. In 1.683 I don't know how to run installation in console mode with step configuration as in 1.681.

Only web isntallation works and installs only it's defaults - I can't change mariadb do 11.X (installs 10.3) and things like that.

How can I download 1.681 or run 1.683 with console step configuration without web setup which gives almost zero configuration?
 
When you say console mode, do you mean you want to know how to install using the BASH terminal (Text based) or run the web installer?

If you want to run in terminal, you need to first update your OS, and then run the install script. Make sure you insert a valid licence key or it will revert to a web install.

Bash:
sh <(curl -fsSL https://download.directadmin.com/setup.sh) '__insert_your_license_key_here__'

Before you do this, you can also set ENV Variables (I usually set the nameservers, hostname and admin name). Full list is here:

Another thing you can do is create these files (You will need to create the directory hierarchy as well if it doesn't exist)
Bash:
/usr/local/directadmin/custombuild/options.conf

/usr/local/directadmin/conf/directadmin.conf
In these files, specify the versions of MySQL and PHP etc you want using the correct options and custombuild should install them as you want.
 
Please check this article which should help you:


I think this part is what you need:
Code:
cd /root/
wget -O setup.sh https://download.directadmin.com/setup.sh
chmod 755 setup.sh
DA_HOSTNAME="server.yourdomain.com" bash setup.sh LICENSE_KEY
or just
Code:
cd /root/
wget -O setup.sh https://download.directadmin.com/setup.sh
chmod 755 setup.sh
bash setup.sh LICENSE_KEY
 
Thanks.

I mean exactly what you say - terminal (text) installation without web. In 1.681 I could set all configuration during installation and now it seems it's all gone. Seems like DA ruined very handy setup that worked very good and now installation requires much more efforts to get packets I need.
 
Just so you can see how the files are formatted, and maybe select what you want and modify, here are my files from one of my DNS servers.

/usr/local/directadmin/custombuild/options.conf
Bash:
# PHP Settings
php1_release=8.3
php1_mode=php-fpm
php2_release=no
php3_release=no
php4_release=no
php5_release=no
php6_release=no
php7_release=no
php8_release=no
php9_release=no
secure_php=yes
php_ini=no
php_timezone=Etc/UTC
php_ini_type=production
x_mail_header=yes

# MySQL Settings
mysql=8.0
mariadb=10.6
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
litespeed_serialno=trial
modsecurity=no
modsecurity_ruleset=owasp
apache_mpm=auto
mod_ruid2=no
userdir_access=no
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host=s3.mydomain.co.uk
redirect_host_https=no

# WEB Applications Settings
phpmyadmin=yes
phpmyadmin_public=yes
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
blockcracking=no
easy_spam_fighter=no
spamd=no
sa_update=daily
dovecot=yes
dovecot_conf=yes
dovecot_fts=no
mail_compress=no
pigeonhole=yes

# FTP Settings
ftpd=pureftpd

# Statistics Settings
awstats=no
webalizer=yes

# PHP Extension Settings
php_bz2=no
php_gmp=no
php_htscanner=no
php_igbinary=no
php_imagick=no
php_imap=no
php_ioncube=no
php_ldap=no
php_lz4=no
php_mcrypt=no
php_opcache=no
php_phalcon=no
php_pgsql=no
php_readline=no
php_redis=no
php_snuffleupagus=no
php_ssh2=no
php_suhosin=no
php_xmlrpc=no
php_yaml=no
php_zend=no
php_zstd=no

# CustomBuild Settings
bold=yes
clean=yes
clean_old_tarballs=yes
clean_old_webapps=yes

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

# CloudLinux Settings
cloudlinux=no
cagefs=no

# Advanced Settings
csf=yes
ssl_configuration=intermediate
redis=no

/usr/local/directadmin/custombuild/options.conf
Bash:
acme_server_cert_enabled=1
add_userdb_quota=1
apache_public_html=0
awstats=0
backup_gzip=2
brute_force_log_scanner=1
brute_force_scan_apache_logs=2
check_subdomain_owner=1
cloud_cache=0
cluster=1
dkim=2
dns_ttl=1
dnssec=1
dovecot_legacy=0
hide_brute_force_notifications=1
ipv6=1
jail=1
letsencrypt=1
litespeed=0
mail_sni=1
nginx=0
nginx_proxy=0
ns1=s1.mydomain.co.uk
ns2=s2.mydomain.co.uk
openlitespeed=0
php_fpm_max_children_default=10
pureftp=1
quota_partition=/
secure_access_group=access
servername=s3.mydomain.co.uk
ssl=1
system_user_to_virtual_passwd=1
webmail_link=roundcube
 
Thank you so much, it will be very helpful :)
No worries. The files i've shared, as i've said, are from one of my DNS servers, and as such just have very basic, out of the box settings and would be roughly what you get if you did a web install. I have other servers with much different settings and the bit I like about custombuild is it is so flexible and can be used from the web gui or terminal. Good luck with the intall!
 
I am on these files right now prepering my custom install and hope it'will go with no probs this time. Thanks again :)
 
I am on these files right now prepering my custom install and hope it'will go with no probs this time. Thanks again :)
One last note my friend, I note at the beginning it was specifically a different version of MariaDB you wanted. Here's a screenshot of the available versions you can add to the custombuild.conf file to make sure you get the correct version. I'm off to build another server myself now. Good luck!

1756991916126.png
 
One last note my friend, I note at the beginning it was specifically a different version of MariaDB you wanted. Here's a screenshot of the available versions you can add to the custombuild.conf file to make sure you get the correct version. I'm off to build another server myself now. Good luck!

View attachment 9263


Thank you. I want to go with 11.4 :)
 
I've one more question after installation od 1.6823, which I did with configuration in config files and installation procedure without the web involved.

/usr/local/directadmin/custombuild/options.conf
/usr/local/directadmin/conf/directadmin.conf

Is it normal that DA doesn't create default configs in this type of installation. I've got no configs for mariadb, csf etc. I had to prepare it by myself.

In 1.681 after installation in terminal (with configuration during the process) I got all default configs just after the installation which I only edited.

Is there any hope that installation in terminal with step packet choice will ever come back?
 
One last note my friend, I note at the beginning it was specifically a different version of MariaDB you wanted. Here's a screenshot of the available versions you can add to the custombuild.conf file to make sure you get the correct version. I'm off to build another server myself now. Good luck!

View attachment 9263

How did it go with your new server? :)

Can you tell me where do I get such a list of mariadb versions? Is it from DA web setup or somewhere in the panel?
 
I have one more question for you guys, much more expireneced.

When you setup a new server - do you make most of installation of packets and configuration in DA panel or in terminal?

Tha last one installation was my second installation of DA and most of packages installation and configuration I was doing in terminal, in DA panel I only setup what it had to be setup there but maybe my approach is wrong and I should install all of the packages in DA panel through custombuild / plugin manager and the same with the configuration.
 
I have one more question for you guys, much more expireneced.

When you setup a new server - do you make most of installation of packets and configuration in DA panel or in terminal?

Tha last one installation was my second installation of DA and most of packages installation and configuration I was doing in terminal, in DA panel I only setup what it had to be setup there but maybe my approach is wrong and I should install all of the packages in DA panel through custombuild / plugin manager and the same with the configuration.
Server install went well thank you. Regarding the list of available MariaDB versions, I got those from the custombuild page on DA Admin panel.

Regarding server installs, personally I do most of it on the command line and a few bits on the panel. Things like setting up the

/ect/csf/csf.conf file,
/ect/csf/csf.allow
/ect/csf/csf.deny
/etc/mysql/my.cnf
/etc/bind/named.conf.options
/etc/ssh/sshd_conf
etc/virtual/helo_data

Locking down phpMyAdmin from the main domain, SSO for Roundcube

along with others.

Some settings i'll do in DA Config as its easier, but command line is quicker at times.

I use the nano text editor, or if you're uncomfortable with that, there's also another editor called Tilde which is a replica of MS Edit from DOS.

#apt install tilde -y
 
Back
Top