Monthly Archives: July 2015

Home »  2015 »  July

ntop 설치

출처 아래 링크 . 감사합니다.
http://sunwalk.tistory.com/category/%EC%84%A4%EC%B9%98%20or%20%EC%84%A4%EC%A0%95%20%EB%A9%94%EB%89%B4%EC%96%BC
# 리눅스 버전 : RHEL5 Cent OS 5.5 2.6.18-194.e15
[설치순서]
1. sourceforge.net 에서 ntop-4.0.1 버전 다운
2. 필요함 라이브러리 & 패키지 다운 & 설치
yum install zlib zlib-devel libpng libpng-devel freetype freetype-devel libart_lgpl libart_lgpl-devel libpcap libpcap-devel libxml2* fontconfig-devel glib2 glib2-devel -y
yum -y install GeoIP GeoIP-devel GeoIP-data perl-Geo-IP
wget http://oss.oetiker.ch/rrdtool/pub/libs/pixman-0.10.0.tar.gz
tar xvfz pixman-0.10.0.tar.gz
./configure && make && make install
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
wget http://oss.oetiker.ch/rrdtool/pub/libs/cairo-1.6.4.tar.gz
tar xvfz cairo-1.6.4.tar.gz
./configure && make && make install
wget http://oss.oetiker.ch/rrdtool/pub/libs/pango-1.17.5.tar.gz
tar xvfz pango-1.17.5.tar.gz
./configure && make && make install
3. wget http://www.monkey.org/~provos/libevent-1.4.12-stable.tar.gz libevent 다운 및 설치
./configure && make && make install
4. wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.2.tar.gz rrdtool 다운 및 설치
./configure –prefix=/usr/local/rrdtool –disable-python –disable-tcl –enable-shared && make && make install
5. ntop-4.0.1 설치 및 실행
./autogen.sh –prefix=/usr/local/ntop
make && make install
설치디렉토리 확인
cd /usr/local/ntop/etc/ntop
ls
GeoIPASNum.dat GeoLiteCity.dat etter.finger.os.gz ntop-cert.pem oui.txt.gz specialMAC.txt.gz
mkdir -p /usr/local/ntop/var/ntop/rrd
useradd -M -c “NTOP USER” -s /bin/false ntop
chown -R ntop.ntop /usr/local/ntop/
/usr/local/ntop/bin/ntop -u ntop -w 3001 -P /usr/local/ntop -r 60 -i eth0
-w : http, -W : https
-r : refresh
-i : 모니터링할 인터페이스
-d : 데몬으로 띄움. 지금은 […]