Installation nuxeodrive sur Linux

De TIc-siT_wiki
Sauter à la navigation Sauter à la recherche

Je suis les indications : https://github.com/nuxeo/nuxeo-drive/#ubuntudebian-and-other-linux-variants-client

Lorsque je ne mets pas de remarque c'est que tout se passe comme prévu

sudo mount -oremount,user_xattr /dev/sda3

comme easy_install n'est pas connue j'ajoute :

sudo apt-get install python-setuptools
sudo easy_install -U pip
sudo apt-get install python-pip python-dev python-qt4 libffi-dev
#DRIVE_VERSION=release-2.0.1223 (je mets l'indice de version qui figure en haut de la page)
DRIVE_VERSION=release-2.1.113 /* Réinstallaiton le 2/2/2016 suite à changement de serveur
sudo pip install -U -r https://raw.github.com/nuxeo/nuxeo-drive/$DRIVE_VERSION/requirements.txt

provoque le warning : The directory '/home/francois/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

Je relance avec le flag -H

sudo -H pip install -U -r https://raw.github.com/nuxeo/nuxeo-drive/$DRIVE_VERSION/requirements.txt
sudo -H pip install -U -r https://raw.github.com/nuxeo/nuxeo-drive/$DRIVE_VERSION/unix-requirements.txt
sudo -H pip install -U git+https://github.com/nuxeo/nuxeo-drive.git@$DRIVE_VERSION

Cannot find command 'git'

sudo apt-get install git-core
sudo -H pip install -U git+https://github.com/nuxeo/nuxeo-drive.git@$DRIVE_VERSION
...
Successfully installed nuxeo-drive-2.0.1223

Waiting for NXDRIVE-62 to be resolved you need to run these commands for Nuxeo Drive to work fine:

  1. increase inotify file watch limit

ofile=/proc/sys/fs/inotify/max_user_instances sudo sh -c "echo 8192 > $ofile" cat $ofile