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: