Instructions
This commit is contained in:
18
Readme.md
Normal file
18
Readme.md
Normal 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/
|
||||||
Reference in New Issue
Block a user