使用ntop监控网络流量


使用ntop监控网络流量


需求


         - glibc, glibc-devel, gcc, cpp

         - gawk
         - libtool (1.4+)
         - gdbm, gdbm-devel
         - libpcap (http://www.tcpdump.org)
         - gd, gd-devel

         - libpng, libpng-devel

选项包:

         - openssl, openssl-devel
         - zlib, zlib-devel


Build ntop


# cd ntop-3.0/

# ./configure && make && make install


Cleanup older versions
# make install-data-as

# make listlibclean

# make libclean

Build a static ntop

    Sometimes you want to build ntop statically so that both shared libraries
    and plugins are included in the main program. In order to do that you need
    to:

# cd ntop
#./configure --enable-static-plugins
# make sntop

    The final binary is called sntop (static ntop).


3. Run ntop (See 1STRUN.txt)

# /usr/local/bin/ntop -A -u userid -P directory

          where  userid is the *nix userid you've created - with minimal
                 permissions - to run ntop
                 directory is the directory path where ntop will store
                 it's databases

# /usr/local/bin/ntop -u userid -P directory ...other parameters...

# netstat -nltup

等3000端口起来后,就可以使用 IE 直接访问。


===================

后边的操作在 web 下完成,(略――)




本文出自 “小崔的实验笔记” 博客,谢绝转载!

你可能感兴趣的:(网络,监控,流量)