源码安装ntop网络嗅探工具

源码包:

网站建设哪家好,找成都创新互联!专注于网页设计、网站建设、微信开发、微信小程序定制开发、集团企业网站建设等服务项目。为回馈新老客户创新互联还提供了红桥免费建站欢迎大家使用!

        libpcap-0.8.3.tar.gz          rrdtool-1.2.13.tar.gz          ntop-3.3.tar.gz

安装顺序:

        先libpcap-0.8.3.tar.gz或rrdtool-1.2.13.tar.gz,后ntop-3.3.tar.gz

安装libpcap-0.8.3.tar.gz:

[root@localhost test]# tar -zxf libpcap-0.8.3.tar.gz -C/usr/src/

[root@localhost test]# cd /usr/src/libpcap-0.8.3/

[root@localhost libpcap-0.8.3]# ./configure

[root@localhost libpcap-0.8.3]# make && make install

安装过程中遇到的问题及解决:

① # ./configure 时

configure: error: Your operating 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 .

解决办法# yum install flex -y,然后再执行./configure

② # make && make install时

make:yacc:命令未找到

make: *** [grammar.c] 错误127

解决办法# yum install byacc -y,然后再编译安装make && make install

安装rrdtool-1.2.13.tar.gz:

[root@localhost test]# tar -zxf rrdtool-1.2.13.tar.gz -C/usr/src/

[root@localhost test]# cd /usr/src/rrdtool-1.2.13/

[root@localhost rrdtool-1.2.13]#./configure --prefix=/usr/local/

[root@localhost rrdtool-1.2.13]#make && make install

安装ntop-3.3.tar.gz:

[root@localhost test]#tar -zxf ntop-3.3.tar.gz -C /usr/src/

[root@localhost test]#cd /usr/src/ntop-3.3/

[root@localhost ntop-3.3]#./configure --prefix=/usr/local/

[root@localhost ntop-3.3]# make && make install    

[root@localhost ntop-3.3]# ntop -A

Please enter the password for the admin user:        设置密码

Please enter thepassword again:

Passwords don't match. Please try again.  

[root@localhost ntop-3.3]# ntop -d -u nobody-w 9000 -i eth0

在浏览器中输入http://   ip:端口,进入ntop界面:

源码安装ntop网络嗅探工具

源码安装ntop网络嗅探工具

安装过程中遇到的问题及解决:

无法找到configure脚本:

解决办法:

# yum installautomake autoconf -y

① ./autogen.sh --disable-MySQL

         又报:You must havelibtool installed to compile ntop.

               Download the appropriate package for your distribution, or get the source

                                      tarball fromftp://ftp.gnu.org/pub/gnu/libtool

解决:# yum installlibtool -y,再./autogen.sh --disable-mysql

又报:configure: error:C++ preprocessor "/lib/cpp" fails sanity check

解决:# yum installgcc* -y,再./autogen.sh --disable-mysql

又报:

ERROR:gdbm header or library routines are missing

*           (yes means it was found, no means it was not found)

*

*              gdbm.h...no

*              gdbm_open() in -lgdbm...no

*

*>>> No way to proceed.

*

*???     1. Install libgdbm

*???    and Rerun ./configure

*???  or 2. Use the --with-gdbm-xxxxx= options

*

*******************************************************************

configure:error: Unable to continue... aborting ./configure

解决:# yum installgdbm-devel-y,再./autogen.sh --disable-mysql

② [root@localhost ntop-3.3]# autoconf

   [root@localhost ntop-3.3]# automake

   就生成了configure脚本,再继续./configure

当前名称:源码安装ntop网络嗅探工具
链接分享:https://www.cdcxhl.com/article4/ihicoe.html

成都网站建设公司_创新互联,为您提供网站改版响应式网站服务器托管品牌网站建设微信小程序定制网站

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

成都定制网站建设