Documente Academic
Documente Profesional
Documente Cultură
php/OSSECWUI:Install
Prerequisites
Apache with PHP (>= 4.1 or >= 5.0) installed. (with posix support) OR Lighttpd (>= 1.x) with PHP-cgi
(php4-cgi or php5-cgi) in FastCGI
OSSEC (version >= 0.9-3) already installed.
Installation steps
$ wget http://www.ossec.net/files/ui/ossec-wui-0.3.tar.gz
2- Verify the checksum and signature of the package, you can find the GPG key at http://www.ossec.net/main/pgp/ :
$ wget http://www.ossec.net/files/ui/ossec-wui-0.3-checksum.txt
$ wget http://www.ossec.net/files/ui/ossec-wui-0.3.tar.gz.sig
$ md5 ossec-wui-0.3.tar.gz
MD5 (ossec-wui-0.3.tar.gz) = c79fa486e9a20fb06a517541033af304
$ sha1 ossec-wui-0.3.tar.gz
SHA1 (ossec-wui-0.3.tar.gz) = e00bff680721982ee55295a5292eb4e2a638b820
$ gpg --verify ossec-wui-0.3.tar.gz.sig ossec-wui-0.3.tar.gz
gpg: Signature made Tue Mar 04 14:27:59 2008 AST using RSA key ID 6B30327E
gpg: Good signature from "Daniel B. Cid (Ossec development) <dcid@ossec.net>"
Primary key fingerprint: 86C6 D33B C52E 19BF DDAE 57EB 4E57 14E2 6B30 327E
3- Decompress/untar and move the files to somewhere accessible by your web server:
# cd /var/www/htdocs/ossec-wui
# ./setup.sh
...
5- Add your web server user (apache, www or nobody) to the ossec group:
1 of 2 12/04/2009 8:34 PM
OSSECWUI:Install - OSSEC Wiki http://www.ossec.net/wiki/index.php/OSSECWUI:Install
# vi /etc/group
..
From:
ossec:x:1002:
To (if your web server user is www):
ossec:x:1002:www
6- Fix the permissions for the tmp directory and restart Apache (for the new permissions to work)
7- If you have a large ossec install, you may want to re-configure PHP to support longer lasting scripts and higher
memory utilization. The following entries on php.ini can be increased:
max_execution_time = 180
max_input_time = 180
memory_limit = 30M
http ://anyhost/ossec-wui/
http://www.ossec.net/en/mailing_lists.html
2 of 2 12/04/2009 8:34 PM