Matomo 3
On this page, we explain step by step how to setup Matomo 3 with CloudPanel.
Installation
In the following example we will setup Matomo under the domain www.domain.com.
Preparation
Before we can start with the installation, we need to create an SSH User, a Database, and a Domain.
When you Add the Domain, make sure to select the Matomo 3 Vhost Template and the right PHP Version.

Installation
To install Matomo do the following steps:
- Login via SSH to the server e.g. with john-ssh and go to the users tmp directory:
cd ~/tmp
- Download and extract the latest Matomo 3 version.
curl -sL https://github.com/matomo-org/matomo/archive/3.14.1.tar.gz | tar xfz -
- Move files to the htdocs directory of the domain:
cp -R matomo-3.14.1/* /home/cloudpanel/htdocs/www.domain.com/
- Install via composer:
cd /home/cloudpanel/htdocs/www.domain.com/
php7.4 /usr/local/bin/composer install
- Reset permissions.
cd /home/cloudpanel/htdocs/
clpctl system:permissions:reset www.domain.com 775
- Clean up the tmp directory.
rm -rf ~/tmp/*
- Open your domain in the browser and go through the installation wizard.

- Done! Matomo 3 is now installed.
