Security_Analysis

Snort 2.9 설치 본문

Operating System/Unix&Linux

Snort 2.9 설치

Positivie 2023. 10. 9. 21:44
728x90
반응형

 

0. 설치 버전 및 환경


     OS : CentOS7 Minimal

     Snort Version : 2.9.16

     설치방법 : rpm, yum 

 


 

1. 관련된 패키지 설치

yum -y install libdnet-devel openssl-devel pkgconfig gcc flex bison zlib* libpcap* pcre* libpcap-devel iptables-devel libdnet* tcpdump libnghttp2

2. daq 이전에 epel-release 설치 

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

3. daq 설치

yum -y install daq

4. snort 다운로드

cd /
mkdir /snort
cd /snort
wget https://snort.org/downloads/archive/snort/snort-2.9.16-1.centos7.x86_64.rpm

※ wget : command not found 

   CentOS7 Minimal 설치에 따라 wget 패키지가 설치되어 있지 않아서 발생하므로 아래 명령어 실행하여 설치

yum -y install wget

5. snort 설치 

rpm -Uvh snort-2.9.16-1.centos7.x86_64.rpm


6. Snort 버전 확인 

snort -V

snort: error while loading shared libraries: libdnet.1: cannot open shared object file: No such file or directory

    libdnet 을 설치하였지만 라이브러리가 없다고 표시되므로 /lib64에서 libdnet.so.1.0.1을 libdnet.1 로 ln -s 

ln -s /lib64/libdnet.so.1.0.1 /lib64/libdnet.1

 

Snort Conf 수정은 다음글에서...

< Snort 기본 설정

728x90
반응형

'Operating System > Unix&Linux' 카테고리의 다른 글

CentOS7 Mirrorlist Update  (2) 2024.07.14
Snort 설정(conf)  (0) 2023.10.10
Ubuntu 16.04 LTS Setup Chrome Browser  (0) 2019.01.16
Ubuntu 16.04 LTS Setup "Atom Editor"  (0) 2019.01.16
Ubuntu 16.04 LTS apt update Error Command Fix  (0) 2019.01.16