GoAccess 分析nginx日志

GoAccess 分析nginx日志

安装

wget https://tar.goaccess.io/goaccess-1.7.2.tar.gz
tar -xzvf goaccess-1.7.2.tar.gz
cd goaccess-1.7.2/
./configure --enable-utf8 --enable-geoip=mmdb
make
make install
1) Install missing packages
Pkg install autoconf libtools automake  gettext

2) Install GeoIP
wget https://github.com/maxmind/geoip-api-c/releases/download/v1.6.12/GeoIP-1.6.12.tar.gz
tar -xzvf GeoIP-1.6.12.tar.gz
./configure --prefix=$HOME/local/
make
make install

3) Install GeoAccess with GeoIP
wget https://tar.goaccess.io/goaccess-1.3.tar.gz
tar -xzvf goaccess-1.3.tar.gz
autoreconf -fiv
./configure --enable-geoip --enable-utf8
yum install goaccess -y

yumdownloader goaccess

posted @ 2023-05-10 15:25  edclol  阅读(14)  评论(0编辑  收藏  举报