From 37f9d17355397a80217a462ea499ea01c0df65d8 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Mon, 25 Jan 2021 21:46:56 +0100 Subject: Added post about goaccess --- posts/2021-01-25-goaccess.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'posts') diff --git a/posts/2021-01-25-goaccess.md b/posts/2021-01-25-goaccess.md index b5d40e9..181a7d2 100644 --- a/posts/2021-01-25-goaccess.md +++ b/posts/2021-01-25-goaccess.md @@ -99,14 +99,13 @@ To enable Geo location we also need one additiona thing. ``` cd /var/www/html/stats.stats.com -wget https://github.com/texnikru/GeoLite2-Database/raw/master/GeoLite2-City.mmdb.gz -gunzip GeoLite2-City.mmdb.gz +wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb ``` Now we create a shell script that will be executed every 10 minutes. ```sh -nano /var/www/html/stats.stats.com/generate-stats.sh +nano /var/www/html/stats.domain.com/generate-stats.sh ``` Contents of this file should look like this. -- cgit v1.2.3