일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- DreamHack
- 모의해킹
- Bigdata
- 데이터모델링
- gns3
- Python
- NEXUS
- 웹모의해킹
- dreamhack.io
- 취약점진단
- 리눅스
- 유닉스
- 기아
- docker
- Snort
- 정보보안산업기사
- snort2.9
- 보안기사실기
- 정보보안
- AI
- NQ5
- Synology
- 리눅스보안
- GitLab
- 정보보안기사
- 보안컨설팅
- M1
- 드림핵
- VMware
- 스노트
Archives
- Today
- Total
Security_Analysis
Snort 2.9 설치 본문
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 |