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 - kandalf

Pages: 1 2 [3] 4 5 6
31
Installation / Re: Centos 7 still the recommended version?
« on: February 28, 2022, 06:11:21 PM »
I read some where if your on centos 8 stream you cant migrate to any thing after that i moved to rocky linux 8 and every thing is working fine.

I also read that and it's other reason that probably make me go for the centos 8 stream delayed

32
Installation / Re: Centos 7 still the recommended version?
« on: February 28, 2022, 01:45:41 PM »
yes, centos 7 is still the most covered with all services while el8 is now also mostly all covered including cwp kernel.
So it's up to you about the version you want to select, note that el7 to el8 update is not possible, however, there is a cwp-to-cwp migration tool for account migration.

But there are any relevant service that it not covered in el8? Or some known important bug?
It's a little annoying to buy a new server and know that in 2 years I will need to move everything from there.

33
Installation / Centos 7 still the recommended version?
« on: February 28, 2022, 11:47:24 AM »
I will buy a new server I read on the official documentation that Centos 7 is the recommended version, we also have the centos 8 stream delayed or even Rocky Linux. This information is updated? Do you still recommend Centos 7?

When the Centos 7 reach the end of life it's possible to update for example to Centos Stream or I will need to create a new installation and migrate manually everything?

It's a little strange to install a OS with about 2 years of life, it's a lot of work to migrate websites and emails and everything related

34
Apache / Re: nginx -> apache -> php-fpm VS nginx -> php-fpm
« on: February 28, 2022, 09:15:38 AM »
using apache allows you to have more flexibility as for nginx all config needs to be done in the nginx vhost conf file,
while apache is more flexible with additional modules and rules like with htacces, PHP custom configuration .user.ini ...and even some scripts will not work well with nginx only.

But with nginx -> apache -> php-fpm all regular htaccess rules will work like in my current config that is Nginx + Apache php-cgi?

yes and no. Everything will work normally in htaccess except the rules that nginx has been specifically configured to take over. Either way, the best server option is "nginx - varnish - apache - phpfpm"

In reallity at the moment in my current server  I have nginx - varnish - apache php-cgi, but I think varnish it not working. After reading a little but varnish seems a little tricky, we need to configure and test it on every website, I will host losts of client websites I don't want to implement anything that required a special configuration for each one.

I'm more interested in have a default configuration like nginx - apache - php-fpm and if I required for some website enable the nginx - varnish - apache - phpfpm

35
Apache / Re: nginx -> apache -> php-fpm VS nginx -> php-fpm
« on: February 27, 2022, 12:49:31 PM »
using apache allows you to have more flexibility as for nginx all config needs to be done in the nginx vhost conf file,
while apache is more flexible with additional modules and rules like with htacces, PHP custom configuration .user.ini ...and even some scripts will not work well with nginx only.

But with nginx -> apache -> php-fpm all regular htaccess rules will work like in my current config that is Nginx + Apache php-cgi?

36
Apache / nginx -> apache -> php-fpm VS nginx -> php-fpm
« on: February 27, 2022, 10:17:32 AM »
I found that CWP have a configuration that is nginx -> apache -> php-fpm what are the advantages of this instead of nginx -> php-fpm?

With nginx -> apache -> php-fpm can we still use .htaccess?

At the moment I'm using Nginx + Varnish + Apache php-cgi, I don't know exactly the impact of Varnish since I don't change any configuration but all websites work well.

Most of the examples on the internet use nginx + php-fpm or apache + php-fpm, I don't understand what are exactly the advantages of have nginx + apache + php-fpm

37
Backup / Retention of backup for the last X days
« on: February 21, 2022, 11:43:37 AM »
At the moment the regular backup system can do a daily, weekly and monthly backup, but it lacks a function for example to keep the last 3 daily backups. There are any way to have the last X daily backups?

With the new backup system we already can have a backup for each day this will required the have space for at least 7 days, there are any way to get only for the last X days, this is very common in many systems but I don't know how to implement it on CWP

38
There are any way to do that automatically?

No.

PHP-FPM is your answer

Why?

Your first post shows that you know a bit about how these things works. That's why he gave you the short answer.

The long answer:

1. Install PHP 7.3 through PHP-FPM.
2. Go to Webserver Domain Conf and choose the domain(s) you want to stay with 7.3.
3. Select the appropriate Webserver configuration and then tell the panel to apply PHP-FPM 7.3 to those sites.
4. Double check everything is working right on those domains.
5. Now, upgrade your default PHP version to 8.x.

Now all websites will be using PHP 8.x except those domains you told the panel to keep using PHP-FPM 7.3 at point 3 above.

Manually I know that I can create a custom configuration for each domain but do this for more than 200 domains, it's better for me buy a second server and keep the current one with this old php version.

All my websites use regular PHP running under Apache, I can't change it to php-fpm because it requires that I change the .htaccess in every website, lots of this websites are managed by my clients.


39
Backup / Enabling remote backup will keep the files in the current server?
« on: February 18, 2022, 10:04:38 AM »
I have enabled the remote backup, but I still have the backups in the current server, can I erase it or the remove backup it's only a duplication of my local backup?

In other words can we have only the remote backup without store the anything in the current server?

40
Information / Bandwidth monitor with historic
« on: February 18, 2022, 10:00:15 AM »
I think CWP should have a Bandwidth monitor not like the current one that only show the current bandwidth consumption but something like vnstat, that shows a log of consumption but month, by day and even by hour.

This is really useful, for example I have enabled remote backup and I don't have any idea how much data it being sent every day.

41
Backup / There are any backup logs?
« on: February 16, 2022, 09:30:32 AM »
I'm using the old backup system with remote backups (via ssh with rsync), there are any backup logs? I want to know how many time takes to do the backup, to calculate the transfer speed between both servers.

Another doubt the backup will be duplicated (in current server and in the remote server) or it will only send to the remote server and erase it on the current one?

43
The default PHP version on my server is PHP 7.3 I want to update it to 8.0 or 8.1, but since I have lots of websites most of them are using the current default version I want to keep that websites with the current version. There are any way to do that automatically?

Some websites are already using a custom php version, that websites will be not affected by this, but the ones that don't set a custom php version I need to force to set version 7.3 before uptade the default php to 8.1

44
Thank you for your report.
This is fixed for our next version

Perfect, thank you.

I have only a question do you plan to add to the client panel any way to edit the apache/nginx template used by a domain? For example a Laravel website required a different root folder and I need to do that everytime from my admin panel, I don't know if this can cause any security issue or not it's only a question.

if the user can choose from the pre-made templates yes, but editing them, no. i believe this would be a major security issue. All the work an administrator have done to secure unauthorized use of htaccess and php can be undone if the user can edit the content of the templates

Yes I was talking about select from the pre-made templates not create a custom one, only select between some pre-made templates

45
Thank you for your report.
This is fixed for our next version

Perfect, thank you.

I have only a question do you plan to add to the client panel any way to edit the apache/nginx template used by a domain? For example a Laravel website required a different root folder and I need to do that everytime from my admin panel, I don't know if this can cause any security issue or not it's only a question.

Pages: 1 2 [3] 4 5 6