aboutsummaryrefslogtreecommitdiff
path: root/posts/2021-01-25-goaccess.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2021-01-25 21:46:56 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2021-01-25 21:46:56 +0100
commit37f9d17355397a80217a462ea499ea01c0df65d8 (patch)
tree08fd7635f471e6d0a4bab5e1980de3a0c91c0e2a /posts/2021-01-25-goaccess.md
parent38dff5c66360454ea1e4c73e8551dd0acb576cc5 (diff)
downloadmitjafelicijan.com-37f9d17355397a80217a462ea499ea01c0df65d8.tar.gz
Added post about goaccess
Diffstat (limited to 'posts/2021-01-25-goaccess.md')
-rw-r--r--posts/2021-01-25-goaccess.md5
1 files changed, 2 insertions, 3 deletions
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.
99 99
100``` 100```
101cd /var/www/html/stats.stats.com 101cd /var/www/html/stats.stats.com
102wget https://github.com/texnikru/GeoLite2-Database/raw/master/GeoLite2-City.mmdb.gz 102wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb
103gunzip GeoLite2-City.mmdb.gz
104``` 103```
105 104
106Now we create a shell script that will be executed every 10 minutes. 105Now we create a shell script that will be executed every 10 minutes.
107 106
108```sh 107```sh
109nano /var/www/html/stats.stats.com/generate-stats.sh 108nano /var/www/html/stats.domain.com/generate-stats.sh
110``` 109```
111 110
112Contents of this file should look like this. 111Contents of this file should look like this.