Skip to main content

GeoffStratton.com

  • About/Contact
  • GitHub
  • LinkedIn

Tag: Apache

Stop xmlrpc.php Attacks

August 24, 2016March 16, 2022 Geoff Stratton Leave a comment

Summary: how to diagnose and eliminate the xmlrpc.php WordPress exploit when it’s clobbering your web server. You’ve been running a public Ubuntu 12+ and Apache/LAMP web server for a while now. Until recently everything has worked fine, but suddenly your server is struggling to display even static pages. Sometimes content takes forever to load, and […]

Read More

Ubuntu 16.04 Web Server with Apache, PHP, and MySQL

May 15, 2016March 16, 2022 Geoff Stratton Leave a comment

Ubuntu 16.04 LTS has been out for a little while now, and its standard repos offer some nice enhancements over Ubuntu 14: Apache 2.4.18, PHP 7, and MySQL 5.7.12 The process for creating a basic LAMP web server is also streamlined, as a couple of bugs that plagued Ubuntu 14.04 are now eliminated. To create […]

Read More

Web Server Performance 2016

March 9, 2016March 16, 2022 Geoff Stratton Leave a comment

This is a shorthand summary of web server performance and caching systems as of March 2016. General disclaimer: I try to link benchmark results that seem relatively neutral, but as with any survey or study or benchmark roundup, the most pertinent question is cui bono? Ultimately the only reliable benchmarks are those you run yourself […]

Read More

Apache 2 SSL Labs Fixes

January 31, 2015March 16, 2022 Geoff Stratton Leave a comment

Recently I was testing some web servers with the SSL Labs SSL web server test. This article describes the fixes I applied to Ubuntu Server 12.04 to get an A+ on the test. The SSL Labs Test Auditing the SSL certificates on your web server occasionally is a good idea, since you always want to […]

Read More

Varnish and Pound with Apache

August 21, 2014March 16, 2022 Geoff Stratton Leave a comment

Using Varnish and Pound together is a relatively easy way to ensure the Varnish cache works for both SSL and non-SSL web sites. Varnish is a general-purpose web cache that can make your web sites and applications run substantially faster for your visitors while reducing the overall load on your web server. It works by […]

Read More

Swap Apache Prefork for Worker

August 19, 2014March 16, 2022 Geoff Stratton Leave a comment

By default most Apache web servers — at least prior to Apache 2.4 — run Apache’s Prefork MPM (multi-processing module). Prefork works OK and offers the greatest compatibility with existing Apache modules, but it consumes a relatively large amount of memory because it spawns many processes that each handle one connection at a time. Prefork […]

Read More

Ubuntu 14 Web Server With Apache and PHP

August 17, 2014March 16, 2022 Geoff Stratton Leave a comment

Ubuntu 14.04 LTS has been out for a while now, and it offers some nice enhancements over 12.04 in its default repos: Apache 2.4, PHP 5.5, and MySQL 5.5.3x. Starting from a bare server image, here’s how to get an Ubuntu 14 web server up and running for PHP. Install the Web Server $ apt-get […]

Read More

Adding an SSL Certificate in Apache

August 17, 2014March 16, 2022 Geoff Stratton Leave a comment

Update April 2018: I’d suggest using Let’s Encrypt for this instead. I do this just infrequently enough to forget the details. So here’s the process for purchasing and installing a SSL certificate for https on your Linux/Apache web server (using Ubuntu 12.04 and Apache 2.2 here): Generate Local Key/CSR, Purchase SSL Certificate Generate your key […]

Read More

Comparison of Apache Multi-Processing Modules

August 17, 2014March 16, 2022 Geoff Stratton Leave a comment

A quick summary of the major Linux/Unix Apache multi-processing modules. Prefork Default MPM in Apache < 2.4 Consumes more RAM than threaded MPMs like Worker or Event  Threadless design is safe for non-thread-safe modules like mod_php Spawns child processes that each deal with one request at a time Performs poorly on high-traffic servers with many concurrent […]

Read More

About

This is the home server of Geoff Stratton. There's a little more about me on the About page. The server itself lives in Softlayer's DAL02/06 data center in downtown Dallas, Texas, geolocation 32 47 32.599 N 96 48 53.11 W 125m 10m 100m 10m.

I use this place mostly as a personal knowledge base, although I keep it public in case anything useful emerges. Caveat emptor, and don't go handling snake-skin.

Consider everything posted here to be covered by the GNU Public License Version 3. You should read the whole license, but essentially it means you can do anything you want with the code, including bundle it up and sell it as a new application. The catch is that if you make and distribute a new app, you are required to make all the source code available for free to everyone.

Tip Jar

Did you find something useful here? Please consider a tip. Many thanks!


Buy Me A Coffee


Categories

Tags

Ansible Apache awk Bash C# CentOS Debian DNS Docker Drupal Drush Fedora grep Hardware Hosting IP JavaScript jQuery LDAP Linux Mail Server mtr MySQL Nginx OTRS Perl PHP Plone Pound Python Redis sed SpamAssassin SQL SSL tcpdump TrueCrypt Tutorials ufw Varnish VB.NET Webform Windows WordPress Zope

Archives

sparkling Theme by Colorlib Powered by WordPress