2.2. Installing Snort

In this section you will learn how to install precompiled version of Snort as well as how to compile and install it by yourself. Installation of the pre-compiled RPM package is very easy and requires only a few steps. However if you get Snort in source code format, the installation process may take some time and understanding.

2.2.1. Installing Snort from the RPM Package

The installation procedure of Snort from the RPM package involves the following steps. Download

Download the latest version from Snort web site (http://www.snort.org). At the time of writing this book, the latest binary file is snort-1.9.0-1snort.i386.rpm. Install

Run the following command to install Snort binaries:

 rpm --install snort-1.9.0-1snort.i386.rpm ...

Get Intrusion Detection Systems with Snort: Advanced IDS Techniques Using Snort, Apache, MySQL, PHP, and ACID now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.