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