Top Menu

Search results for "socialengine nginx configuration sample"

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

Virtualmin now includes support for Nginx web server. I deploy many WordPress sites with W3 Total Cache and APC Alternative PHP Cache, so I was very interested to see how Nginx performance compares to Apache for WordPress, and whether APC and W3TC would play nice with Nginx. I prefer to install WordPress in public_html/wordpress for ease of development, compatibility with other scripts, etc. Accordingly, the suggested configuration is for WordPr… 3, 0, 0, 0 and 2166.44

Continue Reading 18

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…st version of phpMyAdmin. This post will teach you how to install phpMyAdmin on CentOS, Amazon Linux, or Redhat. Configuration instructions are provided for Apache and NginX web servers. For this to work properly and safely, you should be running SSL on your host. Otherwise, change the ForceSSL line in the config file provided below… Install phpMyAdmin from EPEL repository Uninstall current PMA: yum erase phpMyAdmin Set up EPEL repo: Find… 4, 0, 0, 0 and 765.38

Continue Reading 0
APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…double apc.shm_size in relation to APC’s highest reported Memory Usage to avoid fragmentation completely. Configuration Suggestion for php.ini in the virtual server’s /home/domainname.com/etc/php5/php.ini, add the following configuration: (you may also install memcached, and should install fileinfo for full use of W3 Total Cache) [memcached] ;memcached for distributed servers – e.g. mysql server on separate host ;extension=memcache.s… 8, 0, 0, 0 and 415.12

Continue Reading 53

Varnish VCL and Config for WordPress with W3 Total Cache

…scribed the architecture in Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS. I now have a configuration that seems to work for all WordPress features, including logged-out commenting. This configuration also works well with W3 Total Cache. This configuration is for Varnish on a separate server, but should also work on a single server with appropriate changes to the port and backend IP settings. Varnish Config (/etc/sysconfi… 6, 0, 0, 0 and 311.34

Continue Reading 23

Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment

…his presents challenges in security as well as performance tuning. It is impossible to predict whether a certain configuration will work properly for a given server, unless the hardware, software, accounts, network and traffic are identical to a previously configured server… therefore it is impossible to give a configuration which will cover all applications. Firewall Unnecessary Traffic from Affecting the Server Before you begin performance tuni… 5, 0, 0, 0 and 259.45

Continue Reading 7

Web Hosting

Decades of experience hosting websites, from small local sites with only a few html pages, to high-traffic sites with thousands of users and pages.  Website hosting, evolved Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only […]

Continue Reading

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

Fail2Ban is a very efficient daemon that scans log files for malicious activity, and offers several options to ban offending IPs and hostnames. Although it is highly configurable, it requires a depth of knowledge beyond that required for GUI-accessible firewalls such as ConfigServer Security & Firewall. Harden the Kernel Before do anything further, it is necessary to harden the server at the kernel level. Doing so will prevent the majority o… 1, 0, 0, 0 and 51.89

Continue Reading 0

WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux

VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log):

Apache nohome regex (error_log):

[…]

Continue Reading 0
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

APC cache does not work well in a virtual hosting environment unless PHP is running as FCGID, and every individual virtual host has a unique PHP.ini and a unique fcgiwrapper. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great. I suggest using Virtualmin for a shared hosting environment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual h… 1, 0, 0, 0 and 51.89

Continue Reading 2