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
Aucun résumé des modifications |
|||
| Ligne 21 : | Ligne 21 : | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Installation Matomo | = Installation Matomo sur Ubuntu 24.04 = | ||
== Contexte == | |||
* Ubuntu 24.04 | |||
* Apache 2.4 | |||
* PHP 8.3 via PHP-FPM | |||
* MySQL / MariaDB | |||
== Dépendances PHP (si nécessaire) == | |||
<syntaxhighlight lang="bash">sudo apt install \ | |||
php8.3-mysql php8.3-gd php8.3-curl php8.3-xml \ | |||
php8.3-mbstring php8.3-zip php8.3-intl</syntaxhighlight> | |||
== Activation PHP-FPM == | |||
<syntaxhighlight lang="bash"> | |||
sudo a2enmod proxy_fcgi setenvif | |||
sudo a2enconf php8.3-fpm | |||
sudo systemctl reload apache2 | |||
</syntaxhighlight> | |||
= Installation Matomo = | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
cd /var/www | cd /var/www | ||
| Ligne 29 : | Ligne 49 : | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= Base de données = | |||
Changez "motdepasse" | |||
<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 27 avril 2026 à 13:56
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 sur Ubuntu 24.04
Contexte
- Ubuntu 24.04
- Apache 2.4
- PHP 8.3 via PHP-FPM
- MySQL / MariaDB
Dépendances PHP (si nécessaire)
sudo apt install \
php8.3-mysql php8.3-gd php8.3-curl php8.3-xml \
php8.3-mbstring php8.3-zip php8.3-intl
Activation PHP-FPM
sudo a2enmod proxy_fcgi setenvif
sudo a2enconf php8.3-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
Changez "motdepasse"
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;