From 420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Sun, 12 Jul 2026 11:08:50 +0200 Subject: update --- articles/2021/GeoIP2-et-Goaccess.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 articles/2021/GeoIP2-et-Goaccess.html (limited to 'articles/2021/GeoIP2-et-Goaccess.html') diff --git a/articles/2021/GeoIP2-et-Goaccess.html b/articles/2021/GeoIP2-et-Goaccess.html new file mode 100755 index 0000000..58c45a1 --- /dev/null +++ b/articles/2021/GeoIP2-et-Goaccess.html @@ -0,0 +1,33 @@ + + + + + + + Bloggings + + +
+

Bloggings

+ Back + +
+ +
+
+

GeoIP2 et Goaccess

+

2021-04-09

+

Aujourd'hui, j'ai mis à jour goaccess pour qu'il fonctionne avec GeoIP2. +J'ai d'abord téléchargé et installé la dernière version de geoipupdate, +puis créé un compte gratuit avec Maxmind +et obtenu un identifiant de compte et une clé de licence. +J'ai ajouté ceux-ci au fichier /etc/GeoIP.conf, et j'ai ajouté une entrée crontab avec +@weekly /usr/local/bin/geoipupdate +geoipupdate a mis à jour 2 fichiers dans /usr/share/GeoIP/.
+J'ai ensuite modifié goaccess.conf avec geoip-database /usr/share/GeoIP/GeoLite2-City.mmdb +et goaccess affiche maintenant les villes correspondant aux adresses IP.

+
+
+ + -- cgit v1.3.1