diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-01-25 21:46:56 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-01-25 21:46:56 +0100 |
| commit | 37f9d17355397a80217a462ea499ea01c0df65d8 (patch) | |
| tree | 08fd7635f471e6d0a4bab5e1980de3a0c91c0e2a /posts/2021-01-25-goaccess.md | |
| parent | 38dff5c66360454ea1e4c73e8551dd0acb576cc5 (diff) | |
| download | mitjafelicijan.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.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. |
