How-to : NTOP install on RHel/CentOS 6

Introduction

Here is a Quick guide to help you through the install of NTOP software on a linux box running under RHel or CentOS 6.

You might also want to check others How-to <- Click me !


 

 

 

 

1) Download ntop sources

From ntop site:

wget http://sourceforge.net/projects/ntop/files/latest/download?source=files

untar them (in /tmp dir):

tar xvzf ntop* -C /tmp

 

 

2) Install required packages

we now need to install the required packages as seen in the docs/BUILD-ntop.txt file (as indicates in the README).

2.1 Mandatory packages

  • Some version of awk
  • libtool (1.4+)
  • m4
  • autoconf (2.53+)
  • automake (1.6+)
  • gdbm, gdbm-devel
  • libpcap (http://www.tcpdump.org)
  • librrdtool

Which gives a line like:

su -c "yum install geoip-devel glibc glibc-devel gcc cpp libtool m4 autoconf automake gdbm gdbm-devel libpcap libpcap-devel rrdtool rrdtool-devel"

 

2.2 Optional packages

  • openssl, openssl-devel (http://www.openssl.org)
  • zlib, zlib-devel

Which gives a line like:

su -c "yum install openssl zlib zlib-devel"

 

 

3) Build ntop package

cd /tmp/ntop*
./autogen.sh
make
make install

If you have installed all mandatory packages as well as optionnal packages you should now be able to launch ntop (as root):

ntop

Once you launched ntop use your favorite web browser to go to http://<server_adress>:3000, and enjoy ntop!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site supports SyntaxHighlighter via WP SyntaxHighlighter. It can highlight your code.
How to highlight your code: Paste your code in the comment form, select it and then click the language link button below. This will wrap your code in a <pre> tag and format it when submitted.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="">