Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Package:Piwik
Piwik
Tip
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
Piwik is a web-server-stack web analytics web application.
As piwik is not officially in portage we pull in the piwik overlay:
root # layman -L root # layman -a piwik root # layman -s piwik
Or fetch the latest piwik from their website and insert it to /var/www/localhost/htdocs/piwik/
root # emerge piwik
Database setup:
Note
change me passwords are insecure, change them!
root # mysql -u root -p mysql> CREATE DATABASE IF NOT EXISTS `piwik` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`; mysql> CREATE USER 'piwik'@'localhost' IDENTIFIED BY 'changeme'; mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES ON `piwik`.* TO 'piwik'@'localhost' IDENTIFIED BY 'changeme'; mysql> \q
navigate to http://localhost/piwik/ to start the install.
- next
- next
- enter database information.... user: piwik, password: changeme, database: piwik, next
- next
- create a default administrator account. super user login: admin, password: changeme, password again: changeme, next
- set your websites name, domain name, time zone, and if it is running ecommerce or not..... next
- piwik gives you java script code to add to your page headers to track traffic. insert them into the pages you wish to track now...... next
- continue to piwik
Media