aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/suricata/doc/Ubuntu_Installation.txt
diff options
context:
space:
mode:
authorAshlee Young <ashlee@onosfw.com>2015-09-09 22:21:41 -0700
committerAshlee Young <ashlee@onosfw.com>2015-09-09 22:21:41 -0700
commit8879b125d26e8db1a5633de5a9c692eb2d1c4f83 (patch)
treec7259d85a991b83dfa85ab2e339360669fc1f58e /framework/src/suricata/doc/Ubuntu_Installation.txt
parent13d05bc8458758ee39cb829098241e89616717ee (diff)
suricata checkin based on commit id a4bce14770beee46a537eda3c3f6e8e8565d5d0a
Change-Id: I9a214fa0ee95e58fc640e50bd604dac7f42db48f
Diffstat (limited to 'framework/src/suricata/doc/Ubuntu_Installation.txt')
-rw-r--r--framework/src/suricata/doc/Ubuntu_Installation.txt84
1 files changed, 84 insertions, 0 deletions
diff --git a/framework/src/suricata/doc/Ubuntu_Installation.txt b/framework/src/suricata/doc/Ubuntu_Installation.txt
new file mode 100644
index 00000000..7bf90846
--- /dev/null
+++ b/framework/src/suricata/doc/Ubuntu_Installation.txt
@@ -0,0 +1,84 @@
+Autogenerated on 2012-11-29
+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 libmagic-dev
+
+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.3.3.tar.gz
+ tar -xvzf suricata-1.3.3.tar.gz
+ cd suricata-1.3.3
+
+Compile and install the engine
+If you plan to build Suricata with IPS capabilities, enter:
+
+ ./configure --enable-nfqueue --prefix=/usr --sysconfdir=/etc --
+ localstatedir=/var
+
+instead of
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+
+Continue with the next commands:
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+ sudo make install
+ sudo ldconfig
+
+
+Auto setup
+
+You can also use the available auto setup features of Suricata:
+ex:
+
+ ./configure && make && make install-conf
+
+make install-conf
+would do the regular "make install" and then it would automatically create/
+setup all the necessary directories and suricata.yaml for you.
+
+ ./configure && make && make install-rules
+
+make install-rules
+would do the regular "make install" and then it would automatically download
+and set up the latest ruleset from Emerging Threats available for Suricata
+
+ ./configure && make && make install-full
+
+make install-full
+would combine everything mentioned above (install-conf and install-rules) - and
+will present you with a ready to run (configured and set up) Suricata
+Please continue with Basic_Setup.