Compiling and installing

Overview

Download:
   sh$ wget http://la-samhna.de/samhain/samhain-current.tar.gz
   

Extract (and verify PGP signature):
   sh$ gunzip -c samhain-current.tar.gz | tar xvf -
   sh$ gpg --verify samhain-N.N.N.tar.gz.asc samhain-N.N.N.tar
   sh$ gunzip samhain-N.N.N.tar.gz | tar xvf -
   sh$ cd samhain-N.N.N
   

Configure:
   sh$ ./configure
   

Compile:
   sh$ make
   

Install:
   sh$ make install
   

Customize:
   sh$ vi /etc/samhainrc
   

Initialize the baseline database:
   sh$ samhain -t init
   

Start the samhain daemon:
   sh$ samhain -t check -D