plugin:statistics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:statistics [2016-08-30 09:58] – [Installing] 194.73.108.104 | plugin:statistics [2024-02-09 22:20] (current) – Aleksandr | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : andi@splitbrain.org | email : andi@splitbrain.org | ||
type : admin, action | type : admin, action | ||
- | lastupdate : 2016-08-17 | + | lastupdate : 2024-01-30 |
- | compatible : Hrun, Ponder Stibbons, Binky, Weatherwax | + | compatible : Hrun, Ponder Stibbons, Binky, Weatherwax, Elenor of Tsort, Detritus |
depends | depends | ||
conflicts | conflicts | ||
Line 68: | Line 68: | ||
===== Installing ===== | ===== Installing ===== | ||
- | | + | ==== Requirements ==== |
- | - Install php5 mysqli ((for Debian/ | + | |
- | - Create the MySQL database. | + | * A MySQL datatabase |
+ | * mysqli extension for PHP | ||
+ | * libgd extension for PHP | ||
+ | |||
+ | ==== Installation ==== | ||
+ | |||
+ | | ||
+ | - Create the MySQL database | ||
- Create the needed MySQL tables with the provided '' | - Create the needed MySQL tables with the provided '' | ||
- Configure the database access through the [[plugin: | - Configure the database access through the [[plugin: | ||
+ | |||
+ | ==== DB creation ==== | ||
+ | |||
+ | On the shell run the following commands: | ||
+ | < | ||
+ | # mysql -u root -p | ||
+ | MariaDB [(none)]> | ||
+ | MariaDB [(none)]> | ||
+ | </ | ||
To create the needed MySQL tables you can | To create the needed MySQL tables you can | ||
Line 78: | Line 94: | ||
- either use phpmyadmin' | - either use phpmyadmin' | ||
* Select the database that is used by your DokuWiki and chose " | * Select the database that is used by your DokuWiki and chose " | ||
- | - import manually using MySQL in your shell | + | - import manually using MySQL in your shell < |
- | + | ||
- | **Method 1** | + | |
- | < | + | |
# mysql -u db_user -p your_dokuwiki_database < / | # mysql -u db_user -p your_dokuwiki_database < / | ||
- | </ | ||
- | |||
- | **Method 2** | ||
- | < | ||
- | # mysql -u db_user -p your_dokuwiki_database | ||
- | Enter password: | ||
- | [...] | ||
- | Type ' | ||
- | |||
- | mysql> \. / | ||
</ | </ | ||
Line 112: | Line 115: | ||
* when fixed, stats about search bots could be added | * when fixed, stats about search bots could be added | ||
* the search word parsing is a bit flaky (" | * the search word parsing is a bit flaky (" | ||
- | |||
plugin/statistics.1472543930.txt.gz · Last modified: 2016-08-30 09:58 by 194.73.108.104