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

Pages: 1 ... 72 73 [74] 75 76 ... 96
1096
SSL / Re: How to Change SSL Port number in cwp?
« on: April 17, 2023, 06:11:34 PM »
Easiest would be an iptables redirect, so you don't have to re-configure all services/vhosts. And your new port would need to be opened in the CSF firewall (/etc/csf/csf.conf). Start by enabling port forwarding:
Code: [Select]
echo "1" > /proc/sys/net/ipv4/ip_forwardThen you have to add the following rules to your iptables NAT table:
Code: [Select]
iptables -t nat -A PREROUTING -s 127.0.0.1 -p tcp --dport 443 -j REDIRECT --to 8443`
iptables -t nat -A OUTPUT -s 127.0.0.1 -p tcp --dport 443 -j REDIRECT --to 8443`

1097
Information / Re: block access to CWP from the Internet
« on: April 15, 2023, 10:49:22 PM »
Your approaches all sound fine if you have a static IP address. I would suggest using the higher level CSF over the lower level iptables, if you go that route. You will need to leave ports 2304 (inbound & outbound) & 2443 (outbound) open in order to ping the CWP Pro server that authorizes your IP with the Pro feature set.

You could also use Cloudflare's Tunnel product.

1098
SSL / Re: How to Change SSL Port number in cwp?
« on: April 15, 2023, 02:17:37 AM »
Are you meaning for the CWP admin (2031/2087) or user panel (2083), or just any website running on the standard HTTPS SSL port (443)?

1099
E-Mail / Re: Client host rejected: Access denied
« on: April 14, 2023, 11:57:08 AM »
That's a question for the devs. On my end, I don't need them as I took their default postfix settings and put in my "usual" restrictions block from other servers I manage and fused the two together. Once it was tuned for CentOS and CWP specifically (10 mins) it was pretty much just set-it-and-forget-it. Spamassassin and the CSF firewall have been a lot more frequently tuned than Postfix, from my observeration over the past few years.

1100
Apache / Re: Apache Compiler
« on: April 13, 2023, 12:17:57 PM »
Okay, great. Glad you got it sorted. My usual troubleshooting method on this forum is to "compare notes" with the person in need -- see how their configuration and use case matches up with mine. We had some overlap, so I mentioned which apache version I had running on my CWP servers, in conjunction with php-fpm (not suPHP and not using the PHP Version Switcher). I have only used the PHP Version Switcher on one server that was 1:1, dedicated to a single client -- so I have used it and do have some experience with it. All my other servers host multiple clients so php-fpm is a better use case, as each client often needs a specific version of PHP for different web apps/content management systems.

1101
Apache / Re: Apache Compiler
« on: April 13, 2023, 02:29:25 AM »
Huh? That's quite the perspective...

1102
Information / Re: Support feedback needed
« on: April 13, 2023, 02:27:56 AM »
Support tickets are usually promptly acted on if you provide sufficient details, in my experience. But I've only had a few occasions to need support, esp. earlier on in my CWP journey. Mostly self-sufficient these days!

1103
Nginx / Re: All my site are now showing 502 Bad Gateway nginx/1.20.2
« on: April 11, 2023, 10:41:44 PM »
Here's an example for moving from php-fpm 7.4 to 8.0:
Code: [Select]
cp /opt/alt/php-fpm74/usr/etc/php-fpm.d/users/user.conf /opt/alt/php-fpm81/usr/etc/php-fpm.d/users/user.confThen edit the file (either manually or with a perl or sed substitution) to update it from 7.4 to 8.0:
Code: [Select]
perl -pi -e 's/php-fpm74/php-fpm80/g' /opt/alt/php-fpm81/usr/etc/php-fpm.d/users/user.confThen restart php 8.0
Code: [Select]
systemctl restart php-fpm80.serviceand confirm it made your .sock file:
Code: [Select]
ls -l /opt/alt/php-fpm80/usr/var/sockets/yellowdeli.sockIf it's present, then restart nginx.

1104
Apache / Re: Apache Compiler
« on: April 11, 2023, 10:33:28 PM »
Hmmm. I never applied any "secret sauce" to get to Apache 2.4.56. I run php-fpm and run
Code: [Select]
yum -y update regularly.

1105
Apache / Re: Apache Compiler
« on: April 11, 2023, 02:18:34 AM »
Current on CWP is:
Apache version: Apache/2.4.56

1106
E-Mail / Re: Client host rejected: Access denied
« on: April 11, 2023, 02:16:10 AM »
The vanilla main.cf file leaves a lot to be desired -- much tweaking should be done to it for optimal delivery and UCE controls. But maybe too much to get into now for you if you just want to solve your more basic problem.

1107
Nginx / Re: All my site are now showing 502 Bad Gateway nginx/1.20.2
« on: April 11, 2023, 02:13:37 AM »
When compiling new php-fpm versions, you don't automatically get a user.conf file created (and therefore a user.sock file). You should copy over your existing user.conf from the previous PHP version, change the paths therein appropriately for that PHP version, and restart that version of php-fpm. Also, I see you are using php 8.0. Any specific reason you are not using 8.1 instead? If not, I would recommend compiling 8.1 and using that instead of 8.0.

1108
How to / Re: Upgrade PhpMyAdmin
« on: April 09, 2023, 03:02:08 PM »
And you can't login with your mysql root password? It should be the same credentials as are stored here:
Code: [Select]
/root/.my.cnf
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php

1109
Information / Re: License
« on: April 09, 2023, 09:05:20 AM »
It will revert back to the regular free version of CWP, which is in large part useless. Just pay the developers their few shekels and you will be (mostly) happy! ;)

1110
How to / Re: Upgrade PhpMyAdmin
« on: April 09, 2023, 09:04:09 AM »
No, that's not true at all. I deployed the latest phpMyAdmin 5.2.1 yesterday on all my servers. Follow Sandeep's directions here, replacing any instance of "4.9.2" with "5.2.1":
https://www.uxlinux.com/how-to-update-phpmyadmin-latest-version-on-cwp-centos-webpanel/

Also, the link to the Blowfish hash generator is no longer working, so Google a different one.

Pages: 1 ... 72 73 [74] 75 76 ... 96