In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to install the network monitoring software ntopng on the CentOS system". In the daily operation, I believe that many people have doubts about how to install the network monitoring software ntopng on the CentOS system. The editor consulted all kinds of materials and sorted out the simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "how to install the network monitoring software ntopng on the CentOS system". Next, please follow the editor to study!
What is ntopng?
Ntopng is a web-based high-speed communication analyzer and traffic collector. Ntopng is based on ntop and runs on all Unix platforms, MacOS X, and Windows.
Characteristics
From the ntopng website, we can see that they say it has many features. Here are some of them:
Sort network traffic by various protocols
Show active hosts for network traffic and IPv4/v6
Continuously store the communication data of the location host to disk in RRD format
Discover the application protocol through the DPI framework of nDPI,ntop
Displays the distribution of IP traffic between various protocols
Analyze IP traffic and sort by source / destination addr
Displays the matrix of the IP communication subnet (who is communicating with whom? )
Report IP protocol usage sorted by protocol typ
Generate HTML5/AJAX network communication data
Prerequisites for installation
Ntop has precompiled packages for CentOS and 64-bit Ubuntu, which you can find on their download page. For 32-bit operating systems, you must compile from source code. This article has been tested on CentOS 6.432-bit version. However, it can also work on other CentOS/RedHat-based versions of Linux. Let's get started.
Development tools
You must make sure that you have installed all the development tools you need to compile ntopng. To install development tools, you can use the yum command:
The code is as follows:
# yum groupinstall 'Development Tools'
Install TCL
The code is as follows:
# yum install tcl
Install libpcap
The code is as follows:
# yum install libpcap libpcap-devel
Install Redis
The code is as follows:
# wget http://redis.googlecode.com/files/redis-2.6.13.tar.gz
# tar zxfv redis-2.6.13.tar.gz
# cd redis-2.6.13
# make 32bit
# make test
# make install
Install ntopng
Method 1:
The code is as follows:
# wget http://sourceforge.net/projects/ntop/files/ntopng/ntopng-1.1_6932.tgz/download
# tar zxfv ntopng-1.1_6932.tgz
# cd ntopng-1.1_6932
#. / configure
# make
# make install
Method 2:
On my CentOS 6.4, I received an error message using method 1, which read as follows:
The code is as follows:
. / third-party/LuaJIT-2.0.2/src/libluajit.a: could not read symbols: File in wrong format
So I switched to SVN to install it. For this method, networking is required, and the steps are as follows:
The code is as follows:
# svn co https://svn.ntop.org/svn/ntop/trunk/ntopng/
#. / autogen.sh
#. / configure
# make
# make install
Since ntopng is a web-based application, your system must be installed with a working Web server
Create a profile for ntopng
If everything is installed, it's time for us to run it. By default, if we do not explicitly modify the installation folder at the. / configure step, redis and ntopng will be installed to the / usr/local/ folder. Next, we need to create a configuration file for ntopng. In this article, we use vi as the text editor. You can also use your favorite text editor to create ntopng configuration files.
The code is as follows:
# cd / usr/local/etc
# mkdir ntopng
# cd ntopng
# vi ntopng.start
Put in these lines:
The code is as follows:
-- local-network "10.0.2.0swap 24"
-- interface 1
# vi ntopng.pid
Put in the line:
The code is as follows:
-G=/var/run/ntopng.pid
Save these files and move on to the next step.
Run ntopng
We assume that you have installed the web server correctly, so the next step is to run the redis server.
The code is as follows:
# / usr/local/bin/redis-server
Then, run ntopng
The code is as follows:
# / usr/local/bin/ntopng
Test ntopng
Now you can test the ntopng application by visiting http://yourserver.name:3000, and you will see the ntopng login page. To log in for the first time, you can use the user 'admin' and password' admin'.
The dashboard is quite simple. When you log in, you will see the page about the highest traffic communicator.
If you click on the traffic menu at the top on the right, ntopng will show more details of active traffic.
On the host menu, you can see all the hosts connected to the stream.
Ntopng Hosts List
If you click Host > interaction, ntop will display a beautiful chart of interaction between hosts.
Dashboard menu components:
Top-level host (send + receive)
Top-level application protocol
Ntopng Apps
The interface menu will lead you to more internal menus. The package menu will show you the size distribution of the package.
The protocols menu will show you how many protocols have been used and their percentage.
You can also view activity by using the Historical activity menu.
Finally, you can also manage which users can access ntopng through the settings menu in the top right area (which one of the gear icons).
Ntopng provides you with a wide range of timelines, ranging from 5 minutes to 1 year. All you have to do is click on the timeline you want to display. The chart itself is clickable, and you can click on it to zoom.
At this point, the study on "how to install the network monitoring software ntopng on the CentOS system" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.