Il y a 389 articles et 19 utilisateurs inscrits (ce bandeau est défini dans MediaWiki:Sitenotice)
« Matomo/Installation » : différence entre les versions
Aller à la navigation
Aller à la recherche
Page créée avec « = Installation Matomo sur Ubuntu 18.04 = == Contexte == * Ubuntu 18.04 * Apache 2.4 * PHP 8.1 via PHP-FPM * Drupal 10.6 * Pleade == Installation des dépendances PHP == ... » |
Aucun résumé des modifications |
||
| Ligne 5 : | Ligne 5 : | ||
* Apache 2.4 | * Apache 2.4 | ||
* PHP 8.1 via PHP-FPM | * PHP 8.1 via PHP-FPM | ||
* | * MySQL / MariaDB | ||
== Dépendances PHP == | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo apt install \ | sudo apt install \ | ||
php8.1-mysql php8.1-gd php8.1-curl php8.1-xml \ | php8.1-mysql php8.1-gd php8.1-curl php8.1-xml \ | ||
php8.1-mbstring php8.1-zip php8.1-intl | php8.1-mbstring php8.1-zip php8.1-intl | ||
</syntaxhighlight> | |||
== Activation PHP-FPM == | |||
<syntaxhighlight lang="bash"> | |||
sudo a2enmod proxy_fcgi setenvif | |||
sudo a2enconf php8.1-fpm | |||
sudo systemctl reload apache2 | |||
</syntaxhighlight> | </syntaxhighlight> | ||
== Installation Matomo == | == Installation Matomo == | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
cd /var/www | cd /var/www | ||
| Ligne 25 : | Ligne 29 : | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== | == Base de données == | ||
<syntaxhighlight lang="sql"> | <syntaxhighlight lang="sql"> | ||
CREATE DATABASE matomo CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; | CREATE DATABASE matomo CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; | ||
Version du 11 mars 2026 à 08:17
Installation Matomo sur Ubuntu 18.04
Contexte
- Ubuntu 18.04
- Apache 2.4
- PHP 8.1 via PHP-FPM
- MySQL / MariaDB
Dépendances PHP
sudo apt install \
php8.1-mysql php8.1-gd php8.1-curl php8.1-xml \
php8.1-mbstring php8.1-zip php8.1-intl
Activation PHP-FPM
sudo a2enmod proxy_fcgi setenvif
sudo a2enconf php8.1-fpm
sudo systemctl reload apache2
Installation Matomo
cd /var/www
wget https://builds.matomo.org/matomo.zip
unzip matomo.zip
chown -R www-data:www-data matomo
Base de données
CREATE DATABASE matomo CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
CREATE USER 'matomo'@'localhost' IDENTIFIED BY 'motdepasse';
GRANT ALL PRIVILEGES ON matomo.* TO 'matomo'@'localhost';
FLUSH PRIVILEGES;