Ubuntu 16.04
Sponsored Link

Web Site Access Log Report : Piwik2016/06/15

Install Web Site Access Analyzer "Piwik". Piwik is different from AWStats and others, it analyzes a Web site, so it needs to add Java Script codes on a web site you'd like to analyze accesses.
[3] Create a Database for Piwik.
mysql -u root -p

Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 33
Server version: 10.0.25-MariaDB-0ubuntu0.16.04.1 Ubuntu 16.04

Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

# create "piwik" database ( set any password for 'password' )

MariaDB [(none)]>
create database piwik;

Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]>
grant all privileges on piwik.* to piwik@'localhost' identified by 'password';

Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]>
flush privileges;

Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]>

[4] Install Piwik.
apt-get -y install php-pdo php-gd php-xml
wget http://piwik.org/latest.zip -P /var/www/html

unzip /var/www/html/latest.zip -d /var/www/html

chown -R www-data. /var/www/html/piwik/tmp /var/www/html/piwik/config

[5] Access to "http://(server's hostname or IP address)/piwik/" and Click "Next".
[6] Confirm system requirements. If it's all OK, Go next.
[7] Input Database's infomation.
[8] Tabales are created normally if Database's infomation is correct.
[9] Set admin user. Input any name and password you like. For email address field, input real email address on the internet.
[10] Input web site's information you'd like to analyze accesses.
[11] Java Script codes are generated like follows. You need to add it on your web site.
[12] Initial Setup completed. Click "continue" to proceed.
[13] This is the login screen. Authenticate with a user you added.
[14] This is main screen. Though no data is shown below, looks and feelings are good to use.
Matched Content