windows下安装goaccess

阅读: 评论:0

windows下安装goaccess

goaccess为apache,ngix日志分析工具,仅支持linux系统,windows下安装需要使用cygwin

1、下载goaccess安装包

goaccess.io/
goaccess-1.

2、安装cygwin

1、下载cygwin
win/

2、Cygwin国内镜像地址
mirrors.sohu/cygwin/

3、在cygwin中需要安装的包
goaccess.io/faq#installation

libGeoIP-devel           | GeoIP2 C library
libncurses-devel         | Terminal display library
libncursesw10            | Terminal display library (wide-character)
gcc-core (C)             | GNU Compiler Collection
make                     | make utility
automake                 | GNU Makefiles
gettext                  | GNU Gettext
automake wrapper scripts | wrapper scripts for automake and aclocal

3、安装 goaccess

官方给出的安装步骤如下:

$ wget access.io/goaccess-1.
$ tar -xzvf goaccess-1.
$ cd goaccess-1.2/
$ ./configure --enable-utf8 --enable-geoip=legacy
$ make
# make install

在cygwin中按照上述方式安装不成功,需要去掉参数:--enable-geoip=legacy,命令如下:

$ ./configure --enable-utf8

4、报告输出

1、交互模式报告

goaccess access.log

2、html报告

goaccess access.log -a -o report.html

3、指定多个日志文件

goaccess access.log access.log.1
goaccess access*.log

报告截图:


参考:

github/allinurl/goaccess

本文发布于:2024-09-24 17:43:00,感谢您对本站的认可!

本文链接:https://www.4u4v.net/it/1727171010437131.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:windows   goaccess
留言与评论(共有 0 条评论)
   
验证码:

Copyright ©2019-2022 Comsenz Inc.Powered by ©

网站地图1 网站地图2 网站地图3 网站地图4 网站地图5 网站地图6 网站地图7 网站地图8 网站地图9 网站地图10 网站地图11 网站地图12 网站地图13 网站地图14 网站地图15 网站地图16 网站地图17 网站地图18 网站地图19 网站地图20 网站地图21 网站地图22/a> 网站地图23