当前位置:Gxlcms > 数据库问题 > 用GoAccess实现可视化并实时监控access日志

用GoAccess实现可视化并实时监控access日志

时间:2021-07-01 10:21:17 帮助过:5人阅读

https://tar.goaccess.io/goaccess-1.3.tar.gz $ tar -xzvf goaccess-1.3.tar.gz $ cd goaccess-1.3/ $ ./configure --enable-utf8 --enable-geoip=legacy $ make # make install

Q1:在执行第四步./configure时,遇到问题:

configure: error: 
*** Missing development files for the GeoIP library

解决方法:

$ wget https://github.com/maxmind/geoip-api-c/releases/download/v1.6.11/GeoIP-1.6.11.tar.gz
$ tar -xzvf GeoIP-1.6.11.tar.gz
$ cd GeoIP-1.6.11
$ ./configure
$ make
# make install

 Q2:在执行第四步./configure时,遇到问题:

configure: error: *** Missing development libraries for ncursesw

解决方法:

要使用--enable-utf8,你需要安装ncursesw,下面是安装命令:

sudo apt-get install libncursesw5-dev

安装完成截图:

技术分享图片

 

2.

 

用GoAccess实现可视化并实时监控access日志

标签:load   tar.gz   nbsp   需要   develop   hub   nload   conf   ubunt   

人气教程排行