Configure IDS-Linux Enterprise Application-Linux server application information On debian. The following is a detailed description. Use snort to create IDS configuration based on the relevant online data.
1. Set mysql
# Mysql-u-p
Mysql> create database ids;
Mysql> grant insert, select, update on ids. * to ids @ localhost identified by '123 ';
So far, a database named ids has been created as the snort Detection System database, and the user ids has been created. The password is 123456, and the user's permissions on the ids database have been set.
2. Download Software
# Apt-get install snort mysql-snort
Search for and download adodb and base from the Internet
3. Import the database structure
# Cd/usr/share/doc/snort/
# Mysql? D ids? U root? P <create_mysql
4. Configure snort
# Vi/etc/snort. conf
Modify the following line:
================================
Output database: log, mysql, user = ids password = 123456 dbname = ids host = localhost
======================================
#/Etc/init. d/snort restart
5. install and configure base and adodb
# Tar-zxvf base-1.3.8.tar.gz
# Mv base-1.3.8/var/www/base
# Unzip-zxvf ado497.zip
# Mv adodb/var/www/base/db
# Cd/var/www/base
# Mv base_config.php.dist base_config.php
# Vi base_config.php
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