본문 바로가기

Skills/System

nTop 설치..

http://sourceforge.net/projects/ntop < == 여기서 소스 rpm 다운..역시난 알피엠 매니아다..

필수 요구패키지로는 gdbm-devel, libpcap-devel, gd-devel 이 있다..

yum install gdbm-devel libpcap-devel gd-devel 하면 알아서 설치가된다..

[root @~]# cd /usr/src/redhat/SPECS
[root @ SPECS]# rpmbuild -ba ntop.spec
......빌드과정..완료..
[root @ SPECS]# rpm -Uvh ../RPMS/i386/ntop-3.2-0.fc2.i386.rpm
reparing...                ########################################### [100%]
   1:ntop                   ########################################### [100%]
***********************************************************************
***********************************************************************
***********************************************************************
* YOU MUST SETUP A PASSWORD BEFORE RUNNING NTOP                       *
*                                                                     *
*       (as root run) $ /usr/bin/ntop @/etc/ntop.conf -A              *
*                                                                     *
*       see 1STRUN.txt in /usr/share/doc/ntop-<release>               *
***********************************************************************
***********************************************************************
 
Questions?  See the FAQ in /usr/share/doc/ntop-<release>
 
[root@ SPECS]# cp /etc/ntop.conf.sample /etc/ntop.conf ( 설정파일 복사 )
[root@ SPECS]# ntop -P /usr/share/ntop -A          (admin 암호 설정)
DD/MMM/YYYY HH:MM:SS Initializing IP services...
SSL is present but https is disabled: use -W <https port> for enabling it
DD/MMM/YYYY HH:MM:SS Initializing GDBM...
DD/MMM/YYYY HH:MM:SS Initializing network devices...
DD/MMM/YYYY HH:MM:SS ntop v.2.0.99 ntop-02-04-12.tgz MT (SSL) [i686-pc-linux-gnu] (04/12/02 10:02:15 AM build)
DD/MMM/YYYY HH:MM:SS Listening on [eth0]
DD/MMM/YYYY HH:MM:SS Copyright 1998-2002 by Luca Deri <deri@ntop.org>
DD/MMM/YYYY HH:MM:SS Get the freshest ntop from http://www.ntop.org/
DD/MMM/YYYY HH:MM:SS Initializing...
...
DD/MMM/YYYY HH:MM:SS Welcome to sFlow: listening on UDP port 6343...

Please enter the password for the admin user:

*****enter the admin password ("admin" is NOT a good idea) and press enter!

Please enter the password again:
[root@ SPECS]# ntop @/etc/ntop.conf


이제 NTOP이 구동되고 있다...
http://localhost:3000으로 들어가면 ntop의 화면을 볼수 있고, 여러가지 셋팅이 가능하다.

이제 누가 트래픽을 가장 많이 잡아먹고 있는지 잡아서 족쳐주자............ㅡ.,ㅡ::