Tuto : Installation de pyLoad sur Synology DSx09+ et DSx10+ (Freescale)

- Étape 3 : L’installation de pyLoad 0.4.9 proprement dite

Récupérer la dernière version du  paquet pyload sur le Nas Synology. (Sam : remarquez qu’actuellement il s’agit de la version 0.4.9 mais vous pouvez vérifier sur le site de pyLoad la version disponible au moment de votre installation. )

Syno> wget http://get.pyload.org/static/pyload-v0.4.9-noarch.ipk

-Puis installer le paquet Pyload

Syno> ipkg install pyload-v0.4.9-noarch.ipk

L’affichage devrait alors comporter des lignes analogues à celles-ci dessous :

Installing pyload (0.4.9) to root…
Installing tesseract-ocr (2.03-3) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/tesseract-ocr_2.03-3_powerpc.ipk

Installing libjpeg (6b-3) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/libjpeg_6b-3_powerpc.ipk
Installing libpng (1.2.44-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/libpng_1.2.44-1_powerpc.ipk
Installing libtiff (3.9.5-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/libtiff_3.9.5-1_powerpc.ipk
Installing tesseract-ocr-lang-eng (2.03-3) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/tesseract-ocr-lang-eng_2.03-3_powerpc.ipk
Installing ossp-js (1.6.20070208-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/ossp-js_1.6.20070208-1_powerpc.ipk
Installing unrar (4.2.4-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/unrar_4.2.4-1_powerpc.ipk
Installing py25-crypto (2.1.0-2) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/py25-crypto_2.1.0-2_powerpc.ipk
Installing libgmp (4.3.2-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/libgmp_4.3.2-1_powerpc.ipk
Installing libcurl (7.24.0-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/libcurl_7.24.0-1_powerpc.ipk
Installing py25-curl (7.19.0-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/py25-curl_7.19.0-1_powerpc.ipk
Installing py25-openssl (0.10-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/py25-openssl_0.10-1_powerpc.ipk
Installing py25-pil (1.1.7-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/py25-pil_1.1.7-1_powerpc.ipk
Installing freetype (2.3.6-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/freetype_2.3.6-1_powerpc.ipk
Configuring freetype
Configuring libcurl
Configuring libgmp
Configuring libjpeg
Configuring libpng
Configuring libtiff
Configuring ossp-js
Configuring py25-crypto
Configuring py25-curl
Configuring py25-openssl
Configuring py25-pil
Configuring pyload
Configuring tesseract-ocr
Configuring tesseract-ocr-lang-eng
Configuring unrar
Successfully terminated.

 

- Puis lancer l’assistant de configuration de Pyload

Syno> pyLoadCore -s

- Puis lancer Pyload en tant que daemon

python2.5 /opt/share/pyload/pyLoadCore.py --daemon

- Gérer les utilisateurs
Il est possible de gérer les droits des utilisateurs par l’interface Web à l’aide du bouton en haut à droite

Gestion des utilisateurs dans pyLoad

mais apparemment pour en ajouter ou changer le mot de passe, il faut le faire en ligne de commande

Pour ajouter des utilisateurs

avec

Syno> python /opt/share/pyload/pyLoadCore.py -u

Important: Admin user have always all permissions!

- Pour voir le statut de pyload (renvoi le numéro de processus pyload si il est lancé) :

Syno> python2.5 /opt/share/pyload/pyLoadCore.py --status

- Pour voir la version de Pyload :

 Syno> python2.5 /opt/share/pyload/pyLoadCore.py -v

-Pour arrêter proprement Pyload :

Syno> python2.5 /opt/share/pyload/pyLoadCore.py -q

Vous trouverez le fichier de configuration par défaut ici :
/opt/share/pyload_config

Si vous souhaitez désinstaller Pyload il faudra alors saisir :

Syno> ipkg remove pyload

- pour utiliser pyload en https il faut mettre le serveur en threaded (via le menu config/WebInterface/server) et générer le certificat via l’assistant :

Syno> pyLoadCore -s

 

Au redémarrage du Synology , il faut relancer pyLoad en mode deamon manuellement comme indiqué plus haut.
Voyons comment dans la page suivante automatisé ce processus…

Articles en relation avec celui-ci

This entry was posted in Android, Informatique, Logiciels, Nas, Tutoriels and tagged , , , , , , , , , , , , , . Bookmark the permalink.

8 Responses to Tuto : Installation de pyLoad sur Synology DSx09+ et DSx10+ (Freescale)

  1. Trankilou says:

    Salut Sam,

    merci d’avoir très fidèlement retranscrit mon tuto dans cet article que tu as su adapter pour les moins avertis.

    Bonne continuation, je ne n’hésiterai pas à te faire part de mes prochaines trouvailles.

    TrankiLou

  2. mj says:

    coucou merci à vous deux, j’ai une question, est il compatible avec un NAS syno DS213+ ?

    • Ce n’est pas impossible … mais je n’ai pas de Qoriq pour tester…donc cela peut etre une bonne idée de tester et de nous faire un retour d’expérience ici-même cela complèterait ce tutoriel ;-) … et il y a peu de risque.

  3. mj says:

    salut j’ai cette erreur:

    Starting PyLoad
    /opt/bin/python: can’t open file ‘/usr/local/pyload/pyLoadCore.py’: [Errno 2] No such file or directory

    à l’étape:
    - Eventuellement tester le bon fonctionnement du script :
    Syno> /usr/local/etc/rc.d/./pyLoadCore.sh start

    Que dois je faire ?

  4. Damien says:

    merci pour ce super tuto.
    A quand le même avec jdownloader ?

  5. mrboliboli says:

    Bonjour,
    Je possede un 213j, en fouillant sur le net j’ai trouvé une combine pour ipkg sur le 213j :
    https://github.com/trepmag/ds213j-optware-bootstrap
    ipkg a l’air de fonctionner.

    j’ai ensuite installé le pyload ipkg, mais cela ne fonctionne pas.
    le message d’erreur est different selon que je lance pyLoadCore avec le python syno(2.7) ou celui installé avec ipkg(2.5)

    avec python2.5 :
    syno>python2.5 /opt/share/pyload/pyLoadCore.py
    Segmentation fault (core dumped)

    avec le 2.7 syno
    Traceback (most recent call last):
    File « /opt/share/pyload/pyLoadCore.py », line 48, in
    from module.network.RequestFactory import RequestFactory
    File « /opt/share/pyload/module/network/RequestFactory.py », line 22, in
    from Browser import Browser
    File « /opt/share/pyload/module/network/Browser.py », line 6, in
    from HTTPRequest import HTTPRequest
    File « /opt/share/pyload/module/network/HTTPRequest.py », line 20, in
    import pycurl
    ImportError: No module named pycurl

    les dépendances on l’air d’être toutes installées. sauf pycurl que je ne trouve pas.
    une idée?

  6. mrboliboli says:

    bonjour,
    je possedé un ds213j j’ai installer ipkg a l’aide de ce tuto.
    https://github.com/trepmag/ds213j-optware-bootstrap

    puis j’ai installer pyload, mais lorsque je le lance (pyLoadCore -s)
    j’obtiens ce message :
    nas> pyLoadCore -s
    Segmentation fault (core dumped)

    une idee?

Comments are closed.