Debian Tutorials Copy/Paste tutorials for Debian based Linux distros

4Aug/091

Installing DSPAM with ClamAV for Postfix on lenny

DSPAM is a scalable and open-source content-based spam filter designed for multi-user enterprise systems. On a properly configured system, many users experience results between 99.5% - 99.95%, or one error for every 200 to 2000 messages.

Install and configure the DSPAM daemon

1. Install DSPAM daemon with MySql storage driver and ClamAV. The installer will create a database and required table structure.

apt-get install DSPAM libdspam7-drv-mysql clamav
> Yes
> Type the password for the root user in MySql
> Select a strong password or allow a random password to be generated

1Aug/092

Installing the Hobbit monitor on lenny

Hobbit monitors your hosts, your network services, and anything else you configure it to do via extensions. Hobbit can periodically generate requests to network services - http, ftp, smtp and so on - and record if the service is responding as expected. You can also monitor local disk utilisation, logfiles and processes through the use of agents installed on the servers.

Before you install, make sure you have Apache web server installed.

1. Install hobbit packages

apt-get install hobbit hobbit-client hobbit-plugins

6Jul/090

Monitoring multiple servers with Munin

Munin is a network/system monitoring application that presents output in graphs through a web interface. Its emphasis is on simple plug and play capabilities. A large number of monitoring plugins are available. Using Munin you can easily monitor the performance of your computers, networks, SANs, and quite possibly applications as well. It makes it easy to determine "what's different today" when a performance problem crops up. It makes it easy to see how you're doing capacity wise on all limited resources.

Master monitoring server

1. Install Munin and Munin node daemon:

apt-get install munin munin-node

1Jul/090

Installing Courier POP3 and IMAP services with MySql backend

This tutorial assumes you already have Postfix installed with MySql backend as described in this tutorial: Installing Postfix with MySql backend and TLS

1. Install required packages

apt-get install courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl

30Jun/090

Installing Postfix with MySql backend and TLS

In this tutorial we'll install a ready to use Postfix mail server with MySql backend for virtual users. Notice that this tutorial only covers installing the SMTP server (not POP3 and IMAP). Click here for a tutorial on installing Courier POP3 and IMAp services.

Once installed and configured, you can easily create your own admin system to modifiy the domains and users because the table structure is very simple.

This tutorial has been tested on Debian etch and lenny

1. Install the Postfix mail server, MySql server and other required packages

apt-get install postfix postfix-mysql sasl2-bin libsasl2-modules mysql-client mysql-server libpam-mysql

18May/0911

Installing ionCube

ionCube protects software written using the PHP programming language from being viewed, changed, and run on unlicensed computers.

1. Download ionCube loaders

wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

16May/091

Installing PowerDNS on etch/lenny

The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database.

This tutorial has been tested and is working on Debian etch and lenny

1. Install the PowerDNS server and MySql backend using apt

apt-get install pdns-server pdns-backend-mysql

6May/095

Installing VMware tools on lenny

This has been tested on Debian lenny running on VMware server 2.0.

Install kernel headers and some tools used to install VMware tools:
apt-get install binutils cpp gcc make psmisc linux-headers-$(uname -r)

Mount the cdrom drive. Make sure you have mounted the VMware tools virtual cd from the host before moving on.
mount /dev/cdrom /mnt/

15Apr/092

Installing Zenoss monitoring system

Zenoss is an award-winning open source IT monitoring product that effectively manages the configuration, health and performance of networks, servers and applications through a single, integrated software package.

Start by adding a zenoss entry to your apt sources (pico /etc/apt/sources.list):

deb http://dev.zenoss.org/deb main stable

12Mar/090

Upgrade from etch to lenny

Debian has released a stable version of Debian 5.0 (lenny). If you're running previous version of Debian, you can easily upgrade.

1. Update all packages currently installed to the latest etch versions

apt-get update
apt-get upgrade