Linux

Linux

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 http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

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
wget http://www.thrallingpenguin.com/resources/mod_clamav-0.7.tar.gz
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
wget ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.proftpd.net/distrib/source/proftpd-1.3.1.tar.gz
tar xzvf proftpd-1.3.1.tar.gz
cd proftpd-1.3.1

Configure using:

Setting up a DrQueue Render Farm for Blender

DrQueue is a powerful open source distributed render farm manager that I happened to set up
to manage a blender render farm while I was administering a training session for TOSMI.

A render farm consists of a master machine that controls what jobs are executed and a number of
slave machines that do the actual tasks. A detailed review can be found here

Checking DNS status of a site

There are situations where you need to quickly check if the DNS records for a particular site
have been updated in the public DNS servers after you make certain changes. The following is a simple script that does just that :

  1. First create a file named digsite.servers containing a list of public DNS servers against whom you want to check your DNS records.
  2. Create a script file digsite.sh as follows :

servers=""

checkServer()
{
  c1=0
  c2=0
  set="NOT SET"