一、nginx日志统计分析gocaess
wget 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
二、安装过程中遇到的问题
CentOS7 yum安装软件时检索密钥问题
修改/etc/yum.conf
gpgcheck=1 >>> gpgcheck=0
三、html分析
goaccess -a -d -f /usr/local/nginx/logs/access.log -p /usr/local/etc/goaccess/goaccess.conf -o html/goaccess.html
原创文章,作者:kepupublish,如若转载,请注明出处:https://blog.ytso.com/244945.html