| 添加到收藏夹 | 返回目录页 | 上一篇:UPNP通用即插即用 |
ntop配置指南
很简单,关键是在/etc/ntop.conf 加入--http-server 3000
--domain hk.newsky.cn
即可
1.下载
ftp://ftp.freshrpms.net/pub/dag/packages/ntop/ntop-3.1-1.1.el3.rf.i386.rpm
2.安装
rpm -ivh ntop-3.1-1.1.el3.rf.i386.rpm
3.配置
#vi /etc/ntop.conf
加入
--http-server 3000
--domain hk.newsky.cn
4.设定admin密码
[root@hkweb root]# ntop -A
Tue Jul 26 15:06:54 2005 Initializing gdbm databases
Please enter the password for the admin user:
Please enter the password again:
Tue Jul 26 15:07:06 2005 Admin user password has been set
5.启动
[root@hkweb root]# /etc/init.d/ntop start
Starting ntop: [ OK ]
注:如果/etc/init.d/ntop start无法启动,则可以用ntop -d命令启动
6.访问
http://202.96.155.37:3000/
参考:http://www.linuxaid.com.cn/articles/7/1/712517868.shtml
http://www.weithenn.idv.tw/cgi-bin/wiki.pl/Ntop-%e6%b5%81%e9%87%8f%e6%aa%a2%e6%b8%ac%e5%8f%8a%e5%b0%81%e5%8c%85%e8%be%a8%e8%ad%98%e7%9a%84%e7%b6%b2%e7%ae%a1%e8%bb%9f%e9%ab%94
附:我的/etc/ntop.conf文件
[root@hkweb root]# cat /etc/ntop.conf
### You should copy this file to its normal location, /etc/etc/ntop.conf
### and edit it to fit your needs.
###
### ntop is easily launched with options by referencing this file from
### a command line like this:
###
### ntop @/etc/ntop.conf
###
### Remember, options may also be listed directly on the command line, both
### before and after the @/etc/ntop.conf.
###
### For switches that provide values, e.g. -i, the last one matters.
### For switches just say do things, e..g -M, if its ANYWHERE in the
### commands, it will be set. Theres no unset option.
###
### You can use this to your advantage, for example:
### ntop @/etc/ntop.conf -i none
### Overrides the -i in the file.
### Sets the user that ntop runs as.
### NOTE: This should not be root unless you really understand the security risks.
--user ntop
### Sets the directory that ntop runs from.
--db-file-path /var/ntop
### Interface(s) that ntop will capture on (default: eth0)
#--interface eth0
### Configures ntop not to trust MAC addrs. This is used when port mirroring or SPAN
#--no-mac
### Logging messages to syslog (instead of the console):
### NOTE: To log to a specific facility, use --use-syslog=local3
### NOTE: The = is REQUIRED and no spaces are permitted.
--use-syslog
### Tells ntop to track only local hosts as specified by the --local-subnets option
#--track-local-hosts
### Sets the port that the HTTP webserver listens on
### NOTE: --http-server 3000 is the default
--http-server 3000
### Sets the port that the optional HTTPS webserver listens on
#--https-server 3001
### Sets the networks that ntop should consider as local.
### NOTE: Uses dotted decimal and CIDR notation. Example: 192.168.0.0/24
### The addresses of the interfaces are always local and dont need to be specified.
#--local-subnets xx.xx.xx.xx/yy
### Sets the domain. ntop should be able to determine this automatically.
--domain hk.newsky.cn
### Sets program to run as a daemon
### NOTE: For more than casual use, you probably want this.
#--daemon
最热门文章推荐:
>· installscript引擎
>· 加入搜索引擎
>· 引擎的使用
>· goole搜索引擎
>· wps文件
>· 金山wps2003下载
>· excel学习
>· excel病毒
- · 补丁管理最佳安全实践之资产评估
- · 相恋不如相知
- · 改变虚终端显示模式
- · topsec fw-ares 升级手记
- · HOWTO: Service banner faking
- · 让你的诺顿永不过期
- · 轻松玩转VMware虚拟机
- · 查看IIS里每个站点的资源使用情况
- · 传奇服务端结构
- · 运用88ip软件构建CS游戏服务器技巧
- · 巧用DOS命令远程管理FTP服务器
- · 五花八门设置代理服务器客户端
- · 如何管理多台DHCP服务器
- · SQLServer2000的安全配置
- · 被入侵系统恢复指南
- · 防火墙防止DDOS分布式拒绝服务攻击的几种方式
- · 路由器的安全配置
- · 一位高手整理的IISFAQ
- · 在Win2003中配置ASP.net环境
- · 备份与恢复Win2003的AD数据库
- · 体验Win2003共享“还原”技术
- · 都是宽带造的福-用宽带架设个人服务器
- · 服务器常见故障的诊断与解决
- · 网管软件很受伤
- · 网络管理之ARP协议篇
- · 网络管理技巧“七招鲜”
- · 菜鸟防黑:如何全面抵制黑客攻击
- · 网管守则之linux安全守则
- · ADSI及其在WEB上的应用
- · 网管的困惑:域控制器哪去了
- · SecurityIssuesinPerlScripts
- · QQ聊天服务器完全架设指南
- · SMTP安全手册—Sendmail服务器安全
- · 网管们的账号怎么样才安全
- · 提高2000抗拒绝服务攻击
- · 维护服务器安全的基本方法
- · 利用ADMmutate测试NIDS
- · 让IIS支持CGI,本机架设雷敖论坛攻略
- · 网管好帮手:三款扫描器精品推荐
- · 解决与HTTP500–内部服务器错误错误信息有关的问题
- · 校园网内部机也能出国访问
- · Real流媒体服务的搭建与测试
- · 让服务器服务得更好
- · 让服务器服务得更好
- · 无线网络安全
- · Real流媒体服务的搭建与测试
- · 解决与HTTP500–内部服务器错误错误信息有关的问题
- · 用Web接口远程维护Win2003服务器
- · 网管好帮手:三款扫描器精品推荐
- · 数据库服务器的安全
- · 维护服务器安全的基本方法
- · 提高2000抗拒绝服务攻击
- · 如何利用qmail防止垃圾邮件
- · SMTP安全手册—Sendmail服务器安全
- · QQ聊天服务器完全架设指南
- · 服务器终极安全设置与优化指南
- · 网管的困惑:域控制器哪去了
- · ADSI及其在WEB上的应用
- · Administrastor真不安全
- · 菜鸟防黑:如何全面抵制黑客攻击
- · 网络管理技巧“七招鲜”
- · 网络管理之ICMP协议篇
- · 网管软件很受伤
- · 服务器常见故障的诊断与解决
- · 体验Win2003共享“还原”技术
- · 备份与恢复Win2003的AD数据库
- · 在Win2003中配置ASP.net环境
- · 一位高手整理的IISFAQ
- · Windows2000安全(MS,缺陷)
- · 路由器的安全配置
- · 防火墙防止DDOS分布式拒绝服务攻击的几种方式
- · 修改注册表提高Win2000抗拒绝服务攻击能力
- · 被入侵系统恢复指南
- · 架设FTP轻松实现网页远程自动更新
- · 五花八门设置代理服务器客户端
- · 运用88ip软件构建CS游戏服务器技巧
- · 传奇服务端结构
- · 查看IIS里每个站点的资源使用情况
- · 轻松玩转VMware虚拟机
- · 做个自己的MSN聊天机器人

