From OSSEC Wiki
Contents |
[edit]
What packages do I need before installing ossec?
Basically, for Unix systems, ossec just requires gcc and glibc. However, you always
have the option to pre-compile it on any other system and move the binaries to the final box.
[edit]
Windows 2000/XP/2003
No dependencies.
[edit]
Solaris 8,9 and 10
- SUNWxcu4 -> It will create /usr/xpg4/bin/ .
**Also make sure you have /usr/ccs/bin/make and /usr/ucb/bin/cc (compiler)
[edit]
Ubuntu
- build-essential
$ sudo apt-get install build-essential
For database support:
$ sudo apt-get install mysql-dev postgresql-dev
[edit]
Red Hat
- mysql-devel and postgresql-devel for Database support
[edit]
Install without Compiling
After compiling the binaries for a particular hardware platform (such as solaris 10 sparc), just get the ossec binaries (from /var/ossec/bin) and move them to the ossec package under the bin directory. After that, set the etc/preloaded-vars.conf file for the binary install: USER_BINARYINSTALL="y" With that, you can just run the ./install.sh on any box and it will install everything properly with the pre-compiled binaries.