ntop via svn on Ubuntu Server 12.04

Install ntop svn on Ubuntu Server 12.04

Quick post on installing the most up to date development version of ntop on Ubuntu server. The version of ntop in the official repositories is 4.x, which will show as being out of date in the web gui.The development version will show as unstable.

1. Install prerequisites:
sudo apt-get install libpcap-dev libgdbm-dev zlib1g-dev librrd-dev python-dev libgeoip-dev subversion
2. Download software:
cd ~
svn co https://svn.ntop.org/svn/ntop/trunk/ntop/

3. Configure source:
cd ntop
./autogen.sh
4. Compile source:
make
5. Install:
sudo make install
6. Configure ntop. Without ldconfig you will get an error "ntop: error while loading shared libraries: libntopreport-5.0.2.so: cannot open shared object file: No such file or directory"

sudo ldconfig
sudo ntop --set-admin-password
7. Configure permissions:
sudo chown -R nobody:nogroup /usr/local/var/ntop/
8. Start ntop:
sudo ntop -d
9.  Access ntop:
http://localhost:3000
Done!!