The installation procedure uses GNU autoconfigure (all configuration
options are listed in the appendix):
bash$ ./configure
bash$ make
bash$ make install |
Executables will be stripped upon installation.
On Linux i386 and FreeBSD i386, the sstrip
utility (copyright 1999 by Brian Raiter, under the GNU GPL)
will be used to strip the executable even more, to prevent debugging with
the GNU gdb debugger.
For many operating systems (Linux, FreeBSD, Solaris, HP-UX, IRIX),
configure will generate init scripts,
and make install-boot will
figure out which of them to
install, and where (if the correct distribution cannot be determined,
none of them will be installed).
Compile samhain or yule.
The standalone/client executable (samhain) and
the log server (yule) cannnot be compiled
simultaneously. You need to run ./configure && make
separately for both.
Create the required directories (if not existing already), and
install the compiled executable and the configuration file.
bash$ make DESTDIR=/somedir install |
Install as if /somedir is the
root directory. Useful for creating packages or installing for chroot (server).
Install runlevel start/stop scripts or create inittab entry (AIX) in order
to start the daemon upon system boot. Supported on Linux, FreeBSD, Solaris(*),
HP-UX(*), AIX(*), IRIX(*) [(*) untested].
Uninstall the executable and remove directories if empty. Does not uninstall
the configuration file.
As make uninstall, but also remove the
the configuration file.
bash$ make uninstall-boot |
Uninstall the runlevel start/stop scripts.
 | TIP |
---|
| You can save the script samhain-install.sh
and use it for uninstalling if you ever want to remove samhain:
bash$ samhain-install.sh purge
bash$ samhain-install.sh uninstall-boot |
|