How to save Host ids ossec log files to MYSQL

Source: Internet
Author: User

OSSEC as a hostIDSWithROOTKIT check, exception detection, automatic response, file tampering prevention and other important functions, and open source, free of charge. OSSEC is now available in version 2.7.1RC. For more information, see WWW. OSSEC. NET.
I have recently studied it. Next I will mainly write down how to put OSSEC into the MYSQL file... Some other functions of this study will be updated later .... Smile
1) first install MYSQL
2) Go to the SRC directory of the OSSEC Installation File and execute

# Make setdb
Error: PostgreSQL client libraries not installed.
Info: Compiled with MySQL support.
This prompt will appear.
4) then execute the command in src.
Make all
(If you have installed an ossec server, directly overwrite it once)
After compilation, follow
Http://www.ossec.net/doc/manual/output/mysql-database-output.html create database
Perform permissions and other operations.
Note:Before/var/ossec/bin/ossec-control restart
/Var/ossec/bin/ossec-control enable database
Original article: http://www.usefulshare.com/lion/ossec-mysql.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.