Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Source code installs ntop network sniffer tool

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Source code package:

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

Installation sequence:

First libpcap-0.8.3.tar.gz or rrdtool-1.2.13.tar.gz, then ntop-3.3.tar.gz

Install 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

Problems encountered during installation and their solutions:

① #. / 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.

Solution # yum install flex-y, and then execute. / configure

② # make & & make install

Make: yacc: command not found

Make: * * [grammar.c] error 127

Solution # yum install byacc-y, then compile and install make & & make install

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

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: setting password

Please enter the password again:

Passwords don't match. Please try again.

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

Enter http:// ip: Port in the browser to enter the ntop interface:

Problems encountered during installation and their solutions:

Unable to find configure script:

Solution:

# yum install automake autoconf-y

①. / autogen.sh-- disable-mysql

You must have libtool installed to compile ntop.

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

Tarball from ftp://ftp.gnu.org/pub/gnu/libtool

Solution: # yum install libtool-y, then. / autogen.sh-- disable-mysql

Configure: error: C++ preprocessor "/ lib/cpp" fails sanity check

Solution: # yum install gcc*-y, then. / autogen.sh-- disable-mysql

It is also reported:

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

Solution: # yum install gdbm-devel-y, then. / autogen.sh-- disable-mysql

② [root@localhost ntop-3.3] # autoconf

[root@localhost ntop-3.3] # automake

The configure script is generated, and then continue. / configure

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report