CentOS下Ntop網路監控的安裝與配置

來源:互聯網
上載者:User

Ntop是一種監控網路流量工具,用ntop顯示網路的使用方式比其他一些網路管理軟體更加直觀、詳細。Ntop甚至可以列出每個節點電腦的網路頻寬利用率。


一、系統內容

CentOS6.X系列

Ntop4.1.0


二、安裝前準備

2.1 Linux系統安裝,選擇的是 Basic services 安裝;

2.2 配置網路資訊、關掉SELinux與iptables;

2.3 安裝 基本常用工具及命令:

yum -y install yum-plugin* telnet nmap lrzsz

2.4 安裝Ntop所需要的開發庫及軟體:

yum -y install libtool

yum -y install libpcap-devel

yum -y install zlib-devel

yum -y install rrdtool*

註:我的系統安裝了這些支援庫及軟體後就可以了。不同的系統可能需要更多的軟體包,在編譯Ntop的時候會有提示,缺少的直接 yum 安裝一下即可;

三、安裝GeoIP

所謂GeoIP,就是通過來訪者的IP, 定位他的經緯度,省/地區,省市,甚至街道等位置資訊。

wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz

tar xzvf GeoIP.tar.gz

cd GeoIP-1.4.8

./configure --prefix=/usr/local/GeoIP

make

make install


四、安裝配置 Ntop

wget http://nchc.dl.sourceforge.net/project/ntop/ntop/Prior%20Stable/ntop-4.1.0.tar.gz

tar xzvf ntop-4.1.0.tar.gz

cd ntop-4.1.0


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.