This document is specifically made for installing the Flow-tools on Centos 6.5 and Below version of Flow-tools and Flow-viewers are used in it.
Flow Tools: flow-tools-0.68.5.1
Flow Viewer: FlowViewer_4.6
Flow-tools Installation:
Download the flowtools and install it...
wget https://flow-tools.googlecode.com/files/flow-tools-0.68.5.1.tar.bz2
tar -xvjf flow-tools-0.68.5.1.tar.bz2
cd flow-tools-0.68.5.1
yum install make tcp_wrappers zlib gcc
./configure
gmake
gmake install
Install FlowViewer Dependencies:
yum install gd libgd gd-devel rrdtool
Download and install GD for cpan:
wget http://search.cpan.org/CPAN/authors/id/L/LD/LDS/GD-2.56.tar.gz
tar -zxvf GD-2.56.tar.gz
cd GD-2.56
perl ./Build.PL
./Build
sudo ./Build install
yum install perl-ExtUtils-MakeMaker*
Download and install ExtUtils-makeMaker
wget http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/ExtUtils-MakeMaker-6.58_01.tar.gz
tar -zxvf ExtUtils-MakeMaker-6.58_01.tar.gz
cd ExtUtils-MakeMaker-6.58_01
perl Makefile.PL
make
sudo make install
FlowViewer installation and configuration:
wget http://downloads.sourceforge.net/project/flowviewer/FlowViewer_4.6.tar
tar -xvf FlowViewer_4.6.tar
yum install httpd
mv FlowViewer_4.6 /var/www/cgi-bin/flowviewer
FlowViewer Configuration:
Edit the FlowViewer_Configuration.pm file and update the path.. make sure the Paths are Valid if the Floders are not exist.. Please create it manually.
Copy the config file to the correct directory.
cp /var/www/cgi-bin/flowviewer/tools/flow-capture-table.conf /etc/flow-capture-table.conf
Edit the flow-capture-table.conf file and update the router and port number details.
Copy the flowcapture init script to the init.d directory.
cp /var/www/cgi-bin/flowviewer/tools/flowcapture_restart /etc/init.d/flowcapture
Start the flowcapture..
/etc/init.d/flowcapture start
Point your browser to http://<YOUR -SERVER_IP>/cgi-bin/flowviewer/FV.cgi
P.S: flowgrapher Setup is not updated in the installtion. I will add it in future..
P.S: Use http://ipsubnetcalculator.net/ for calculating IP subnet mask Online
Flow Tools: flow-tools-0.68.5.1
Flow Viewer: FlowViewer_4.6
Flow-tools Installation:
Download the flowtools and install it...
wget https://flow-tools.googlecode.com/files/flow-tools-0.68.5.1.tar.bz2
tar -xvjf flow-tools-0.68.5.1.tar.bz2
cd flow-tools-0.68.5.1
yum install make tcp_wrappers zlib gcc
./configure
gmake
gmake install
Install FlowViewer Dependencies:
yum install gd libgd gd-devel rrdtool
Download and install GD for cpan:
wget http://search.cpan.org/CPAN/authors/id/L/LD/LDS/GD-2.56.tar.gz
tar -zxvf GD-2.56.tar.gz
cd GD-2.56
perl ./Build.PL
./Build
sudo ./Build install
yum install perl-ExtUtils-MakeMaker*
Download and install ExtUtils-makeMaker
wget http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/ExtUtils-MakeMaker-6.58_01.tar.gz
tar -zxvf ExtUtils-MakeMaker-6.58_01.tar.gz
cd ExtUtils-MakeMaker-6.58_01
perl Makefile.PL
make
sudo make install
FlowViewer installation and configuration:
wget http://downloads.sourceforge.net/project/flowviewer/FlowViewer_4.6.tar
tar -xvf FlowViewer_4.6.tar
yum install httpd
mv FlowViewer_4.6 /var/www/cgi-bin/flowviewer
FlowViewer Configuration:
Edit the FlowViewer_Configuration.pm file and update the path.. make sure the Paths are Valid if the Floders are not exist.. Please create it manually.
Copy the config file to the correct directory.
cp /var/www/cgi-bin/flowviewer/tools/flow-capture-table.conf /etc/flow-capture-table.conf
Edit the flow-capture-table.conf file and update the router and port number details.
Copy the flowcapture init script to the init.d directory.
cp /var/www/cgi-bin/flowviewer/tools/flowcapture_restart /etc/init.d/flowcapture
Start the flowcapture..
/etc/init.d/flowcapture start
Point your browser to http://<YOUR -SERVER_IP>/cgi-bin/flowviewer/FV.cgi
P.S: flowgrapher Setup is not updated in the installtion. I will add it in future..
P.S: Use http://ipsubnetcalculator.net/ for calculating IP subnet mask Online