Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Enable extra packages and repos availability: ::
- cd /opt/
- wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-10.noarch.rpm
- rpm -ivh epel-release-7-10.noarch.rpm
- subscription-manager repos --enable rhel-7-server-extras-rpms
- subscription-manager repos --enable rhel-7-server-optional-rpms
- Update and install dependencies for Hyperscan ::
- yum update
- yum -y install cmake ragel python-devel bzip2-libs bzip2-devel
- Install ``boost`` ::
- wget http://downloads.sourceforge.net/project/boost/boost/1.65.1/boost_1_65_1.tar.gz
- tar -zxf boost_1_65_1.tar.gz
- cd boost_1_65_1/
- ./bootstrap.sh --prefix=/tmp/boost-1.65
- ./b2 install
- cd ../
- Install Hyperscan ::
- git clone https://github.com/01org/hyperscan
- cd hyperscan
- mkdir build
- cd build
- cmake -DBUILD_STATIC_AND_SHARED=1 -DBOOST_ROOT=/tmp/boost-1.65/ ../
- make
- make install
- echo "/usr/local/lib64" | sudo tee --append /etc/ld.so.conf.d/usrlocal.conf
- ldconfig
- Suricata dependencies install ::
- yum update
- yum -y install gcc wget libpcap-devel pcre-devel libyaml-devel file-devel \
- zlib-devel jansson-devel nss-devel libcap-ng-devel libnet-devel tar make \
- lua-devel automake autoconf pkgconfig
- Suricata installation (with latest Napatech additions) ::
- cd /opt/
- git clone https://github.com/OISF/suricata.git && cd suricata && git clone https://github.com/OISF/libhtp.git -b 0.5.x
- ./autogen.sh
- ./configure --with-libnss-includes=/usr/include/nss/ --with-libnspr-libraries=/usr/lib --with-libnspr-includes=/usr/include/nspr \
- --with-libhs-includes=/usr/local/include/hs/ --with-libhs-libraries=/usr/local/lib64/
- make clean
- make
- make install-full
- ldconfig
- Confirm installation with ::
- suricata --build-info
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement