Nov 5 2009

Setting Up Gitosis On Ubuntu

This article is part one of a two part series that covers setting up a hosting server using gitosis for your central repository, and in the next article, taking an existing SVN repository and running the appropriate scripts and commands necessary to migrate it into something git can work with.
Continue reading


Sep 25 2009

CentOS: Paravirtualization with Xen

This tutorial provides step-by-step instructions on how to install Xen (version 3.0.3) on a CentOS 5.3 (x86_64) system.
Continue reading


Sep 22 2009

Debian: Mirror Your Website With “rsync”

This tutorial shows how you can mirror your web site from your main web server to a backup server that can take over if the main server fails. We use the tool rsync for this, and we make it run through a cron job that checks every x minutes if there is something to update on the mirror. Thus your backup server should usually be up to date if it has to take over.
Continue reading


Sep 22 2009

Debian: How To Set Up A Loadbalanced High-Availability Apache Cluster

This tutorial shows how to set up a two-node Apache web server cluster that provides high-availability. In front of the Apache cluster we create a load balancer that splits up incoming requests between the two Apache nodes. Because we do not want the load balancer to become another “Single Point Of Failure”, we must provide high-availability for the load balancer, too. Therefore our load balancer will in fact consist out of two load balancer nodes that monitor each other using heartbeat, and if one load balancer fails, the other takes over silently.
Continue reading


Sep 22 2009

Rails: Namespaced Models

I don’t really understand why people use namespaced models. I see ActiveRecord models as DSL for database. There is no concept of namespacing in Database, then why should you have them with models ? Apart from that, they are very buggy too !
Continue reading


Sep 20 2009

Weblog: Is Your WordPress Blog Secure?

Securing your blog is one of the most important things you could do. Producing content is essential, and so is promoting it, but if your blog is not secure, you could lose everything overnight (literally!).
Continue reading


Sep 18 2009

MySQL: Automated MySQL Database Backup

Want to backup your MySQL databases to another machine on a nightly basis?
Continue reading


Sep 15 2009

CentOS: How to Install GlusterFS

In this tutorial I will show you how to install GlusterFS in a scalable way to create a storage cluster, starting with 2 servers on Centos 5.2. Files will be replicated and splitted accross all servers which is some sort of RAID 10 (raid 1 with < 4 servers). With 4 servers that have each 100GB hard drive, total storage will be 200GB and if one server fails, the data will still be intact and files on the failed server will be replicated on another working server.
Continue reading


Sep 15 2009

CentOS: How to Install GlusterFS (Part 1. Introduction)

GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. Storage bricks can be made of any commodity hardware such as x86-64 server with SATA-II RAID and Infiniband HBA.
Continue reading


Sep 15 2009

Debian: How to Install GlusterFS (Part 2. Installation)

First you need to install some software :

sudo su
apt-get install sshfs build-essential flex bison byacc vim wget

Continue reading