Installing Lighttpd With PHP5 And MySQL Support On Debian Lenny

November 11th, 2010 by jennyamy 
Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on a Debian Lenny server with PHP5 support (through FastCGI) and MySQL support. I do not issue any guarantee that this will work for you! 1 Preliminary Note In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These...

Installing Nginx With PHP5 And MySQL Support On Debian Lenny

November 11th, 2010 by jennyamy 
Nginx (pronounced “engine x”) is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on a Debian Lenny server with PHP5 support (through FastCGI) and MySQL support. I do not issue any guarantee that this will work for you! 1 Preliminary Note In...

How To Set Up WebDAV With Apache2 On Debian Lenny

November 11th, 2010 by jennyamy 
This guide explains how to set up WebDAV with Apache2 on a Debian Lenny server. WebDAV stands for Web-based Distributed Authoring and Versioning and is a set of extensions to the HTTP protocol that allow users to directly edit files on the Apache server so that they do not need to be downloaded/uploaded via FTP. Of course, WebDAV can also be used to upload and download files. I do not issue any guarantee...

Setting Up A PXE Install Server For Multiple Linux Distributions On Debian Lenny

November 11th, 2010 by jennyamy 
This tutorial shows how to set up a PXE (short for preboot execution environment) install server on Debian Lenny. A PXE install server allows your client computers to boot and install a Linux distribution over the network, without the need of burning Linux iso images onto a CD/DVD, boot floppy images, etc. This is handy if your client computers don’t have CD or floppy drives, or if you want...

How To Compile virt-df, virt-top, virt-mem & virt-ctrl On Debian Lenny

November 11th, 2010 by jennyamy 
This short guide explains how you can build virt-df, virt-top, virt-mem and virt-ctrl from the sources on a Debian Lenny system. These tools are currently available for Fedora in binary format. virt-top – “top”-like utility for showing stats of virtualized domains. virt-df – “df” for virtual guests. Run this on the host/dom0 to find out how much disk space is used...

Creating An NFS-Like Standalone Storage Server With GlusterFS On Debian Lenny

November 11th, 2010 by jennyamy 
This tutorial shows how to set up a standalone storage server on Debian Lenny. Instead of NFS, I will use GlusterFS here. The client system will be able to access the storage as if it was a local filesystem. 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...

Setting Up A High-Availability Load Balancer With HAProxy/Keepalived On Debian Lenny

November 11th, 2010 by jennyamy 
This article explains how to set up a two-node load balancer in an active/passive configuration with HAProxy and keepalived on Debian Lenny. The load balancer sits between the user and two (or more) backend Apache web servers that hold the same content. Not only does the load balancer distribute the requests to the two backend Apache servers, it also checks the health of the backend servers. If one...

How To Set Up Journaled Quota On Debian Lenny

November 11th, 2010 by jennyamy 
This tutorial shows how you can set up journaled quota on a Debian Lenny system. With journaled quota, you don’t need to run quotacheck after an unclean shutdown. Journaled quota works on ext3 and ext4 file systems. I do not issue any guarantee that this will work for you! 1 Preliminary Note If you set up quota the “normal” way (e.g. as shown in chapter nine on The Perfect Server...

Distributed Storage Across Four Storage Nodes With GlusterFS On Debian Lenny

November 11th, 2010 by jennyamy 
This tutorial shows how to combine four single storage servers (running Debian Lenny) to one large storage server (distributed storage) with GlusterFS. The client system (Debian Lenny as well) will be able to access the storage as if it was a local filesystem. GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or...

Distributed Replicated Storage Across Four Storage Nodes With GlusterFS On Debian Lenny

November 11th, 2010 by jennyamy 
This tutorial shows how to combine four single storage servers (running Debian Lenny) to a distributed replicated storage with GlusterFS. Nodes 1 and 2 (replication1) as well as 3 and 4 (replication2) will mirror each other, and replication1 and replication2 will be combined to one larger storage server (distribution). Basically, this is RAID10 over network. If you lose one server from replication1...

How To Set Up WebDAV With Lighttpd On Debian Lenny

November 11th, 2010 by jennyamy 
This guide explains how to set up WebDAV with lighttpd on a Debian Lenny server. WebDAV stands for Web-based Distributed Authoring and Versioning and is a set of extensions to the HTTP protocol that allow users to directly edit files on the lighttpd server so that they do not need to be downloaded/uploaded via FTP. Of course, WebDAV can also be used to upload and download files. I do not issue any...

Striping Across Four Storage Nodes With GlusterFS On Debian Lenny

November 11th, 2010 by jennyamy 
This tutorial shows how to do data striping (segmentation of logically sequential data, such as a single file, so that segments can be assigned to multiple physical devices in a round-robin fashion and thus written concurrently) across four single storage servers (running Debian Lenny) with GlusterFS. The client system (Debian Lenny as well) will be able to access the storage as if it was a local...