After successful compilation, you can install samhain by typing:
The installation routine will not overwrite your configuration file
from a previous installation.
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.
After installation, you will be offered to run
make install-boot in order to install the init
scripts that are required to start samhain
automatically when your system (re-)boots.
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).
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.
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:
sh$ samhain-install.sh purge
sh$ samhain-install.sh uninstall-boot |
|