Minimal Services Set-Up For a CentOS Server

This is a list for a minimal install of CentOS 5 (but applies equally to RHEL or other RHEL derivatives).
Disabling unneeded services makes your system more secure as well as reducing server load.

After performing a minimal install run the following command to see which services are already running

Securing Plesk installation using fail2ban

Fail2Ban is a great utility to protect your server from 'script kiddies' attempting to do brute force attacks against your exposed services.

Installing Asterisk PBX with an OpenVox ISDN card

This is a step-by-step guide to install Asterisk & FreePBX using an OpenVox ISDN cards

Install required packages

Add rpmforge repository
rpm -Uhv

Update the system
yum update

Add Virus Filtering for ProFTPd with ClamAV

The first step to add filtering for an FTP servere is to add antivirus filtering.
We will need to modify the setup procedure a bit to apply the appropriate patches :

So, download the patch source
tar xzvf mod_clamav-0.7.tar.gz
cp mod_clamav-0.7/mod_clamav.* proftpd-1.3.1/contrib

Apply the required patch:
cd proftpd-1.3.1
patch -p1 < ../mod_clamav-0.7/proftpd.patch

Setting Up ProFtpd with MySQL

Prerequisites : MySQL 5 & PHP 5
Download proftpd source
tar xzvf proftpd-1.3.1.tar.gz
cd proftpd-1.3.1

Configure using:


Subscribe to RSS