Ntop简明安装手册

由 大熊宝宝 在 11-30-2003 13:37 发表:

Ntop简明安装手册

NTOP 是一套監測區域網路內封包數量的軟體,它可以搭配 MRTG ,找出網路大量封包暴增之所在.

同時以圖形化顯示,讓統計結果簡單易讀--(网上抄来的 呵呵)

最近看到网上都有人推荐使用Ntop 所以我也装了一下试试 这里我就把我的安装方法和大家分享一下 建议安装前面也可以看看包内的INSTALL文件 里面方法也想的很详细了 如果你E文够GOOD

首先到 http://www.ntop.org 下载最新的tarball 也有rpm包下载 不过我还是喜欢自己编译..

#tar xzvf ntop-2.2c.gz

cd ntop 可以看到有2个目录

cd gdchart0.94c

./configure 然后会提示你

Do not forget to build:

1. gd-1.8.3/libpng-1.2.4

2. zlib-1.1.4/

我们先build libpng 吧

cd gd-1.8.3/libpng-1.2.4

cp scripts/makefile.linux Makefile (如果你不是LINUX 就选择其他的吧)

#make 好libpng已经建立好了

我们在build zlib吧

cd zlib-1.1.4

./confugure

make

cd ..

make

接下来就是编译ntop了

cd ntop

./configure

make

make install

然后建立log目录

mkdir mkdir /var/log/ntop/

启动ntop

ntop -P /var/log/ntop/ -u nobody &

访问 http://you ip:3000

好了 ntop已经可以工作了 大家还有什么使用技巧 可以一起讨论 我的msn:[email protected]


请兄弟们正确发贴,把问题发到相关版块 发贴标题请简明扼要 谢谢大家配合.

新会员发贴前请学会搜索论坛 有可能你的问题已经有答案了


由 北南南北 在 11-30-2003 20:26 发表:


好,多谢宝兄!

在实践之中

已经提交入库

http://www.linuxsir.org/postnuke/mo...r=0&thold=0


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

请弟兄们发帖时要写个好标题,多谢!

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

