Translation(s): English - ?Français

(!) Discussion


Introduction

From Wikipedia:

Requirements

Note: In second end of 2015 support for PHP 5.3 will be dropped in Piwik 3.0.0. Piwik will then require PHP 5.4. Until then Piwik works well with any PHP >= 5.3.3.

It is recommended to us PHP version 5.5 and up (5.6 is available starting with Debian 8) as it is much more memory efficient than previous PHP versions.

For more details, see Piwik requirements in the official documentation

Installation

There is an unofficial package repository for Piwik Open-source Analytics suitable for all Debian based distributions.

The repository contains the vanilla version of the latest stable version of Piwik.

  1. Download the repository OpenPGP key

    wget https://debian.piwik.org/repository.gpg -qO piwik-repository.gpg
  2. Verify the repository OpenPGP key:

    sha256sum --binary piwik-repository.gpg


    The value returned should be

    0d7c880f6c838bba2d02817dcacfc97fc538b1ebcdb41c3106595265c0d371d4  *piwik-repository.gpg
  3. Install the signing key on your computer:

    cat piwik-repository.gpg | sudo apt-key add -
  4. Declare this repository by adding the following to /etc/apt/sources.list.d/piwik.list:

    deb http://debian.piwik.org/ piwik main
    deb-src http://debian.piwik.org/ piwik main


    Alternatively, you may want to use https. To do so, you will need to instal the apt-transport-https package firstand then add the following lines instead:

    deb https://debian.piwik.org/ piwik main
    deb-src https://debian.piwik.org/ piwik main
  5. Refresh your packages list:

    $ sudo apt-get update
  6. Install and configure MySQL server (unless you'll be accessing it from another server, a possible scenario in production environments):

    $ sudo apt-get install mysql-server


    Note: also see /usr/share/doc/piwik/README.Debian for additional database setup information

  7. Install Piwik:

    $ sudo apt-get install piwik
  8. Check the configuration files in /etc/piwik/

  9. Optionally, enable the cron job in /etc/cron.d/piwik

External links

Please, add links to external documentation. This is not a place for links to non-free commercial products.


CategorySystemAdministration