Month: February 2008

Securing the CentOS Perfect Setup with Bastille

Securing the CentOS Perfect Setup with Bastille This article shows how to secure a CentOS server using psad, Bastille, and some other tweaks. psad is a tool that helps detect port scans and other suspicious traffic, and the Bastille hardening program locks down an operating system, proactively configuring the system for increased security and decreasing […]

Creating A Local Yum Repository (CentOS)

Creating A Local Yum Repository (CentOS) Sometimes it can be handy to set up your own repository to prevent from downloading the remote repository over and over again. This tutorial shows how to create a CentOS mirror for your local network. If you have to install multiple systems in your local network then all needed […]

DRBD On CentOS

What is DRBD? DRBD is an abbreviation of Distributed Replicated Block Device. DRBD is a block device which is designed to build high-availability clusters. This is done by mirroring a whole block device via (a dedicated) network. You could see it as a network RAID1. Pre-Configuration Requirements: I used two nodes with the following system […]

Configuring A High Availability Cluster (Heartbeat) On CentOS

Configuring A High Availability Cluster (Heartbeat) On CentOS This guide shows how you can set up a two node, high-availability HTTP cluster with heartbeat on CentOS. Both nodes use the Apache web server to serve the same content. Pre-Configuration Requirements Assign hostname node01 to primary node with IP address 172.16.4.80 to eth0. Assign hostname node02 […]

Configure Postfix

Configure Postfix sample config Download Postfix config file [root@mail ~]#yum -y install postfix Loading “installonlyn” plugin Loading “fastestmirror” plugin Setting up Install Process Setting up repositories base 100% |=========================| 1.1 kB 00:00 updates 100% |=========================|951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Loading mirror speeds from cached hostfile […]