Piwik is the leading open source web analytics application, it has been developed to provide an alternative to google-analytics. In this tutorial, I will show you how to install Piwik on ubuntu 15.10 with Nginx web server and PHP 5.6 in php-fpm mode. We will use MariaDB as the database system.
Read more at HowtoForge