Summary of Snort installation on Ubuntu

Source: Internet
Author: User
Tags pear

I have installed snort and configured it more than once on Ubuntu. I have also referred to many articles. Therefore, I would like to summarize this experience:

Main reference http://www.howtoforge.com/intrusion-detection-with-snort-mysql-apache2-on-ubuntu-7.10

Because the above URL is very detailed, I will only talk about the problems I encountered during the installation and configuration process.

PS: when we develop snort, we need to add the parameter:./configure -- enable-dynamicplugin -- enable-Debug -- With-mysql in the configuration phase.

1. In 12. Time to test snort, "detection" may appear. Select either of them. Edit snort. conf (line 1) and comment out a detection.

2. Comment out all dynamicdetection related lines in Snort. conf.

3. Then, access localhost/www/web/base-1.3.8 at the end of "14. Base setup via the Web .".

Warning: include_once (mail. PHP) [function. include-once]: failed to open stream: no such file or directory in/var/www/web/base-php4/DES/base_action.inc.php on line 29

Warning: include_once () [function. include]: Failed opening 'mail. PHP 'for declaration (include_path = '. :/usr/share/PHP ') in/var/www/web/base-php4/schemdes/base_action.inc.php on line 29

Warning: include_once (mail/mime. PHP) [function. include-once]: failed to open stream: no such file or directory in/var/www/web/base-php4/DES/base_action.inc.php on line 30

Warning: include_once () [function. include]: Failed opening 'mail/mime. PHP 'for declaration (include_path = '. :/usr/share/PHP ') in/var/www/web/base-php4/schemdes/base_action.inc.php on line 30

Warning: cannot modify header information-headers already sent by (output started at/var/www/web/base-php4/DES/base_action.inc.php: 29) in/var/www/web/base-php4/base_common.php on line 1077

Solution:

 

It was resolve by installing the following:

Pear install mail

Pear install mail_mime

4. simplechinese may occur in the language interface Selection: remove the blank lines in the last line of simplechinese. php.

 

 

 

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.