Skip to content
Extraits de code Groupes Projets
Valider adbbcd60 rédigé par Matthieu Aubry's avatar Matthieu Aubry
Parcourir les fichiers

note for linux users

parent 7afc4820
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -4,6 +4,19 @@ If you have problems with running Piwik tests see below. ...@@ -4,6 +4,19 @@ If you have problems with running Piwik tests see below.
If you cannot solve your issues please [ask in the forums](http://forum.piwik.org/list.php?9) If you cannot solve your issues please [ask in the forums](http://forum.piwik.org/list.php?9)
## Important note for Linux users: fix for slow tests
If the tests are running incredibly slow on your machine, maybe you are running mysql DB on an ext4 partition?
Here is the tip that will save you hours of research: if you use Mysql on ext4 partition,
make sure you add "nobarrier" option to /etc/fstab to disable some super slow IO feature.
Change from:
`UUID=83237e54-445f-8b83-180f06459d46 / ext4 errors=remount-ro 0 1`
to this:
`UUID=83237e54-445f-8b83-180f06459d46 / ext4 errors=remount-ro,nobarrier 0 1`
## Using latest GIT version ## Using latest GIT version
On ubuntu to use the latest GIT: On ubuntu to use the latest GIT:
...@@ -32,15 +45,3 @@ On your dev server, give your user permissions to write to the directory: ...@@ -32,15 +45,3 @@ On your dev server, give your user permissions to write to the directory:
$ sudo chmod 777 -R piwik/tmp/ $ sudo chmod 777 -R piwik/tmp/
**If you get the MySQL error number `2002`**, try changing the `[database_tests] host` config option to `"127.0.0.1"`. **If you get the MySQL error number `2002`**, try changing the `[database_tests] host` config option to `"127.0.0.1"`.
## Troubleshooting SLOW tests
If the tests are running incredibly slow on your machine, maybe you are running mysql DB on an ext4 partition?
Here is the tip that will save you hours of research: if you use Mysql on ext4 partition,
make sure you add "nobarrier" option to /etc/fstab to disable some super slow IO feature.
Change from:
`UUID=83237e54-445f-8b83-180f06459d46 / ext4 errors=remount-ro 0 1`
to this:
`UUID=83237e54-445f-8b83-180f06459d46 / ext4 errors=remount-ro,nobarrier 0 1`
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter