Centos 6.3下ntop配置筆記

來源:互聯網
上載者:User

系統內容:Centos6.3 x64

NTOP:     ntop-5.0.1

rrdtool: rpmforge源

libpcap: rpmforge源

NTOP是一個內建web管理介面的網路流量監控工具,用來監控LINUX站內內網流量。它可以安裝在網關上,也可以橋接在網關與接入層交換器間作為一個嗅探器,可以理解為一個加強版sniffer。

1.安裝第三方YUM源

# 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.安裝依賴包

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

3.安裝libpcap

# yum install libpcap libpcap-devel -y

4.安裝rrdtool

# yum install rrdtool rrdtool-devel -y

4.安裝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.建立ntop使用者和組

# groupadd ntop

# useradd ntop -g ntop

6.配置ntop使用者權限

ntop的主目錄預設在/usr/local/share/ntop

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

7.建立ntop使用的rrd目錄

# mkdir /usr/local/var/ntop/rrd

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

8.啟動ntop

# ntop -u ntop -d

9.在瀏覽器上登陸ntop(使用者名稱/密碼:admin/admin)

http://192.168.7.73:3000

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.