CentOS6.5 install ntopng

Source: Internet
Author: User
Tags geoip automake

CentOS6.5 install ntopng

Environment: For Centos 6.5 systems, the latest ntopng version must be installed.
Preparation: because there are no detailed installation documents on the official website, many dependency packages are required for installation. I will list these packages separately.
.
We use source code compilation, so we don't need to say much about Gcc in the compiling environment.
The simplest is to install the "Development Tools" of the disc source, and prepare the EPEL installation source.

1. download and install the EPEL installation Source
Wgethttp: // download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Rpm-ivh epel-release-5-4.noarch.rpm


2. Install all these packages. Otherwise, an error will be reported.
Yum groupinstall "Development Tools"
Yum install libpcap-devel glib2-devel GeoIP-devel libxml2-devel
Libxml2-devel: redisautoconf automake sqlite-devel
The last three very important autoconf automake sqlite-devel

3. Download ntopng1.2.1
The official download was rejected by the wall. I used the VPN proxy to download the IP address from the United States. I uploaded the source code to the online storage.
Download http://yunpan.cn/ca7xcqeztdnzaextraction code 2142

4. decompress and compile
1.2.1 The new version officially provides the Installation Method
(The user manual is included in the source code package)

So follow the steps
After the above packages are installed, there are basically no errors.
After./configure is executed
Will prompt to execute
You are now ready to compile typing/usr/bin/gmake
Please do not forget to download GeoIP databases doing:/usr/bin/gmake geoip
This is an ip database for online download.
Run/usr/bin/gmake geoip.
Then make & make install has a long compilation process.

5. modify the configuration file
You need to add a configuration file,
Mkdir/etc/ntopng. conf
Add information

6. Start ntopng
Start before starting
/Etc/init. d/redis start

Start ntopng

7. Log in

Http: // 192.168.1.229: 3000
Username: admin
Password: admin

Preview:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.