-
enetworkassociates started following FIx and install netdata In CWP Almalinux 8/9 and Wordpress and Caching.
-
Wordpress and Caching.
I hope this will help some one any advise is welcomed. I have a VPS with 32g’s of ram, and 8 CPU’s. I use CWP on it to host 24 accounts for in-house domains I manage all running WordPress on low traffic websites. My main site has 17 active plugins and three that I activate on a per / use basis for wp-admin tasks only and it has the most traffic. So I have been using Nginx & Varnish & Apache using WordPress as the Varnish default vhost template. I am developing a WordPress Multi-site that I hope will gain traction. I have opened it up for registration for sites and memberships. So for the first time in years I looked at tweaking the server now before it grows larger and becomes more active with visitors / members. For 3 years now I have not been using any caching plugins for WP except for the Redis official plugin. At one point a couple of years ago I enabled cache on all WP installations. Before too long I had caching errors and it happened again using W3 Total Cache plugin again selecting redis for object / DB caching. The issue is that I would be and some visitors served another domain / wordpress site on the this same server. Security became a concern as I have /wp-admin/ rewritten to /”secret-admin”/ across all my sites on the server and I was getting served up login urls @ another site. As admin using the brave browser it is a struggle to clear out the cache on the client side and visitors like me and crawlers might have to wait a while for it to expire locally. On any event I loos site traffic and it sets of the search engines and browser warnings. I did some quick research and by trial and error have come to the conclusion Opcode (APC-APCu) seems to be the right setting for the VPS (KVM). W3TC suggested that I use Advanced Disk Caching option for a shared hosting environment - I first tried redis as it consistently gave the best performance gains according to the benchmark testing I did in the plugins initial setup and I thought W3TC would keep it from polluting other WP caches on the server. I tried memchached, it seemed to work well, php-fpm and mariadb calmed down quite alot. I then reconfigured W3 to use Opcode and so far it has outperformed memecached. My question is using Opcode (APC-APCu) instead of Advanced Disk Caching the right choice? Technically each WP installation is in a shared server environment with different cwp user accounts and W3TC says that disk caching is the best option. Am I naive in thinking Opcode (APC-APCu) is safe and or the right choice given all the shared hosting sites are in house? Again I hope this helps someone and if you have feed back I look forward to hearing it.
-
How to install latest Stable/mainline Nginx in CWP, Centos 8/9 stream, AlmaLinux 8/9, RockyLinux 8/9
- Brotli and nginx 1.26.2 Issues.
I upgraded nginx to version: nginx/1.26.2 using the guide here. version 1016000 instead of 1026002 in /etc/nginx/nginx.conf:1 There is an error in mismatch in the objects buildID’s How can I resolve it? Thanks for any insight you can share. Feb 3 23:27:32 net systemd[1]: Starting nginx - high performance web server... Feb 3 23:27:32 net nginx[2242722]: nginx: [emerg] module "/etc/nginx/modules/ngx_http_brotli_filter_module.so" version 1016000 instead of 1026002 in /etc/nginx/nginx.conf:1 Feb 3 23:27:32 net systemd[1]: nginx.service: Control process exited, code=exited status=1 Feb 3 23:27:32 net systemd[1]: nginx.service: Failed with result 'exit-code'. Feb 3 23:27:33 net systemd[1]: Failed to start nginx - high performance web server.- Best Hosting providers for CWP - Control Web Panel
I have been using SSDNODES for going on 4 years now. Have a dual sever set up - 8 CPU - 32GB RAM - [480GB NVMe] is under $125.00 / year. Never had any down time, never had any resource issues. KVM’s. CentOS / Alma / Rocky / images offered for use with CWP. For me it is the best value and I got a server in a NOC a couple of hours away from where I live. This is an honest recommendation. https://www.ssdnodes.com/manage/aff.php?aff=932- Update CWP RoundCube Mail Version 1.5.8 – Control Web Panel
I can report it does. Thank you Sandeep for another great topic.- Clean all log files and Free DISK Space in CWP – Control WebPanel
Thank-You!Sandeep. I went from having 16gb of disk space left to now having only used 28% of a 475GB ssd! I was thinking a storage upgrade was in order. Four years I think of logs… Issue I ran into is “truncate: cannot open '/var/log/cwpsecure/reject_003.log' for writing: No such file or directory” after chmod and executing “ sh /root/clearlog.sh” CWP Secure CentOS Kernel is not active so I #’ed it out. and all is well. I also implemented @torettos tip re mail and roundcube. Much appreciated, thank you both. I set cron for 6 months “0 0 1 /6 /usr/bin/sh /root/clearlog.sh”- Update CWP RoundCube Mail Version 1.5.8 – Control Web Panel
Will this work with AlmaLinux 8.10 ?- FIx and install netdata In CWP Almalinux 8/9
👍- Which OS IS GOOD FOR CWP
AlmaLinux 8.10 seems to be a solid performer and upgrade path. This is what CWP says: “The best option in 2024 is still the AlmaLinux 8.” -—> https://control-webpanel.com/installation-instructions#step2 AlmaLinux 9 has some missing features and PHP versions are limited to PHP 7.4 or higher. *EL9 is in beta stage If you NEED 9.0 and if you have time on your hands you could install CWP on Alma 8.10 base OS and then upgrade from AlmaLinux 8.10 to AlmaLinux 9.X and see if it meets your needs.- FIx and install netdata In CWP Almalinux 8/9
I came here and followed these instructions: This aborted on me, so close though - Alma 8.10 with CWP The error message is “Package 'libuv', required by 'virtual:world', not found” I initiated the netdata install via cwp control panel. The install failed twice. I then found this “fix” or “workaround” here: https://forum.centos-webpanel.com/centos-8-problems/failed-install-last-version-netdata-in-cwp-control-web-pannel-centos-8-stream/msg48165/#msg48165 Then used the install script as found @ cwp —> “cd /scripts && cp install_netdata install_netdata.orig && wget -O install_netdata https://github.com/LPJon/cwpfixes/raw/main/install_netdata && /scripts/./install_netdata" The uninstall failed for this as well. The errors: -- Checking for module 'libuv' -- Package 'libuv', required by 'virtual:world', not found CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:607 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal) CMakeLists.txt:2150 (pkg_check_modules) -- Configuring incomplete, errors occurred! FAILED '' ABORTED Failed to configure Netdata sources. ^ |.-. .-. .-. .-. .-. . netdata .-. .-. .-. .-. .-. .- | '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+---> ABORTED Netdata failed to build for an unknown reason. Operating System: AlmaLinux 8.10 (Cerulean Leopard) CPE OS Name: cpe:/o:almalinux:almalinux:8::baseos Kernel: Linux 4.18.0-553.33.1.el8_10.x86_64- Upgrade MariaDB 10.11 In CWP Centos 7 Centos 8 stream AlmaLinux 7/8 RockyLinux 7/8
Every thing seems to be running OK following the above in AlmaLinux 8.9 There is one thing: mysql_upgrade --force works but it produces the following error ---> "mysql_upgrade: unknown variable 'query_cache_type=1'" In CWP dashboard using the restart MySQL Database Server button works, and the error is suppressed in the success dialogue. Thanks for sharing this with us Sandeep! - Brotli and nginx 1.26.2 Issues.
enetworkassociates
Priority Members
-
Joined
-
Last visited