Installing Squid on Ubuntu 14.04 as Caching Proxy Server

Learn how to install and use Squid on Ubuntu 14 to improve your web server’s performance. Squid caches requested content to lessen the load on your servers.

Architect Web Infrastructures on Ubuntu 14, Part 1

Overview You may have experience deploying web applications on a LAMP server, which is running both the web server and database server. Hosting your entire web application infrastructure stack on a single server works well for development and light traffic sites. Eventually, you are going to start seeing an increase in user traffic and that will put […]

How to Configure HAProxy Health Checks

Overview Ensuring the backend servers HAProxy is forwarding your users’ requests to are healthy is important. How you check for health is based on the type of service hosted in the backend. Web applications need to be checked differently from database servers. In this tutorial I will show you different ways of doing HAProxy health […]

Installing Memcached to Improve Database Performance

Overview SQL databases are very good at storing and retrieving data, and they can do so quickly. However, no matter how well you tune your database servers there will come a time during periods of high traffic that your database server becomes a large bottleneck. By utilizing technologies like Memcache, we can keep results of […]

Monitoring HAProxy using HATOP

Overview As an administrator you know that monitoring a service is essential. With HAProxy, there are stats for which you will want to know that aren’t presented to you through TOP or in log files. To make these stats visible, HAProxy can create socket file that can then be accessed by a third-party application to […]

Compiling and Running HAProxy from Source on Ubuntu 14

Overview Although you can install and run HAProxy from the default package repository for Ubuntu, the version available is usually out of date. Now if you are more interested in stability than features this may be fine. For those who are looking to use new features only available in more recent versions, you will need […]

Protect Git Folders in Apache using DirectoryMatch

Overview Apache allows you to block certain files or directories under your document root from being accessed over the web. This is very beneficial if, for example, you have an application version controlled by Git. Odds are you do not want any of the files under .git to be accessed, for various security reasons. Ideally, […]

Removing SystemD from Ubuntu 15

Summary Not everyone wants their server to be managed by SystemD. The reasons why range from being too different to not being a mature enough solution. I don’t mind running it, but if you are one of those individuals that wish not to use it, Ubuntu allows you to boot into Upstart or, if you […]

Apache Web Server on Ubuntu 15

Summary Another release of Ubuntu means an updated tutorial for installing Apache. Although not much has changed on how the installation and configuration of Apache is done, if you haven’t updated in a while, there are a few major changes you will want to be aware of. One those changes is the introduction of SystemD. […]


© 2014 Shane Rainville