Ubuntu

Linux software RAID guide

Software RAID under Linux is a rock solid solution for building RAID arrays at no cost. I personnally never had problems with software raid under Linux while i've seen expensive hardware RAID card failing and corrupting arrays. It's a little slower that hardware RAID but it remove a possible point of failure in a system and again, it's free. The only drawback is that configuration can be sometimes tricky. This guide is a collection of command you can use in different situation.

Howto block DDOS attacks on Ubuntu

I will show you howto install PSAD on Ubuntu 8.04 LTS server to block DDOS attacks (distributed denial of service) and port scan.

PSAD scan iptables log file to generate the attack block. The problem is that when you log ALL packets as shown in other PSAD tutorials, it will slow down considerably your server if it's busy and generate huge huge log files (growing at a rate of 1meg per second or more). With simple iptables rules, we will only log traffic that look suspicious (5 new connection in 5 second for example).

Howto create CentOS Xen VM under Ubuntu Dom0

In this article, I will show you how to create CentOS 5.2 virtual machines under a Ubuntu 8.04 server LTS dom0 (Xen 3.2).

Howto high perfomance Xen virtualization on Ubuntu server

This tutorial provides step-by-step instructions on how to install XEN 3.2 on an Ubuntu Hardy Heron server 8.04 LTS AMD64 or i386 without compromising on disk I/O and network throughput by using partitions instead of image files. You can find all the software used here in the Ubuntu repositories, so no external files or source compilation are required. Unfortunately, installing Xen 3.3 on Ubuntu 8.10 requires kernel source.

Howto install GlusterFS on Ubuntu

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 Ubuntu 8.04 LTS server. 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.

Getting IP geolocation on Ubuntu with MaxMind geoip

In this howto I will show you how to install MaxMind geoip on Ubuntu and how to use it.

Installing Aptana Studio on Ubuntu 8.10 or Xubuntu 8.10

This is a quick guide to install Aptana Studio 1.2.1.020234 on Ubuntu 8.10 or Xubuntu. It was done on Xubuntu 8.10 but should be the same on Ubuntu as well.

Ubuntu, Centos & kernel.org mirror

I create a load balanced & high availability mirror of Ubuntu, Centos and kernel.org

Address is :

http://mirrors.portafixe.com

The perfect load balanced & high availability web cluster with 2 servers running Xen on Ubuntu 8.04 hardy heron

In this howto we will build a load balanced and high availability web cluster on 2 real servers with Xen, hearbeat and ldirectord. The cluster will do http, mail, DNS, MySQL database and will be completely monitored. This is currently used on a production server with a couple of websites.

Creating new xen bridges on Ubuntu 8.04 (or other)

When Xen is installed, there is only one bridge by default. If you have multiple network cards, you can assign a physical card to a specific DomU or use as many as you want on the same DomU.