Chinaunix首页 | 论坛 | 博客
  • 博客访问: 147521
  • 博文数量: 22
  • 博客积分: 854
  • 博客等级: 军士长
  • 技术积分: 415
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-08 13:44
文章存档

2013年(1)

2012年(5)

2011年(1)

2010年(5)

2009年(2)

2008年(8)

分类: LINUX

2013-01-02 14:01:43

本文档的Copyleft归skyfeces所有, 使用GPL发布, 可以自由拷贝, 转载, 转载时请保持文档的完整性, 严禁用于任何商业用途。
msn: skyfeces@139.com
来源:http://fordme.cublog.cn

ubuntu12.04下安装suricata-1.4beta + barnyard2-1.9。

一. 安装barnyard2
1. 进入barnyard2-1.9
cd barnyard2-1.9
2. 执行configure
$./configure --with-mysql-libaries
报错:ERROR: unable to find mysql headers (mysql.h)
安装mysql
sudo spt-get install libmysqlclient18-dev
locate libmysqlclient查看安装路径yourdir
继续执行configure --with-mysql-libaries=yourdir
3. 执行make
4. 执行sudo make install
 
二. 安装suricata
1. 进入suricate-1.4beta
cd suricate-1.4beta
2. 执行configure
$./configure
报错:
configure: error: magic.h not found ...。
google search,安装libmagic-dev库可解决:
sudo apt-get install libmagic-dev
解决后继续执行configure:
$./configure
报错:
configure: error: zlib.h not found ...
configure: error: ./configure failed for libhtp
google researh,安装zlib1g-dev库可解决:
sudo apt-get install zlib1g-dev
3. 执行make
$make
4. 执行make install
$sudo make install
 
阅读(7750) | 评论(0) | 转发(0) |
0

上一篇:mod security代码分析好少

下一篇:没有了

给主人留下些什么吧!~~