Instructions

This commit is contained in:
2022-10-20 10:13:45 +02:00
commit a3f3cfc3bb

18
Readme.md Normal file
View File

@@ -0,0 +1,18 @@
# Stats
## Goaccess
Installer le paquet _goaccess_
Utiliser la commande _goaccess_ pour analyser /var/log/httpd/access\_log
##
Créer le répertoire /srv/c1/stats
Utiliser la commande
```bash
goaccess --log-format=COMBINED -o /srv/c1/stats/stats.html
```
Configurer apache pour pouvoir accéder à ce fichier via l'url http://liaX.formation.opendoor.fr/Stats/