The choice of distribution for DA

jasne

Verified User
Joined
Sep 28, 2011
Messages
52
Hello,

I have to move services from my old server Centos 6.5 and DirectAdmin 1.643,
I am looking for the most optimal distribution for DirectAdmin on the new server.

I have the following distributions to choose from:
  • Centos 7
  • Debian 10 or 11
  • Ubuntu Server 20.04 LTS or 22.04 LTS
At the moment, I am considering Ubuntu 22.04 LTS or Debian 11.
I should mention that I will need the following services on the new server:
  • php 5.3.29
  • php 5.6
  • php 7.2
  • php 7.4
  • php 8.1
  • MySQL 5.6
  • MySQL 8.0
As you can see, I need to keep old versions for some of the services.
Therefore, I wanted to ask for your advice regarding the distribution in my case.
 
Instead of Centos 7 you might want to choose Almalinux 8 which is supported for a longer time.
Centos 7 EOL 2024 and Almalinux 8 EOL 2029. And Cloudlinux to be able to use 5 php versions and maybe such old php like 5.3 anyway, not sure if newer systems support that.

Or maybe Debian or Ubuntu, but I don't use those, so I can't advise on those.

However, with that kind of old stuff, I agree with @BillyS that Cloudlinux 8 might be the best solution for you. And you need a RH alike to be able to use Cloudlinux.
 
Agree with all guys, to support outdated PHP you can't use Debian 11 or Ubuntu22, if you want to keep old PHP secured and patched - Cloudlinux 8.7 only. Also there are unsolved bug with update from Cloudlinux 8.6 to 8.7, so ask DC to install directly new Cloudlinux 8.7 (better from official repo, than install Almalinux and convert it, especially if you want to install it to soft-raid (mdraid)).
 
Agree with all guys, to support outdated PHP you can't use Debian 11 or Ubuntu22, if you want to keep old PHP secured and patched - Cloudlinux 8.7 only. Also there are unsolved bug with update from Cloudlinux 8.6 to 8.7, so ask DC to install directly new Cloudlinux 8.7 (better from official repo, than install Almalinux and convert it, especially if you want to install it to soft-raid (mdraid)).\zzz
OVH is my DC, they offer only AlmaLinux 8 or 9, it can't be ... right ? I'm affraid that I can't get CloudLinux 8.7 from OVH...
 
OVH is my DC, they offer only AlmaLinux 8 or 9, it can't be ... right ?
Yes, it can be AlmaLinux 8 but it can't be Almalinux 9 because of the openssl 3.0. With AlmaLinux 8 you should be able to run Cloudlinux 8.7.
Maybe Cloudlinux can help you with the installation because of the bug Zhenyapan mentioned.
 
There is only problem with upgrade 8.6-8.7, sometimes DC provides old OS release, so just run YUM update, update all packages, reboot, install DA, convert it to Cloudlinux.
 
There is only problem with upgrade 8.6-8.7, sometimes DC provides old OS release, so just run YUM update, update all packages, reboot, install DA, convert it to Cloudlinux.
AlmaLinux can't handle various php versions ? CloudLinux do. This is key difference between them in order achieve my goal... am I correct ?
 
will be ok for AlmaLinux 8 and DA ?
For Almalinux 8.x yes but I am afraid you cant build
  • php 5.3.29
Because it is not in custombuild anymore (as far I am aware)
 
Last edited:
For Almalinux 8.x yes but I am afraid you cant build
  • php 5.3.29
Because it is not in cutombuild anymore (as far I am aware)
is there some kind of list available packages from custombuild ?
 
I can surely say that everything above 5.6 is available.
You can check it for your self in Custombuild
 
I would consider to remove php 7.4 which is also EOL already and use php 8.0 instead. Or replace PHP 8.1 with 8.0 as more systems are compatible with php 8.0 than with 8.1.
 
Back
Top