diff options
| -rw-r--r-- | posts/2021-01-25-goaccess.md | 5 |
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 | ``` |
| 101 | cd /var/www/html/stats.stats.com | 101 | cd /var/www/html/stats.stats.com |
| 102 | wget https://github.com/texnikru/GeoLite2-Database/raw/master/GeoLite2-City.mmdb.gz | 102 | wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb |
| 103 | gunzip GeoLite2-City.mmdb.gz | ||
| 104 | ``` | 103 | ``` |
| 105 | 104 | ||
| 106 | Now we create a shell script that will be executed every 10 minutes. | 105 | Now we create a shell script that will be executed every 10 minutes. |
| 107 | 106 | ||
| 108 | ```sh | 107 | ```sh |
| 109 | nano /var/www/html/stats.stats.com/generate-stats.sh | 108 | nano /var/www/html/stats.domain.com/generate-stats.sh |
| 110 | ``` | 109 | ``` |
| 111 | 110 | ||
| 112 | Contents of this file should look like this. | 111 | Contents of this file should look like this. |
