Install and Run NTOP 5.0.1 on CentOS 5.x
NTOP is a very nice and powerful systems administration tool that allows you to monitor your network traffic. It’s latest release, i.e, ntop 5.x allows you to visually monitor application protocols such as Twitter, Facebook, Bittorrent, iTunes, Dropbox, Skype, etc through RRD graphs. Unfortunately, CentOS 5.x comes with the outdated version of ntop 3.x, which means, you need to compile and configure from scratch to be able to install and run ntop 5.0.1.
Ntop 5.0.1 requires Python 2.6 and above, so we also need to build python for this matter. The built-in python of CentOS 5.x is no longer supported but must be left untouched otherwise it’ll break your yum package manager. Although “yum install python26” is available, installing python 2.6 this way wouldn’t work as ntop autogen.sh script simply won’t detect it. So the best approach is to build python 2.6 or later yourself. Here’s how:
- Download the latest python tarball here
- The export directive will build the python modules that ntop can link against
- Download the latest ntop package here
- Unpack the package and run the script ./autogen.sh
Post Title : Install and Run NTOP 5.0.1 on CentOS 5.x