your_domain.com<\/code>) in order to make it work with your unique registered domain name.<\/p>\r\n\r\n\r\n\r\nSave and close the file then activate the Matomo virtual host with the following command:<\/p>\r\n\r\n\r\n\r\n
a2ensite matomo.conf<\/pre>\r\n\r\n\r\n\r\nRestart the Apache service and you are ready:<\/p>\r\n\r\n\r\n\r\n
systemctl restart apache2<\/pre>\r\n\r\n\r\n\r\n<\/span>Step 7. Install SSL certificate<\/span><\/h2>\r\n\r\n\r\n\r\nIn this step, we will enable SSL for Matomo by using a free Let\u2019s Encrypt SSL certificate.<\/p>\r\n\r\n\r\n\r\n
apt install python3-certbot-apache -y<\/pre>\r\n\r\n\r\n\r\nOnce, the Certbot is installed we are ready to install the certificate for the domain:<\/p>\r\n\r\n\r\n\r\n
certbot --apache<\/pre>\r\n\r\n\r\n\r\nAfter the successful installation the following similar message will be received:<\/p>\r\n\r\n\r\n\r\n
- Congratulations! Your certificate and chain have been saved at:\r\n\/etc\/letsencrypt\/live\/your_domain.com\/fullchain.pem\r\nYour key file has been saved at:\r\n\/etc\/letsencrypt\/live\/your_domain.com\/privkey.pem<\/pre>\r\n\r\n\r\n\r\n<\/span>Step 8: Installing Matomo Using the Web Interface<\/span><\/h2>\r\n\r\n\r\n\r\nTo run the web installation wizard go to https:\/\/your_domain.com<\/strong> and you will be redirected to the Matomo welcome page. Click on the “Next”<\/strong> button:<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nYou will see a “System Check”<\/strong> page. If everything is marked with a green checkmark click on the “Next”<\/strong> button to proceed to the next step:<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nYou should get to the Database Setup page. Use database credentials configured earlier:<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nThe creation of the Tables should return the “Tables created with success!<\/strong>” message:<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nNext, you have to create\u00a0a\u00a0Super User<\/strong>. Provide username, password, and email address.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nNow, provide the site name, website URL, and then, click on the Next<\/strong> button.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nYou should see the Tracking code for the Matomo site on the following page:<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nNext, you should see that the Matomo installation has been completed. Click on the CONTINUE TO MATOMO<\/strong> button.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nNow, you can log in to the Matomo administration back-end:<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nYou should see the Matomo Dashboard and you can add more websites, check the stats, etc:<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nThat is it. The Matomo installation is now complete. Of course, you don\u2019t have to do any of this if you use one of our Ubuntu Hosting services, in which case you can simply ask our expert Linux admins to install Matomo<\/strong> for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\r\n\r\n\r\n\r\nPS.<\/strong>\u00a0 If you liked this post on how to Install Matomo Web Analytics on Ubuntu 20.04, please share it with your friends on social networks or simply leave a reply. Thank you.<\/p>\r\n","protected":false},"excerpt":{"rendered":"Matomo (formerly known as Piwik) is a free and open-source web analytics application developed in PHP to be the ultimate … <\/p>\n
Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":41219,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1698],"tags":[1716,1839,1283],"yoast_head":"\nHow to Install Matomo Web Analytics on Ubuntu 20.04 - RoseHosting<\/title>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n\t \n \n \n \n \n \n \n\t \n\t \n\t \n