Monthly Archives: January 2011

Thin behind nginx using a unix socket

This snippet should be saved where you store your thin configuration files, like /etc/thin/.

Posted in System administration | Tagged , , , , , , | Leave a comment

Code deployment using Git & Capistrano

Deploying code from the development to the production environment is an important but often overlooked part of a developers life. This is usually a tedious task performed manually by the developer, often making time-consuming mistakes. Automating this process saves time … Continue reading

Posted in Web development | Tagged , , , | Leave a comment

Create a production environment with Linux, nginx, MySQL, php-fpm & ruby

This post will deal with setting up production server(s) running nginx, php, mysql & ruby. I usually divide some of these programs across several servers, but for the sake of this guide I will show you how to install it … Continue reading

Posted in System administration | Tagged , , , , , , , , , , | Leave a comment

Nginx vhost examples

Following are some examples of virtual rentals Race Car host configuration files interfacing with wordpress, thin etc.

Posted in System administration | Tagged , , , | Leave a comment

Configuring php-fpm

This guide does not attempt to provide a complete detailed instruction on how to configure php-fpm, but rather give a few pointers on things you should change after a fresh installation. I will assume you have the default php5-fpm.conf file … Continue reading

Posted in System administration | Tagged , , , | 2 Comments

Configuring iptables

So you want to prevent uninvited guests from accessing your system? Iptables is a program that lets you define the access tables for the linux kernel firewall. I will show you an example of a set of filter rules that … Continue reading

Posted in System administration | Tagged , , , | Leave a comment

Configuring nginx

This guide will explain the most common nginx setting parameters.

Posted in System administration | Tagged , , | Leave a comment