发新话题
打印

求助:linux下安装snort!

求助:linux下安装snort!

哪位大哥会 在linux下安装snort?麻烦留个qq或加我qq 43325918

最近忙着装snort可是 装了几天的都没有装好,特别是mysql的安装,太烦了,呵呵所以来找个人问问~

mysql一定要 .tar.gz的那种格式的么? .rpm的不行么?

唉  极度郁闷中..........


谢谢先~~      

TOP

有什么错误提示? 用了哪些编译参数?      

TOP

database: compiled support for ( )
database: configured to use mysql
database: 'mysql' support is not compiled into this build of snort

ERROR: If this build of snort was obtained as a binary distribution (e.g., rpm,
or Windows), then check for alternate builds that contains the necessary
'mysql' support.

If this build of snort was compiled by you, then re-run the
the ./configure script using the '--with-mysql' switch.
For non-standard installations of a database, the '--with-mysql=DIR'
syntax may need to be used to specify the base directory of the DB install.

See the database documentation for cursory details (doc/README.database).
and the URL to the most recent database plugin documentation.
Fatal Error, Quitting..      

TOP

运行snort
命令如下
./snort -d -h 10.10.10.0/24 -c snort.conf
根据上面显示的信息应该是configure时没有使用 '--with-mysql='这个选项(顺便问一下DIR是指mysql的头和库的那个dir吧?或者是mysql安装的那个目录?我都试过了,同样的错~~)
可是我用了的...
谁能救救我....      

TOP

如果用rpm包装的mysql,编译snort用这个参数 --with-mysql

如果用tar包安装的,用 --with-mysql-dir=/usr/local/mysql-***      

TOP

我试试
哥们好厉害......啥都会.......
Hust华中科技大学?      

TOP

搞定了 谢谢了       

TOP

可是我仍然是这个错儿,请问kingcc大哥,你的snort,mysql什么版本呀?
我试过snort2.3.3 snort2.4,3 mysql5.0
郁闷!~~      

TOP

发新话题