Last active
August 1, 2021 14:28
-
-
Save ox0xo/40e28d342796473887c2ddf19a421644 to your computer and use it in GitHub Desktop.
Install script for Suricata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt install rustc cargo make libpcre3 libpcre3-dbg libpcre3-dev build-essential autoconf automake libtool libpcap-dev libnet1-dev -y | |
apt install libyaml-0-2 libyaml-dev zlib1g zlib1g-dev libcap-ng-dev libcap-ng0 make libmagic-dev libjansson-dev libjansson4 pkg-config liblua5.3-dev -y | |
apt install libnetfilter-queue-dev libnetfilter-queue1 libnfnetlink-dev libnfnetlink0 -y | |
apt install python3-pip -y | |
pip3 install --upgrade suricata-update | |
ln -s /usr/local/bin/suricata-update /usr/bin/suricata-update | |
mkdir /downloads | |
cd /downloads | |
wget https://www.openinfosecfoundation.org/download/suricata-6.0.3.tar.gz | |
tar -xvzf suricata-6.0.3.tar.gz | |
cd suricata-6.0.3 | |
./configure --enable-nfqueue --enable-lua --prefix=/usr --sysconfdir=/etc --localstatedir=/var | |
make | |
make install-full | |
make install-rules | |
suricata-update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment