mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.4 KiB
Plaintext
61 lines
1.4 KiB
Plaintext
13 years ago
|
Autogenerated on 2012-01-11
|
||
|
from - https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Ubuntu_Installation
|
||
|
|
||
|
|
||
|
Ubuntu Installation
|
||
|
|
||
|
|
||
|
Pre-installation requirements
|
||
|
|
||
|
Before you can build Suricata for your system, run the following command to
|
||
|
ensure that you have everything you need for the installation.
|
||
|
|
||
|
sudo apt-get -y install libpcre3 libpcre3-dbg libpcre3-dev \
|
||
|
build-essential autoconf automake libtool libpcap-dev libnet1-dev \
|
||
|
libyaml-0-2 libyaml-dev zlib1g zlib1g-dev libcap-ng-dev libcap-ng0 \
|
||
|
make
|
||
|
|
||
|
Depending on the current status of your system, it may take a while to complete
|
||
|
this process.
|
||
|
|
||
|
HTP
|
||
|
|
||
|
HTP is bundled with Suricata and installed automatically. If you need to
|
||
|
install HTP manually for other reasons, instructions can be found at HTP
|
||
|
library_installation.
|
||
|
|
||
|
IPS
|
||
|
|
||
|
By default, Suricata works as an IDS. If you want to use it as a IDS and IPS
|
||
|
program, enter:
|
||
|
|
||
|
sudo apt-get -y install libnetfilter-queue-dev libnetfilter-queue1
|
||
|
libnfnetlink-dev libnfnetlink0
|
||
|
|
||
|
|
||
|
Suricata
|
||
|
|
||
|
To download and build Suricata, enter the following:
|
||
|
|
||
|
wget http://www.openinfosecfoundation.org/download/suricata-1.0.5.tar.gz
|
||
|
tar -xvzf suricata-1.0.5.tar.gz
|
||
|
cd suricata-1.0.5/
|
||
|
|
||
|
Compile and install the engine
|
||
|
If you plan to build Suricata with IPS capabilities, enter:
|
||
|
|
||
|
./configure --enable-nfqueue
|
||
|
|
||
|
instead of
|
||
|
|
||
|
./configure
|
||
|
|
||
|
Continue with the next commands:
|
||
|
|
||
|
./configure
|
||
|
make
|
||
|
sudo make install
|
||
|
sudo ldconfig
|
||
|
|
||
|
Please continue with Basic_Setup.
|