安装iftop
来源:互联网 发布:域名注册多少钱 编辑:程序博客网 时间:2024/05/29 08:06
Linux还真不是什么好玩的,但是既然新浪都用Linux+nginx+php+mysql的架构,我们有什么理由不用呢?瞄着成功者的架构走,虽然辛苦,总是不会错。
今天没别的,先解决流量监控的问题吧,网上搜来搜去,先用iftop吧,以后有好的,再学习,今天先安装一个用着,路只能是走出来的。
闲话少说,安装iftop吧
官方网站:
http://www.ex-parrot.com/~pdw/iftop/
安装iftop,,必须先安装libpcap
http://www.tcpdump.org/release/
wget http://www.tcpdump.org/release/libpcap-0.9.8.tar.gz
tar -zxvf libpcap-0.9.8.tar.gz
cd libpcap-0.9.8
./configure
make;makeinstall遇到问题:1、./configure时报错
configure: error: Youroperating system's lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including
being able to compile libpcap. For more information, see
http://www.gnu.org/software/flex/flex.html .
原来是flex没有安装,需要安装flexyum -y install flex
2、make时报错
yacc:Command not found
继续安装byyacc
yuminstall byacc
pcap安装完成,再来安装iftop
wgethttp://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz
tar zxvf iftop-0.17.tar.gz
cd iftop-0.17
./configure
make;make install
ok新问题,iftop ./configue时报错configure: error: Curses! Foiled again!
安装Curses:yum install ncurses-devel
configure: error: Curses! Foiled again!
(Can't find a curses library supporting m
vchgat.)
Consider installing ncurses.
configure: error: Curses! Foiled again!
(Can't find a curses library supporting m
vchgat.)
Consider installing ncurses.
configure: error: Curses! Foiled again!
(Can't find a curses library supporting m
vchgat.)
Consider installing ncurses.
- 安装iftop
- iftop安装
- iftop 套件安装
- centos 安装iftop
- centos下安装iftop
- centos下 iftop安装
- Centos安装iftop
- iftop iotop安装
- iftop的安装与使用
- Linux网络流量监控Iftop安装
- linux下iftop安装使用
- CentOS 安装iftop 监控网络流量
- CentOS7安装7zip&&iftop
- CentOS 安装iftop 网络流量工具
- iftop
- iftop
- iftop
- iftop 安装以及相关参数及说明
- No bean named 'userService' is defined 问题解决 maven ssh
- 利用jacob完成文档格式的转换(PDF)
- 杂技算法
- 蓝桥杯 C++ 验证18身份证
- Eclipse开发环境搭建
- 安装iftop
- liunx2软件安装笔记
- Apache Commons工具集简介
- Makefile 实际用例分析(三) ------- 是用GUN automake 处理自己的工程
- MySQL GROUP BY 操作的优化
- 如何使用java代码进行视频格式的转换(FLV)
- Linux服务器远程登录配置
- [转]永远不要在Linux执行的10个最危险的命令
- HDU 2048 错排