본문 바로가기

리눅스

[linux] How To Install GoAccess on CentOS 8

728x90

How To Install GoAccess on CentOS 8

install goaccess

$ yum install -y goaccess

goaccess version infomation

$ goaccess --version
GoAccess - 1.5.4.
For more details visit: https://goaccess.io/
Copyright (C) 2009-2020 by Gerardo Orellana

Build configure arguments:
  --enable-debug
  --enable-utf8
  --enable-geoip=legacy
  --with-getline
  --with-openssl

goaccess execution

$ goaccess access.log --log-format=COMBINED -a -o /docker-container/docker-nginx/html/report.html

running docker container

 

$ docker run -d -p 8080:80 --rm -v /docker-container/docker-nginx/html:/usr/share/nginx/html:ro --name nginx-goaccess nginx

goaccess dashboard

 

728x90