Top Menu

Search results for "mpm worker install on centos 6"

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 3054.86

Continue Reading 2
APC INFO Monitor

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

…d raise your server and thread limits to sane levels in httpd.conf If possible, you 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 ins… 1, 0, 0, 0 and 1078.94

Continue Reading 53

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

…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 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 cur… 1, 1, 1, 0 and 753.96

Continue Reading 0

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

…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 app. RegExr is an inva… 5, 1, 0, 0 and 363.98

Continue Reading 1

Résumé

Chris Gilligan Information Architect, Web Server Administrator, Media Producer web • video • print chris@chrisgilligan.net chrisgilligan.com I design and produce information and communication media for university, corporate, small business, manufacturing and non-profit clients: web sites Information architecture and design for open source content management systems Linux Apache MySQL PHP web server administration Postfix Dovecot Sendmail […]

Continue Reading

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

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

…x 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 WordPress installed in a subfolder. This info also assumes you have successfully installed APC Cache on your server, and set up a clean install of Virtualmin with Nginx as the Altern… 4, 0, 0, 0 and 207.99

Continue Reading 18

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

…mysql/mysql.sock user=mysql symbolic-links=0 innodb_file_per_table = 1 thread_concurrency = 8 query_cache_size = 64M query_cache_limit = 4M thread_cache_size = 8 myisam_sort_buffer_size = 64M read_rnd_buffer_size = 8M read_buffer_size = 2M sort_buffer_size = 2M table_cache = 1600 table_definition_cache = 1600 max_allowed_packet = 4M key_buffer = 1G interactive_timeout = 2 wait_timeout = 5 long_query_time = 1 log_slow_queries = ON open_files_limit… 1, 0, 0, 0 and 194.99

Continue Reading 7

Varnish VCL and Config for WordPress with W3 Total Cache

…L (/etc/varnish/wordpress-varnish3.vcl) backend origin { .host = “10.11.12.13″; .port = “80″; .connect_timeout = 60s; .first_byte_timeout = 60s; .between_bytes_timeout = 60s; } # sub vcl_recv { # only using one backend set req.backend = origin; # # set standard proxied ip header for getting original remote address set req.http.X-Forwarded-For = client.ip; # # logged in users must always pass if( req.url ~ “^/wp-(login|admin)” || req.http.Cookie ~… 3, 0, 0, 0 and 155.99

Continue Reading 23

Social Media Integration

…and Twitter via RSS feeds, with linkback to your website, which improves traffic. WordPress Sites $500 per site Install Facebook Connect and Twitter Connect plugins Optionally, add Facebook feed and fans, Facebook Comments & Sharing Create basic Twitter account and Facebook Page Joomla Sites or Static HTML $500 per site Install Facebook Social plugin and Twitter Feed Optionally, add Facebook feed and fans, Facebook Comments & Sharin… 2, 0, 0, 0 and 103.99

Continue Reading 0