Optimized Server Setup


This is just a guide for myself when needing to setup LAMP or a new website server. Since my database files reside in a separate database server (AWS RDS), there is no need for me to add MYSQL or MariaDB to my stack. I’ll cover setting up Apache, PHP, the PHP modules or mods needed for most websites (WordPress), setting up Memcached, Varnish, FTP access (vsftpd). Eventually, I’ll also document adding NGINX to the mix as a proxy to serve HTTPS content as well.


Test Post

This tutorial follows up Installing WordPress in the Amazon Cloud, showing how to optimize your site with caching.

If you self-host WordPress, it’s advisable to implement some kind of caching solution. Whether you want to run your blog in an economical micro instance at Amazon’s Cloud (AWS) or expect your blog to get significant scale or traffic spikes, caching will be critical to manage performance. Caching can also help improve your Google Page Speed which impacts your search engine ranking.