Which os to choose?

Started by its_me_rbk, June 25, 2025, 05:50:07 PM

Previous topic - Next topic

its_me_rbk

Hi,

I am going to set up a public web hosting using CWP. I want to decide which os i should choose. I don't want to update my os for the next 4 years. Should I go for AlmaLinux 8 now? Since EL9 is in beta stage right now, I am confused. I will use other apps too on the same server, so I am comfortable with AlmaLinux only.

Thanks for your reply in advance.

Starburst

CWP recommends AlmaLinux 8.x, problem with that is it's in it's 'Security Support" phase until May 2029.

AlmaLinux 9.x works fine with CWP, as long as you don't need PHP lower than 7.4.x and/or don't need the migration tool (that's still buggy)

overseer

I would (and do) start with AlmaLinux 8 -- fully supported, best experience -- no real caveats or gotchas. Then there is a clear path forward to upgrade to AlmaLinux 9 at any point in your 4 year window, as long as the security update phase is appropriate for your use case. (It is for mine!) CWP's EL9 support it in a workable beta state at this point and the bugs should be ironed out by the time you need to upgrade -- probably likewise into the security update phase of AlmaLinux 9!

its_me_rbk

So, if I start with AlmaLinux 8 by now, will I be able to update to AlmaLinux 9 when EL9 of CWP becomes stable without breaking anything?

overseer

But if you don't need CWP Migration nor PHP 5.6 legacy, then you could start with Alma 9, which would give you the longest window -- almost 7 years without having to worry about upgrades:
https://endoflife.date/almalinux

its_me_rbk

Are there any bugs in features, other than the CWP Migration and PHP versions?

overseer

For EL9, this is an immediate must do:
Quote from: josemnunez on November 28, 2024, 08:34:19 PM
We are working on resolving this issue, a quick fix is ​​to go to this file

nano /etc/login.defs



and comment out the following line


SHA_CRYPT_MAX_ROUNDS 5000



to


#SHA_CRYPT_MAX_ROUNDS 5000


After this you can change the user's password from the cwp administration panel and you will be able to login.
[/quote]

Martins-phpbb

Skip alma 8 jump right into alma 9  ;) then use MySQL version: 10.11.13-MariaDB

its_me_rbk

Thanks Guys, for your support. I'll set up CWP in AlmaLinux 9.

its_me_rbk

The default MySQL version I got in EL9 is
mysql  Ver 15.1 Distrib 10.5.27-MariaDB, for Linux (x86_64) using  EditLine wrapper .

Should I keep this or update it to 10.11.13-MariaDB as @Martins-phpbb said?

And the line SHA_CRYPT_MAX_ROUNDS 5000 was already commented when I installed cwp.

overseer

You do want MariaDB 10.11.13 (an LTS version), not the crusty EOL 10.5 installed by default.
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/#comment-25

Good to hear the login.defs is getting handled by default now, otherwise you would not be able to log in to CWP.

Starburst



Starburst

Quote from: Martins-phpbb on June 27, 2025, 03:07:38 PM
Here is alma 9 instructions https://www.alphagnu.com/topic/22-install-mariadb-1011-in-centos-stream-9-almalinux-9-rockylinux-9 not alma 8.

Those instructions as they mention, is to do the Initial installation of MariaDB on a clean EL9 server.

Upgrading it from a previous version is a little different, as you can see the extra steps you have to complete.
Especially with CWP.

its_me_rbk

I've updated MariaDB to 10.11.13. Is there anything apart from this to be updated? If someone can provide everything in a single message, it'll be useful for everyone who views this thread.