Ntop configuration notes under CentOS 6.3

Source: Internet
Author: User
Tags rrd rrdtool

System Environment: CentOS6.3 x64

NTOP: ntop-5.0.1

Rrdtool: rpmforge Source

Libpcap: rpmforge Source

NTOP is a network traffic monitoring tool that comes with a web management interface to monitor Intranet traffic in LINUX sites. It can be installed on the gateway or bridge between the gateway and the access layer switch as a sniffer, which can be understood as an enhanced sniffer.

1. Install a third-party YUM Source

# Http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

# Rpm-ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

2. Install the dependency package

# Yum install libtool automake autoconf m4 make gcc-c ++ gdbm-devel zlib-devel openssl-devel python-devel GeoIP-devel-y

3. Install libpcap

# Yum install libpcap-devel-y

4. Install rrdtool

# Yum install rrdtool-devel-y

4. Install ntop

# Wget http://sourceforge.net/projects/ntop/files/ntop/Stable/ntop-5.0.1.tar.gz/download

# Tar-zxvf ntop-5.0.1.tar.gz

# Cd ntop-5.0.1

#./Autogen. sh

# Make & make install

5. Create ntop users and groups

# Groupadd ntop

# Useradd ntop-g ntop

6. Configure ntop User Permissions

The ntop home directory is/usr/local/share/ntop by default.

# Chown-R ntop: ntop/usr/local/share/ntop

7. Create the rrd directory used by ntop

# Mkdir/usr/local/var/ntop/rrd

# Chown-R ntop: ntop/usr/local/var/ntop/rrd

8. Start ntop

# Ntop-u ntop-d

9. log on to ntop in the browser (username/password: admin/admin)

Http: // 192.168.7.73: 3000

Change Password:

Admin-Configure-Web Users-change admin User Password

10. Set auto-start upon startup

# Vi/etc/rc. local

Add the last line:

------------------

/Usr/local/bin/ntop-u ntop-d

------------------

11. View logs:

# Tail-f/var/log/messages

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.