To deploy the installation snort-- intrusion detection tool

1: Deploy install snort

yum -y install wget

2: Basic depend on the environment

yum -y install gcc flex bison zlib zlib-devel libpcap libpcap-devel pcre pcre-devel libdnet libdnet-devel tcpdump

yum -y install epel-release nghttp2

yum -y install glibc-headers gcc-c++

Download software

wget https://www.snort.org/downloads/snort/snort-2.9.15.tar.gz

wget https://www.snort.org/downloads/snort/daq-2.0.6.tar.gz

wget  http://www.tcpdump.org/release/libpcap-1.9.1.tar.gz

-xf of libpcap-1.9.1.tar.gz

cd libpcap-1.9.1/

./configure && make && make install

 

wget http://prdownloads.sourceforge.net/libdnet/libdnet-1.11.tar.gz

cd libdnet-1.11/

./configure  && make && make install

 

tar -xf daq-2.0.6.tar.gz

cd daq-2.0.6 /

./configure  && make && make install

 

wget http://luajit.org/download/LuaJIT-2.0.5.tar.gz

yum install openssl openssl-devel

tar -xf LuaJIT-2.0.5.tar.gz

cd LuaJIT-2.0.5/src/ && make

cd ..

make install

 

takes -xf snort-2.9.15.tar.gz

cd snort-2.9.15/

./configure  --enable-sourcefire

make && make install

 

Snort to detect whether the installation is successful

Snort -V

 

Reference: https: //blog.csdn.net/xiaopan233/article/details/83478356

Guess you like

Origin www.cnblogs.com/will--1213/p/12048294.html