yum install ncurses-devel
cd /usr/local/src/
wget http://tar.goaccess.io/goaccess-1.1.1.tar.gz
wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.7.tar.gz
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
tar xzvf GeoIP-1.4.7.tar.gz
cd GeoIP-1.4.7/
./configure && make && make install
cd ../
mv GeoIP.dat.gz /usr/local/share/GeoIP/
tar -xzvf goaccess-1.1.1.tar.gz
cd goaccess-1.1.1
ln -s /usr/local/lib/libGeoIP.so.1 /usr/lib/libGeoIP.so.1
ldconfig
./configure --enable-geoip --enable-utf8
make && make install
goaccess 安装
最新推荐文章于 2024-05-27 11:29:19 发布