注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 可扩展、高可用、负载均衡..
 帮助

IPAudit网络监控安装和设置


2008-03-30 15:10:28
 标签:监控 IPAudit   [推送到技术圈]

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://coolerfeng.blog.51cto.com/133059/68971
ntop bandwithd都用过了。又找到这么一个软件。
装上看看吧。
本文参考了软件自带的文档和http://blog.chinaunix.net/u/19412/showart_214541.html
 
step1 创建用户ipaudit
#useradd ipaudit
step3 编译安装
#su - ipaudit
tar zxvf ipaudit-web-1.0BETA9.tar.gz
$./configure
$make
$su -
#make install
#make install-cron
#exit
step4 修改配置文件
#vi /home/ipaudit/ipaudit-web.conf
LOCALRANGE=192.168.1 //内网的网段
INTERFACE=eth0       //内网网卡
编辑apache的配置文件
UserDir disable ← 找到这一行,在行首增加“#”
#UserDir public_html ← 找到这一行,去掉行首的“#”
 
文档没有提到这个地方,如果不打开的话是无法访问到网页的。
 
在最后添加
<Directory /home/*/public_html>
AllowOverride All
Options MultiViews Indexes Includes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory /home/*/public_html/cgi-bin>
Options +ExecCGI -Includes -Indexes
SetHandler cgi-script
</Directory>
#service httpd reload
然后访问http://<your web server>/~ipaudit/
就可以看到了。数据需要等30分钟才能显示出来
 
为了安全可以给cgi-bin加上密码

在/home/ipaduit/pubilc_html/cgi-bin/创建一个文件.htaccess
   AuthType Basic
   AuthName IPAUDIT
   AuthUserFile /home/ipaduit/passwd
   require user   myself friend boss
 
然后给用户名设置密码
   htpasswd -c passwd myself
   htpasswd    passwd friend
   htpasswd    passwd boss
 
 

本文出自 “风吹云动” 博客,请务必保留此出处http://coolerfeng.blog.51cto.com/133059/68971



上一篇 lshw实用程序  下一篇 TC限速脚本



    文章评论
 
2008-03-30 23:35:18
跟其它软件的区别?
没有优势的话我们为什么要用它?

2008-03-31 08:51:00
有流量统计和详细的报表。嘿嘿

2008-04-27 21:11:04
能上传张图片吗?看看效果如何

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: