JosKlever
Verified User
You don't need a clean install, but can use the Elevate procedure as documented on https://almalinux.org/elevate/Do I need to do a clean installation to move from 9 to 10, or is it possible to upgrade directly?
You don't need a clean install, but can use the Elevate procedure as documented on https://almalinux.org/elevate/Do I need to do a clean installation to move from 9 to 10, or is it possible to upgrade directly?
Do I need to do a clean installation to move from 9 to 10, or is it possible to upgrade directly?
My DirectAdmin setup is fully configured, and everything is ready.In addition: if you had DA already installed you must executecommand to rebuild after upgradeCode:build all d
After upgrade from AL9 > AL10 ?Would it be okay if I used the following commands?
Thanks for your response.After upgrade from AL9 > AL10 ?
Sorry don't understand your question, why do you want to execute those commands ?
If it is after upgrade you don't have to because its then already rebuild with all the installed components anyway (da build all)
I asked because I wanted to make sure everything (DirectAdmin, LiteSpeed, Imunify360, and my custom PHP builds 8.3 / 8.4) would run smoothly after upgrading from AlmaLinux 9 to 10 using ELevate.
Thanks both @Active8 and @zEitEr for clarifying!
So I just wanted to confirm that in a non-mail, LiteSpeed-based personal setup, doing a light rebuild like this should be perfectly fine and safer than a full “build all d”.
da build all respects options.conf and skips disabled services, no options.conf will be effected. Run da build options to see which services are enabled, and only they will be re-compiled with the command. It is not reset of DA settings. For resetting DA options.conf one can use another command, it was never offered by me here.Thanks a lot for the clarification, @zEitEr — that makes perfect sense now.da build allrespectsoptions.confand skips disabled services, nooptions.confwill be effected. Runda build optionsto see which services are enabled, and only they will be re-compiled with the command. It is not reset of DA settings. For resetting DA options.conf one can use another command, it was never offered by me here.
Please share any problems (if there any) with the community so other can learn from your experienceafter the upgrade to AlmaLinux 10.
Nginx Unit: no
Apache: 2.4.65
ModSecurity: no
htscanner: no
Dovecot: 2.4.2
Dovecot configuration: yes
AWstats: no
Exim: 4.99
exim.conf update: yes
BlockCracking: no
Easy Spam Fighter: no
SpamAssassin: no
ClamAV: no
MariaDB: 11.4.9
MySQL backup: yes
MySQL backup directory: /usr/local/directadmin/custombuild/mysql_backups
MySQL compress backups: no
PHP (default): 8.4
phpMyAdmin: 5.2.3
ProFTPD: no
Pure-FTPd: 1.0.52
RoundCube webmail: 1.6.11
Replace "php.ini" with 'da build all' and 'da build php_ini': no
Cron for notifications and (or) updates: yes
Cron frequency: daily
Run "clean_old_webapps" every time: yes
Show texts in bold: yes
SquirrelMail: no
Zend Guard Loader: no
ionCube loader: no
Suhosin: no
Imunify360
Redis
Firewalld
PHP extensions
[root@dev10 custombuild]# grep ^php_.*=yes options.conf
php_imagick=yes
php_redis=yes
[root@dev10 custombuild]#
[root@dev10 ~]# php -i | grep -i memory_limit
memory_limit => 128M => 128M
[root@dev10 ~]#
[root@dev10 ~]# echo 'memory_limit=512M' >> /usr/local/php84/lib/php.conf.d/90-custom.ini
[root@dev10 ~]#
[root@dev10 ~]# php -i | grep -i memory_limit
memory_limit => 512M => 512M
[root@dev10 ~]#
[root@dev10 ~]#
[root@dev10 ~]# php -v
PHP 8.4.14 (cli) (built: Oct 29 2025 05:08:52) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.14, Copyright (c) Zend Technologies
[root@dev10 ~]#
[root@dev10 ~]# uname -r
6.12.0-55.42.1.el10_0.x86_64
[root@dev10 ~]#
And CustomBuild also fails:
You cannot install Redis, because redis=yes is not set in options.conf file.
systemctl enable --now redis
Failed to enable unit: redis.service does not exist
da build set redis yes
da build redis
da build set php_redis yes
da build php_redis
After performing a clean installation and carefully configuring everything, I now have a server as stable as yours. So my previous comment is no longer validI've got AlmaLinux 10.x with Directadmin running on a Hetzner VPS since Thu Aug 14 10:25:07 2025 (at least):
- DirectAdmin: 1.689 893e826690311d14b8e868ad3549278f64b477a1
- Kernel: 6.12.0-55.42.1.el10_0.x86_64
- OS: AlmaLinux 10.0 (Purple Lion)
- csf: v15.05 (DirectAdmin)
with the following options:
Code:Nginx Unit: no Apache: 2.4.65 ModSecurity: no htscanner: no Dovecot: 2.4.2 Dovecot configuration: yes AWstats: no Exim: 4.99 exim.conf update: yes BlockCracking: no Easy Spam Fighter: no SpamAssassin: no ClamAV: no MariaDB: 11.4.9 MySQL backup: yes MySQL backup directory: /usr/local/directadmin/custombuild/mysql_backups MySQL compress backups: no PHP (default): 8.4 phpMyAdmin: 5.2.3 ProFTPD: no Pure-FTPd: 1.0.52 RoundCube webmail: 1.6.11 Replace "php.ini" with 'da build all' and 'da build php_ini': no Cron for notifications and (or) updates: yes Cron frequency: daily Run "clean_old_webapps" every time: yes Show texts in bold: yes SquirrelMail: no Zend Guard Loader: no ionCube loader: no Suhosin: no
and PHP extensions
It is a commercial software, Directadmin is not shipped with it.
DA installs redis-8.2.3 on AlmaLinux 10 from a source.
csf: v15.05 (DirectAdmin) is running fine too
What is wrong with them?
Bash:[root@dev10 custombuild]# grep ^php_.*=yes options.conf php_imagick=yes php_redis=yes [root@dev10 custombuild]#
PHP options can be changed as usually:
Bash:[root@dev10 ~]# php -i | grep -i memory_limit memory_limit => 128M => 128M [root@dev10 ~]# [root@dev10 ~]# echo 'memory_limit=512M' >> /usr/local/php84/lib/php.conf.d/90-custom.ini [root@dev10 ~]# [root@dev10 ~]# php -i | grep -i memory_limit memory_limit => 512M => 512M [root@dev10 ~]# [root@dev10 ~]# [root@dev10 ~]# php -v PHP 8.4.14 (cli) (built: Oct 29 2025 05:08:52) (NTS) Copyright (c) The PHP Group Zend Engine v4.4.14, Copyright (c) Zend Technologies [root@dev10 ~]# [root@dev10 ~]# uname -r 6.12.0-55.42.1.el10_0.x86_64 [root@dev10 ~]#
View attachment 9460
I've got a set of additional measures for an each new server, and I do follow certain steps to make a server ready. Probably If I re-install OS and DirectAdmin it will miss some requirements, but it is no way critical, I believe.
What do I do wrong?
You should first enabled it in options.conf:
Bash:da build set redis yes da build redis da build set php_redis yes da build php_redis