首页 > 代码库 > CentOS6.5 安装snort

CentOS6.5 安装snort

本机CentOS6.5最大化安装,以下安装所需组件也是最大化安装之后仍需自己安装的.

1.安装libpcap与libpcap-devel

yum -y install libpcap*

2.安装libpcre

yum -y install yum install pcre*

3.安装libdnet

推荐先添加epel源再按装此组件,参考:CentOS6.5 添加epel源

yum -y install libdnet*


4.下载最新版snort,网址 https://www.snort.org/

5.编译安装daq-2.0.2.tar.gz

tar xvfz daq-2.0.2.tar.gzcd daq-2.0.2./configure; make; sudo make install

6.编译安装snort-2.9.6.2.tar.gz

tar xvfz snort-2.9.6.2.tar.gzcd snort-2.9.6.2./configure --enable-sourcefire; make; sudo make install

 

CentOS6.5 安装snort