Install Ingest Prerequisites

natedogs911 edited this page Apr 21, 2016 · 1 revision

Installing prerequisites should be done in a directory created under the /home// directory. It is recommended to create a temporary folder called “src” so that it can be deleted easily after successful validation.

mkdir src
cd src

First copy the modified nfdump source code and tshark source code to the /src directory. For nfdump, follow the steps below to build and install it.

# a GCC compiler is required for this step
sudo yum -y groupinstall “Development Tools”
git clone
cd oni-nfdump
cd ..

Install the prerequisites for the ingest queue (if the version in your yum repository is the same or later, you may also use yum to install a precompiled binary).

wget --no-check-certificate
sudo -H python
sudo -H pip install watchdog
wget --no-check-certificate
tar -zxvf pika-0.10.0b2.tar.gz
cd pika-0.10.0b2
sudo python install
cd ..
sudo rpm -i erlang-17.4-1.el6.x86_64.rpm
wget --no-check-certificate	
sudo rpm -i rabbitmq-server-3.5.3-1.noarch.rpm

For tshark, follow the steps on the web site to install it. Tshark must be downloaded and built from Wireshark page

Full instructions for compiling Wireshark can be found here instructions for compiling

#install prerequisites
sudo yum -y install gtk2-devel gtk+-devel bison qt-devel qt5-qtbase-devel
sudo yum -y groupinstall "Development Tools"
sudo yum -y install libpcap-devel
#if you can not locate the libpcap-devel package you must compile from source
tar xvf libpcap-1.7.4.tar.gz
cd libpcap-1.7.4
./configure --prefix=/usr
sudo make install
cd ..
#compile Wireshark
tar xvf wireshark-2.0.1.tar.bz2 
cd wireshark-2.0.1
./configure --with-gtk2
sudo make install
cd ..

The screen utility is used to capture output from the ingest component for logging, troubleshooting, etc. You can check if screen is installed on the node.

which screen

If screen is not available, install it.

[soluser@edge-node] sudo yum install screen
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.