Servers and Scaling

Tips and tricks for managing Linux (CentOS) servers for web applications.

Bash script to monitor instances and MySQL

A simple Bash script to check multiple server instances are responding, and rows are being added to a MySQL database.

Serving PHP with FPM (FastCGI) using Nginx on CentOS

Mar 11th, 2015 in Servers and Scaling

Installation steps to start serving any PHP application (eg Wordpress) using FPM on CentOS, together with a sample Nginx config file.

Simple sysadmin tools - Screen on CentOS

Feb 4th, 2015 in Servers and Scaling

Screen is one of my favourite utilities when managing servers - it allows you to use multiple shell windows from a single SSH session and to keep these active even after logging out. It is super useful for monitoring long-running processes.