Author Topic: Which os to choose?  (Read 374 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Which os to choose?
« on: June 25, 2025, 05:50:07 PM »
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.

Offline
*****
Re: Which os to choose?
« Reply #1 on: June 25, 2025, 09:09:36 PM »
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)

Offline
*****
Re: Which os to choose?
« Reply #2 on: June 25, 2025, 11:53:06 PM »
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!

Offline
*
Re: Which os to choose?
« Reply #3 on: June 26, 2025, 05:55:14 AM »
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?

Offline
*****
Re: Which os to choose?
« Reply #4 on: June 26, 2025, 10:47:52 AM »
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

Offline
*
Re: Which os to choose?
« Reply #5 on: June 26, 2025, 11:26:16 AM »
Are there any bugs in features, other than the CWP Migration and PHP versions?

Offline
*****
Re: Which os to choose?
« Reply #6 on: June 26, 2025, 02:42:50 PM »
For EL9, this is an immediate must do:
We are working on resolving this issue, a quick fix is ​​to go to this file
Code: [Select]
nano /etc/login.defs


and comment out the following line

Code: [Select]
SHA_CRYPT_MAX_ROUNDS 5000


to

Code: [Select]
#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]

Offline
**
Re: Which os to choose?
« Reply #7 on: June 26, 2025, 02:51:47 PM »
Skip alma 8 jump right into alma 9  ;) then use MySQL version: 10.11.13-MariaDB

Offline
*
Re: Which os to choose?
« Reply #8 on: June 26, 2025, 02:54:53 PM »
Thanks Guys, for your support. I'll set up CWP in AlmaLinux 9.

Offline
*
Re: Which os to choose?
« Reply #9 on: June 27, 2025, 09:40:05 AM »
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.

Offline
*****
Re: Which os to choose?
« Reply #10 on: June 27, 2025, 01:27:53 PM »
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.

Offline
*****
Re: Which os to choose?
« Reply #11 on: June 27, 2025, 02:32:29 PM »

Offline
**
Re: Which os to choose?
« Reply #12 on: June 27, 2025, 03:07:38 PM »

Offline
*****
Re: Which os to choose?
« Reply #13 on: June 27, 2025, 03:17:02 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.

Offline
*
Re: Which os to choose?
« Reply #14 on: June 28, 2025, 02:32:05 AM »
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.