每天以1000KM/H的速度在跑,感觉还是时间不够:(

“西学东渐,洋为中用” + 创造 = ?

linux ppc


由 wallace888 在 12-01-2003 09:58 发表:


老大我按照你的方法做了但是还是有个问题啊!我在

cd ntop

./configure

make

make install

当我执行make 时提示

make: *** No targets specified and no makefile found. Stop.

但是我是在ntop的目录下执行的啊!我./configure已经执行好了!


由 大熊宝宝 在 12-01-2003 11:32 发表:


Do not forget to build:

1. gd-1.8.3/libpng-1.2.4

2. zlib-1.1.4/

这2个编译过了吗


请兄弟们正确发贴,把问题发到相关版块 发贴标题请简明扼要 谢谢大家配合.

新会员发贴前请学会搜索论坛 有可能你的问题已经有答案了


由 wallace888 在 12-01-2003 11:43 发表:


#make 好libpng已经建立好了 这句话是什么意思是不是要执行make啊???


由 jimshen 在 12-01-2003 18:50 发表:

ntop进程无法停止

安装NTOP后,开始是正常的,由于Linux的NAT机器性能较差(Pentium 233,160M内存,而且有250个客户),所以想停止ntop,但是用kill或者killall都没用,请问怎样才能杀死进程?

我启动ntop的命令是:

ntop -P /var/log/ntop/ -w 10.28.176.21:3000 &

另外,这里有一篇关于NTOP的好文章

http://www.adj.idv.tw/server/linux_ntop.php

他提到可以使用intop来实现文本方式的流量检测,但是我安装的系统无法找到这个intop,不知哪位做过?


由 大熊宝宝 在 12-01-2003 19:31 发表:


kilall 有用阿。。。


请兄弟们正确发贴,把问题发到相关版块 发贴标题请简明扼要 谢谢大家配合.

新会员发贴前请学会搜索论坛 有可能你的问题已经有答案了


由 jimshen 在 12-01-2003 19:52 发表:


我用 kill -9 强制杀死了


由 wallace888 在 12-02-2003 08:58 发表:

我的ntop的问题!帮忙看看!!

我用的是RH8.0我现在按照ntop的帖子作到了最后的几步了。还是遇到了问题

[root@wallace gdchart0.94c]# cd ../ntop/

[root@wallace ntop]# ./configure

返回提示

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... configure: error: newly created file is older than distributed files!

Check your system clock

小弟不知道问题出在哪里啊?还有如果我要继续执行make 提示

make: *** No targets specified and no makefile found. Stop.

谢谢大家了!


由 jimshen 在 12-04-2003 08:43 发表:


他不是说Check your system clock了吗,你的系统时间对不对?


由 xjdong 在 12-04-2003 14:33 发表:


我成功的在 redhat8上安装了,但你们倒是担心如何kill 死进程的问题,而我却是相反,我的进程无缘无故就掉了。我下班前运行

./ntop -i eth0,eth1,eth2 -w 3100 -P /var/log/ntop -u nobody &

我发现运行的很好,等了半个小时后都很正常,然后下班了,然后下班回到家再上网看也很正常,看了一会大概10分钟,突然就不能访问网页了,一查进程不见了。我的机器性能很高的, P42.4 512内存的,而且负荷也不大的,不知是怎么回事,大熊宝宝知道是什么问题吗?


===========

§ 交流才会有进步 §

§ 让我们多多交流 §

§ 让我们快快进步 §

===========

http;//www.cg518.com

培训人生网,中国最多最全的培训教材直销网站,提供专业的企业内


由 冰箱 在 12-11-2003 16:07 发表:


我的ntop在./configure 时提示没有 libgdbm


所有人不许动,把手举起来。我是菜鸟!


由 smartma 在 12-13-2003 17:33 发表:

启动后出现这样的错误,请帮忙解决。

Wait please: ntop is coming up...

14/Dec/2003 17:45:45 ntop v.2.2c MT [i686-pc-linux-gnu] (12/14/03 05:33:27 PM build)

[1] 17392

[root@CSserver ntop]# 14/Dec/2003 17:45:45 Copyright 1998-2003 by Luca Deri

 1<[email protected]>   
 2  
 314/Dec/2003 17:45:45 Get the freshest ntop from http://www.ntop.org/   
 4  
 514/Dec/2003 17:45:45 Initializing ntop   
 6  
 714/Dec/2003 17:45:45 Initializing gdbm databases   
 8  
 914/Dec/2003 17:45:45 Listening on [eth1]   
10  
1114/Dec/2003 17:45:45 Loading Plugins   
12  
1314/Dec/2003 17:45:45 Searching for plugins in ./plugins   
14  
1514/Dec/2003 17:45:45 ICMP: Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri   
16  
1714/Dec/2003 17:45:45 LASTSEEN: Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea Marangoni   
18  
1914/Dec/2003 17:45:45 NETFLOW: Welcome to NetFlow.(C) 2002 by Luca Deri   
20  
2114/Dec/2003 17:45:45 NFS: Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri   
22  
2314/Dec/2003 17:45:45 PDA: Welcome to PDAPlugin. (C) 2001-2002 by L.Deri and W.Brock   
24  
2514/Dec/2003 17:45:45 SFLOW: Welcome to sFlowPlugin. (C) 2002 by Luca Deri   
26  
2714/Dec/2003 17:45:45 RRD: Welcome to rrdPlugin. (C) 2002 by Luca Deri.   
28  
2914/Dec/2003 17:45:45 Plugins loaded... continuing with initialization   
30  
3114/Dec/2003 17:45:45 Resetting traffic statistics...   
32  
3314/Dec/2003 17:45:45 VENDOR: Loading MAC address table.   
34  
3514/Dec/2003 17:45:45 VENDOR: Checking './specialMAC.txt'   
36  
37gdbm fatal: write error 
38
39  
40
41
42* * *
43
44  
45_由 大熊宝宝 在 12-13-2003 19:37 发表:_   
46  
47
48
49**回复: 启动后出现这样的错误,请帮忙解决。**
50
51  
52  
53
54
55&gt; quote: 
56&gt; 
57&gt; * * *
58&gt; 
59&gt; _最初由 smartma 发表_   
60&gt;    
61&gt;  **Wait please: ntop is comin**</[email protected]>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus