ntop源码安装
程序员文章站
2022-03-18 21:46:22
...
@TOC1.下载安装包
https://sourceforge.net/projects/ntop/
wget https://jaist.dl.sourceforge.net/project/ntop/ntopng/ntopng-2.4-stable.tar.gz
2.安装依赖
查看安装目录文档README.compilation 安装各种依赖
安装redis
On Fedora/CentOS
yum groupinstall "Development tools"
yum install git autoconf automake autogen bison flex libpcap-devel GeoIP-devel hiredis-devel redis glib2-devel libxml2-devel sqlite-devel gcc-c++ libtool wget libcurl-devel pango-devel cairo-devel libpng-devel mysql-devel libnetfilter-queue-devel zlib-devel
3.安装
tar zxvf ntopng-2.4-stable.tar.gz
cd ntopng-2.4-stable
./autogen.sh
./configure
make
make install
授权
mkdir /var/log/ntop
useradd ntop
chown root.root /usr/local/ntop/share/ntop -R
chown root.root /var/log/ntop
4.运行
cd /usr/local/bin
运行
[[email protected] bin]# ./ntopng -P /var/log/ntop -u root -i
下一篇: 求助,配置PHP环境到尾声遇到问题