Howtoforge posted a tutorial about installing Snort, Base, and PostgreSQL on Ubuntu 6.06 LTS
This tutorial describes how you can install and configure the Snort IDS (intrusion detection system) and BASE (Basic Analysis and Security Engine) on an Ubuntu 6.06 (Dapper Drake) system. With the help of Snort and BASE, you can monitor your system - with BASE you can perform analysis of intrusions that Snort has detected on your network. Snort will use a PostgreSQL database to store/log the data it gathers.Perfect Setup Of Snort + Base + PostgreSQL On Ubuntu 6.06 LTS