diff options
author | 2015-09-09 22:21:41 -0700 | |
---|---|---|
committer | 2015-09-09 22:21:41 -0700 | |
commit | 8879b125d26e8db1a5633de5a9c692eb2d1c4f83 (patch) | |
tree | c7259d85a991b83dfa85ab2e339360669fc1f58e /framework/src/suricata/doc/OpenBSD_Installation_from_GIT.txt | |
parent | 13d05bc8458758ee39cb829098241e89616717ee (diff) |
suricata checkin based on commit id a4bce14770beee46a537eda3c3f6e8e8565d5d0a
Change-Id: I9a214fa0ee95e58fc640e50bd604dac7f42db48f
Diffstat (limited to 'framework/src/suricata/doc/OpenBSD_Installation_from_GIT.txt')
-rw-r--r-- | framework/src/suricata/doc/OpenBSD_Installation_from_GIT.txt | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/framework/src/suricata/doc/OpenBSD_Installation_from_GIT.txt b/framework/src/suricata/doc/OpenBSD_Installation_from_GIT.txt new file mode 100644 index 00000000..b5f27000 --- /dev/null +++ b/framework/src/suricata/doc/OpenBSD_Installation_from_GIT.txt @@ -0,0 +1,79 @@ +Autogenerated on 2012-11-29 +from - https://redmine.openinfosecfoundation.org/projects/suricata/wiki/OpenBSD_Installation_from_GIT + + +OpenBSD Installation from GIT + + +Pre-installation Requirements + +Before you can build Suricata for your system, run the following commands to +ensure that you have everything you need for the installation. + + pkg_add gcc + pkg_add pcre + pkg_add libtool + pkg_add libyaml + pkg_add libnet-1.1.2.1p0 + +If you would like to build from Git sources, you have to install the following +building tools: + + pkg_add git + pkg_add autoconf + pkg_add automake + If you use OpenBSD 4.8, enter the following: + pkg_add git autoconf-2.61p3 automake-1.10.3 + + +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. + +Suricata + +Next, clone the repository and run autogen: + + git clone git://phalanx.openinfosecfoundation.org/oisf.git + cd oisf + export AUTOCONF_VERSION=2.61 + export AUTOMAKE_VERSION=1.10 + ./autogen.sh + +Enter the following to configure: + + CPPFLAGS="-I/usr/local/include" CFLAGS="-L/usr/local/lib" ./configure -- + prefix=/opt/suricata + +To build and install Suricata, enter the following in your command line: + + make + make install + + +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 +Next, continue with the Basic_Setup. +Source: http://home.regit.org/?p=478 |