# 우분투 기준
apt install libtool -y
# 안되면 autoreconf --install
# 아래는 snort3 install 스크립트
apt update -y
apt upgrade -y
apt install git curl wget vim sudo automake make cmake gcc g++ pkg-config libdumbnet-dev flex luajit libhwloc-dev libluajit-5.1-dev -y
apt install libssl-dev -y
apt install libpcap-dev -y
apt install libpcre3-dev -y
apt install zlib1g-dev -y
apt install build-essential -y
apt install liblzma -y
cd ~
# install /usr/local/lib/daq
git clone https://github.com/snort3/libdaq.git
cd libdaq
./bootstrap
./configure
make
make install
## install gperftools
cd ../
wget https://github.com/gperftools/gperftools/releases/download/gperftools-2.9.1/gperftools-2.9.1.tar.gz
tar xzf gperftools-2.9.1.tar.gz
cd gperftools-2.9.1/
./configure
make
make install
# install snort
cd ../
wget https://github.com/snort3/snort3/archive/refs/tags/3.1.43.0.tar.gz
tar -xvzf 3.1.43.0.tar.gz
cd snort3-3.1.43.0
./configure_cmake.sh --prefix=/usr/local --enable-tcmalloc
cd build
make
make install
ldconfig
snort -V
쭈우우우욱~~ 설치
'Programing' 카테고리의 다른 글
자주 까먹는  & < > " 의미? (0) | 2024.04.29 |
---|---|
파이썬 에러시 라인 출력하는 코드(feat, claude) (0) | 2024.04.26 |
[python] A Bytes-Like Object Is Required, Not ‘Str’ (0) | 2024.03.31 |
[블로그 자동화 #1] - 플래닝 시작 (0) | 2024.03.25 |
[python] ai 의 학습으로부터 보호하는 나이트쉐이드 (0) | 2024.02.21 |