Setting up Prometheus and Grafana for CentOS / RHEL 7 Monitoring

As mentioned in my previous post, I have long been looking for a centralised solution for collecting logs and monitoring metrics. I think my search was unsuccessful since I was looking for too many things in one solution. Instead I found now two separate solutions, one for log management (using Graylog) and one for metrics … Continue reading Setting up Prometheus and Grafana for CentOS / RHEL 7 Monitoring

Install PHP Application and WordPress Alongside Each Other

Problem You have a webpage like http://www.example.com and you would like to serve both WordPress and files from a PHP application from the root domain. For instance, opening http://www.example.com/my-post will open a post on WordPress and http://www.example.com/index.php will open a page in a PHP application. Solution Set up your php application in /var/www/html Install WordPress … Continue reading Install PHP Application and WordPress Alongside Each Other

Versioning WordPress with Git and Revisr

WordPress is a powerful platform to just get a simple website up and running. Unfortunately, some things which are considered best practice in software development projects are a bit difficult to realize with WordPress. One of these things is versioning. Thankfully, there is a powerful plug in which enables versioning WordPress using a git repository: … Continue reading Versioning WordPress with Git and Revisr

Resize EC2 Volume (without Resizing Partition)

Problem You would like to resize a volume attached to an EC2 instance. Solution Do the following: Create a snapshot of your volume (instructions) Stop your instance Go to EBS / Volumes and select Actions / Modify Volume Enter the new size for your volume (note you can only ever make the volume larger) and … Continue reading Resize EC2 Volume (without Resizing Partition)