Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Install Ingest Prerequisites
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 https://github.com/Open-Network-Insight/oni-nfdump.git cd oni-nfdump ./install_nfdump.sh 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 https://bootstrap.pypa.io/get-pip.py sudo -H python get-pip.py sudo -H pip install watchdog wget --no-check-certificate https://pypi.python.org/packages/source/p/pika/pika-0.10.0b2.tar.gz tar -zxvf pika-0.10.0b2.tar.gz cd pika-0.10.0b2 sudo python setup.py install cd .. wget https://www.rabbitmq.com/releases/erlang/erlang-17.4-1.el6.x86_64.rpm sudo rpm -i erlang-17.4-1.el6.x86_64.rpm wget --no-check-certificate https://www.rabbitmq.com/releases/rabbitmq-server/v3.5.3/rabbitmq-server-3.5.3-1.noarch.rpm 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 wget http://www.tcpdump.org/release/libpcap-1.7.4.tar.gz tar xvf libpcap-1.7.4.tar.gz cd libpcap-1.7.4 ./configure --prefix=/usr sudo make install cd .. #compile Wireshark wget https://1.na.dl.wireshark.org/src/wireshark-2.0.1.tar.bz2 tar xvf wireshark-2.0.1.tar.bz2 cd wireshark-2.0.1 ./configure --with-gtk2 make 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.
If screen is not available, install it.
[soluser@edge-node] sudo yum install screen