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.
1306
E-Mail / Re: Roundcube update not working due to php version of cwpsrv
« on: January 14, 2023, 11:57:35 PM »
The CWP team should get to this, but their timeline is always opaque. Meanwhile, I myself am not too worried about it as a break-in vector, as my config is generally hardened, as is Postfix so I shouldn't become a UCE relay. Not being an open relay and rate-limiting your outbound mail flow will really make you NOT a juicy target for spammers.
1307
PHP Selector / Re: I cannot run php versions above Php 7.2 on my Centos Web Panel Server.
« on: January 14, 2023, 11:45:54 PM »
When installing a new version of php-fpm, the sockets config is not automatically created for you; you must do it manually. So after building it and will create an error of the .sock file missing. So you have to copy over your older users directory. For example, after enabling php 7.4, I had to create:
/opt/alt/php-fpm74/usr/etc/php-fpm.d/users
this way:
/opt/alt/php-fpm74/usr/etc/php-fpm.d/users
this way:
Code: [Select]
sudo cp -r /opt/alt/php-fpm72/usr/etc/php-fpm.d/users /opt/alt/php-fpm74/usr/etc/php-fpm.d/users
and then edit the new conf files to reflect the new version:Code: [Select]
sudo perl -pi.back -e 's/php-fpm72/php-fpm74/g;' /opt/alt/php-fpm74/usr/etc/php-fpm.d/users/*.conf
Then restart the php-fpm process:Code: [Select]
sudo service php-fpm74 restart
1308
PHP Selector / Re: PECL extensions using PHP-FPM?
« on: January 14, 2023, 11:33:24 PM »
In the CLI, you have to call the specific version of php-fpm you want, instead of just blindly calling php in the terminal. For example, call php 8.1 with no memory limit (as I often have to do with composer):
And for things that need to run as a specific user, instead of root:
Code: [Select]
/opt/alt/php-fpm81/usr/bin/php -d memory_limit=-1
And for things that need to run as a specific user, instead of root:
Code: [Select]
sudo -u USERNAME /opt/alt/php-fpm81/usr/bin/php -d memory_limit=-1
1309
Other / Re: Problem with users SSH access
« on: January 09, 2023, 11:33:09 PM »
Are you using AllowUsers and/or AllowGroups in /etc/ssh/sshd_config?
1310
Other / Re: Create new disk (home2) because /home is full
« on: January 09, 2023, 09:21:07 PM »
You would probably need to create home2 on the other disk, then possibly symlinks in /home pointing to it would work, or else you could put fstab mounts into /home (after clearing it out first -- as with the guides). But I think you'll find that /home generally isn't the culprit for disk consumption. A better consideration would be to put /var/vmail on another disk and mount it at /var/vmail in the filesystem. For instance, I have one packrat customer that has 75GB of mails in /var/vmail. Sum total of /var/vmail on that server is over 200GB of my 300GB disk allotment!
Or did you put /home on a separate partition?
Or did you put /home on a separate partition?
1311
Other / Re: CWPpro Terminal - How to disable it - causing excess memory usage
« on: January 09, 2023, 11:41:14 AM »
Agreed; haven't found it worth the bother nor the bloat and slow responsiveness. Always a better remote term available on any system I use (Mac, Linux, Windows PuTTY, etc.)
1312
Other / Re: Create new disk (home2) because /home is full
« on: January 09, 2023, 11:01:43 AM »
There are many guides out there...
1313
Other / Re: CWP Forum
« on: January 09, 2023, 10:59:32 AM »
Agreed, please update the forum to the latest version of the forum (2.1.3 -- released Mon, 21 Nov 2022). The currently running version is woefully out of date and subject to many bugs and security issues!
1314
Varnish / Re: Wordpress robust default.vcl ? do you have any?
« on: January 08, 2023, 09:03:01 PM »
Thanks much! I have WordPress sites running under nginx but have had thoughts of integrating Varnish into the flow to milk a little more performance out of the site, esp. since it is more static in nature. I'll give your .vcl a test drive and see how it goes. I'll report back if I have any issues.
1315
Varnish / Re: Drupal VCL tpl file for Varnish
« on: January 08, 2023, 08:59:06 PM »
Thanks much! I have a Drupal 9 site running under nginx but have had thoughts of integrating Varnish into the flow to milk a little more performance out of the site, esp. since it is more static in nature. I'll give your .vcl a test drive and see how it goes. I'll report back if I have any issues.
1316
Problems on other RedHat linux servers / Re: Port 2030 does not open
« on: January 08, 2023, 07:52:45 PM »
And best practice is to run everything under HTTPS -- so you can skip 2030 and go for 2031 instead. I prefer that, as well as 2096 for webmail, instead of HTTP on 2095. (I prefer not to follow cPanel's port conventions, though -- I don't like using 2087 for the admin panel.)
1317
Problems on other RedHat linux servers / Re: CWP working on RHEL 7.4
« on: January 08, 2023, 07:49:24 PM »
Good to know! With Red Hat giving out 16 free licenses to RHEL, it is a viable option for smaller scale operations. I could do use it in my setting with only 4 servers, but will probably go with AlmaLinux or Rocky Linux due to the open source licenses that are unencumbered.
1318
Problems on other RedHat linux servers / Re: A User is Running an Unknown Command
« on: January 08, 2023, 07:33:38 PM »
you can try running whowatch to help you determine whodunnit.
1319
CentOS 7 Problems / Re: What do you think about this " ?
« on: January 08, 2023, 08:07:10 AM »
I have to agree with Jose.
Shilling for "BulletProof Security Pro" in this forum seems to be the wrong topic in the wrong forum.
Shilling for "BulletProof Security Pro" in this forum seems to be the wrong topic in the wrong forum.
1320