Search results for "centos 6 cached ram"

APC INFO Monitor

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

…u may wish to run Apache with Worker MPM instead of Prefork MPM. More information about Apache Worker MPM vs. Prefork MPM » Installation Suggestions and Modification of Defaults Be sure to install the newest version of APC, 3.1.9 as of the last revision of this post (I assume you know how to install and configure all the packages mentioned in this post): pecl install apc Choose “no” for internal debugging,  but choose “yesR… 12, 0, 0, 0 and 1195.39

Continue Reading Comments { 54 }

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

…your MySQL server performance, you may try: mysqltuner: https://github.com/rackerhacker/MySQLTuner-perl (or http://mysqltuner.pl for the script only) MySQL Tuning Primer: https://launchpad.net/mysql-tuning-primer phpMyAdmin 3.5+: Status Monitor and Advisor are excellent tools, but require proper phpMyAdmin setup These scripts will analyze MySQL performance and make suggestions regarding your my.cnf configuration. mysqltuner is now deprecated,… 2, 0, 0, 0 and 334.71

Continue Reading Comments { 3 }

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

…distribution. Neither can Fail2Ban account for every change in log file location or structure from version to version. What worked for Centos 5.x may not work for CentOS 6.x; what worked in kernel 2.8 may be invalid in kernel 3.4. Also stated earlier, it is well worth the time to learn a little about RegEx. One vehicle to propel the admin far along the path is RegExr. Author Greg Skinner provides an online version as well as Adobe AIR standalone… 5, 1, 0, 0 and 334.71

Continue Reading Comments { 0 }

Varnish VCL and Config for WordPress with W3 Total Cache

…ouch”); } return (hash); } Incoming search terms for the article: w3 total cache varnish varnish wordpress vcl varnish wordpress varnish backend subdomain wordpress varnish vcl varnish video cache server configuration varnish 3 0 wordpress vcl w3tc varnish varnish wordpress multisite w3 total cache varnish cache… 1, 0, 0, 0 and 191.26

Continue Reading Comments { 17 }

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

phpMyAdmin database display I recently ran into a problem with the upgraded 3.5.2 phpMyAdmin package provided via the rpmforge.repo. Search no longer works, nor does pagination, etc. Plus, it’s out of date and vulnerable to an XSS exploit. I have solved this by changing to the EPEL repo, which maintains the latest version of phpMyAdmin. This post will teach you how to install phpMyAdmin on CentOS, Amazon Linux, or Redhat. Configuration ins… 1, 1, 1, 0 and 179.31

Continue Reading Comments { 0 }

Punk Rock Music Community

Punktastic.com is a community powered site that covers punk music in Britain, but is poised to go worldwide. They cover punk and hardcore shows and festivals, and provide album reviews, video interviews and more. With a growing audience and user base, Punktastic needed a more reliable and robust web server, so they made the move to a dedicated CentOS 5 series web server with 3GB RAM. While this is a relatively low-end box, it has plenty of horse… 1, 0, 0, 0 and 143.45

Continue Reading Comments { 0 }

Apache config for Worker MPM vs Prefork MPM

Some installations of Apache will have been compiled to work with either Prefork or Worker MPM, but most by default are compiled only to work with Prefork. Changing to Worker MPM may allow your server to handle much higher traffic, more user sessions, with less RAM use. Your site or server will not scale well if it is running Prefork MPM. Worker is a bit more difficult to set up properly, and has some restrictions regarding functionality of PHP… 1, 0, 0, 0 and 143.45

Continue Reading Comments { 4 }

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 Comments { 0 }

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

…at file (/home/domainname/etc/php5/php.ini) Add the following to php.ini (adjust to your requirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 256 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/scripts-not-to-cache/.*,-/home/username/public_html/apc/.*” apc.slam_defense… 1, 0, 0, 0 and 47.82

Continue Reading Comments { 18 }

Web Servers

Continue Reading Comments { 0 }