Control Web Panel
WebPanel => Information => Topic started by: Namaste on February 22, 2025, 12:43:40 PM
-
Any easy way to install maxmind geo ip for goaccess?
Google analytics 4 is a nightmare to use. So its back to webstats for me. I dont need all of the data that GA4 can potentially reveal to micromanagers. GoAccess provides me with what I currently need to know about visitors to any give website.
-
Seems you just need to download the maxmind database file and specify the correct path to it.
Check the section "GeoIP Options" of the file:
/etc/goaccess/goaccess.conf
on your server/vps.
-
Seems you just need to download the maxmind database file and specify the correct path to it.
Check the section "GeoIP Options" of the file:
/etc/goaccess/goaccess.conf
on your server/vps.
I already knew that. I was asking if there was an easy way.
-
More easy way ? Install the geoip database using dnf/yum.
-
Also, can goaccess be updated? server version is 1.2 from 2017. Latest is 1.9
-
More easy way ? Install the geoip database using dnf/yum.
DNF implies non centos 7. Lets have a poll on here to see how many are still using C7
-
Seems you just need to download the maxmind database file and specify the correct path to it.
Check the section "GeoIP Options" of the file:
/etc/goaccess/goaccess.conf
on your server/vps.
I already knew that. I was asking if there was an easy way.
No, it has to be done manually.
-
Also, can goaccess be updated? server version is 1.2 from 2017. Latest is 1.9
Nothing prevents you from updating if you so desire. Remove CWP's GoAccess and install prerequisite (MaxMind GeoIP library):
yum -y remove goaccess
yum install libmaxminddb-devel.x86_64
Download and compile GoAccess, install to replace the current 1.2 version:
cd /usr/local/src
wget https://tar.goaccess.io/goaccess-1.9.3.tar.gz
tar -xzvf goaccess-1.9.3.tar.gz
cd goaccess-1.9.3/
./configure --prefix= --enable-debug --enable-utf8 --enable-geoip=mmdb --with-getline --with-openssl
make
make install
-
Or if instead of MaxMind, you prefer the legacy GeoIP as CWP used in the current 1.2 version, install this pre-requisite:
yum -y install geoip-devel
And then the configure line would change to:
[/code]./configure --prefix= --enable-debug --enable-utf8 --enable-geoip=legacy --with-getline --with-openssl[/code]
-
Cool. And as always should you chose to accept this mission be sure to backup your server first.