NTOP 4.0 installation on Fedora 15
Introduction
Ntop is a network monitoring tool, this is a small Howto which explains the installation of ntop-4 on fedora 15 from source, this may also work on RedHat-5 and CentOS-5.
STEPS
1. Install the ntop requirements
| [root@sheraz ~]# yum install libpcap.i686 libpcap-devel.i686 rrdtool.i686 rrdtool-devel.i686 rrdtool-perl.i686 GeoIP.i686 graphviz.i686 install python-setuptools.noarch |
| [root@sheraz ~]# easy_install Mako |
2. Download ntop and untar it
| [root@sheraz ~]# tar -xvf ntop-4.0.tar.gz |
3. Change the directory
| [root@sheraz ~]# cd ntop-4.0 |
4. Now configure, compile and install
| [root@sheraz ~]# ./autogen.sh |
| [root@sheraz ~]# make install |
5. Add ntop user
| [root@sheraz ~]# useradd -M -s /sbin/nologin -r ntop |
6. Change the permissions
| [root@sheraz ~]# chown -cR ntop:root /usr/local/var/ntop/ |
| [root@sheraz ~]# chown -cR ntop:ntop /usr/local/share/ntop/ |
7. Set the administrator password
8. Start the ntop
| [root@sheraz ~]# /usr/local/bin/ntop -d -L -u ntop -P /usr/local/var/ntop --skip-version-check --use-syslog=daemon |
9. Access the ntop
Excellent piece of knowledge sharing.
ReplyDeleteYou can also install ntop on ubuntu 10.04 only in 1 minute.
ReplyDelete1) apt-get install ntop
2) ntop -A (set admin password)
3) /etc/init.d/ntop start
Enjoy...
To protect ntop you can change the default port by going to Admin > Preferences, and set ntop.webPort.
ReplyDeleteAnd add "/" in protect url.