Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - its_me_rbk

Pages: [1]
1
Installation / Re: Which os to choose?
« 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.

2
Installation / Re: Which os to choose?
« 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.

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

4
Installation / Re: Which os to choose?
« on: June 26, 2025, 11:26:16 AM »
Are there any bugs in features, other than the CWP Migration and PHP versions?

5
Installation / Re: Which os to choose?
« 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?

6
Installation / 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.

7
Updates / Re: CWP Update?
« on: June 13, 2025, 06:33:31 PM »
Hey guys, can I use the EL8 version of cwp in AlmaLinux 9 or 10?

8
Updates / Re: CWP Update?
« on: May 29, 2025, 09:41:40 AM »
Is there any approximate eta for CWP support in AlmaLinux 9 or 10?

9
Information / Re: Website in Hostname
« on: April 26, 2025, 04:16:00 AM »
Server webroot is /usr/local/apache/htdocs/
serving /usr/local/apache/htdocs/index.html by default.

Thanks for your reply!

10
Information / Website in Hostname
« on: April 25, 2025, 06:21:50 PM »
Hi,

I have a question about setting up websites on subdomains - especially the server hostname.

Let’s say:
I’ve set server.domain.com as my server’s hostname (used for the panel, like CWP panel).
I also have other subdomains like shop.domain.com, portfolio.domain.com, etc., added for users or websites.

Now, I want to know:
👉 Where do I store the website files for the hostname subdomain (server.domain.com)?
I want it to show a website when someone visits https://server.domain.com/.
I don't want it to render the demo page of CWP Panel.
Is there a specific path for this?

Many thanks for considering my request.


11
The previous advice was for shell scripts under /scripts  -> /usr/local/cwpsrv/htdocs/resources/scripts

To accomplish what you want, in a root shell, edit this file with nano:
Code: [Select]
nano  /usr/local/cwpsrv/htdocs/resources/admin/modules/WebServers_manage.phpinsert an exit(0) on the next line after the leading php stanza, before all the encoded PHP code:
Code: [Select]
<?php //0042b
// Copyright CentOS WebPanel, Decoding is FORBIDDEN
// All Rights Reserved. www.centos-webpanel.com
if(!extension_loaded(&#39;ionCube Loader&#39;)){$__oc=strtolower(substr(php_uname(),0,3));$__ln=&#39;ioncube_loader_&#39;.$__oc.&#39;_&#39;.substr(phpversion(),0,3).(($__oc==&#39;win&#39;)?&#39;.dll&#39;:&#39;$
?>

exit(0)
If you want it to survive a CWP update, you could make it immutable:
Code: [Select]
chattr +i /usr/local/cwpsrv/htdocs/resources/admin/modules/WebServers_manage.phpTo reverse the process, unset the immutable bit and remove the exit(0) line.

Thanks for your help!

12
You could probably move the switcher script to another place to hide it (from yourself?), but each CWP update may restore it. Or you could always put an exit 0 line under the shebang line of script to make it inert (again, each CWP update may reset the change):
Code: [Select]
#!/bin/bash
exit 0

Can you provide the path to that file?

13
Hi all,

I’m running CWP Free (on AlmaLinux 8.10) and I’d like to lock down the "Select WebServers" option to prevent any accidental changes - both from the GUI and via SSH.

My current setup (Apache + Nginx + Varnish) is stable, and I want to:
  • Disable or hide the "Select WebServers" section in the CWP admin panel.
  • Prevent changes via SSH, such as running the web server switch scripts or reinstallation commands.
  • Have a safe and clean method to unlock or restore this functionality when I intentionally want to make a change in the future.

Essentially, I want to enforce a kind of “freeze” mode for the web server stack, and later be able to toggle it off safely without breaking anything.

Any guidance or script-based methods to:
  • Make the web server configuration unchangeable (GUI + SSH)?
  • Re-enable it cleanly without reinstalling CWP or the stack?

Thanks a ton in advance!

Pages: [1]