Results 31 to 45 of 282

Thread: [HowTo] pyload installieren

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374

    Post [HowTo] pyload installieren


    Dieser Thread ist die Weiterführung des von FastJack erstellten HowTo's. (Danke an FastJack!!)



    Hallo zusammen,

    dieses How-To beschreibt stichpunktartig die installation und konfiguration des Downloadmanagers pyload.

    1. Installation benötigter Packete
    Code:
    ipkg install python
    ipkg install py25-crypto
    ipkg install py25-curl
    ipkg install libcurl
    ipkg install py25-openssl (aktuellste Version)
    ipkg install py25-django
    ipkg install tesseract-ocr
    ipkg install unzip
    ipkg install screen
    ipkg install nano
    ipkg install sqlite
    ipkg install wget-ssl
    ipkg install py25-pil
    2. Download der letzten Stabe Version
    Code:
    mkdir /opt/pyload
    cd /opt/pyload
    wget http://get.pyload.org/get/
    unzip pyload-v0.*
    3. Anpassen der Config
    Code:
    cd pyload
    cd module
    cd config
    vi core.xml
    - Hier jeweils im abschnitt remote das passwort und den loginname abändern
    - Unter Webinterface den gewünschten Port anändern. (Default 8001)
    - Unter General -> download_folder = /tmp/harddisk/pyload. Diesen Ordner natürlich noch anlegen mit:
    Code:
    mkdir /tmp/harddisk/pyload
    - unter general use_reconnect = true und reconnect_method = ./reconnect.sh eintragen

    Auf folgender Seite findet Ihr die Configurations Datei nochmal genau erklärt: http://pyload.org/de:configuration

    In der Datei reconnect.sh muss folgendes stehen: (Ist von mir nur auf dem WL500gp getestet!)
    Code:
    #!/bin/sh
    killall pppd >/dev/null 2>&1
    sleep 5s
    pppd file /tmp/ppp/options.wan0 >/dev/null 2>&1
    sleep 5s
    ping -c 1 www.heise.de >/dev/null 2>&1
    Die Datei reconnect.sh ausführbar machen:
    Code:
    chmod +x reconnect.sh

    4. Starten von pyload
    Ihr startet das Programm dann indem Ihr im pyload Verzeichniss python pyLoadCore.py eingebt.
    Das macht Ihr am besten aus der Console am Anfang, da pyload erst noch ein paar Fehler ausspuckt.
    Diese verschwinden aber nachdem Ihr pyload ein paar mal gestartet habt und alle Dateien/Ordner angelegt wurden.

    Zusätzlich in der neuesten Version muss folgender Befehl für das Webinterface ausgeführt werden:
    Code:
    python module/web/manage.py syncdb
    Code:
    alias pyloadstart="cd /opt/pyload ; screen -dmS pyload python pyLoadCore.py"
    export PATH=$PATH:/opt/pyload
    unter /opt/etc/profile hinzufügen. Damit könnt Ihr mit dem Befehl pyloadstart pyload im Screen starten. Weiterhin sind damit alle Befehle von pyload im Pfad enthalten.
    Zum connecten der Screen Session screen -r eingeben.

    Alternativ könnt Ihr folgendes Script verwenden, welches es ermöglicht über initd pyload automatisch zu starten.

    Code:
    cd /opt/etc/init.d
    vi S90pyloadstart
    folgendes einfügen:
    Code:
    #!/bin/sh
    
    prefix="/opt"
    PATH=${prefix}/bin:${prefix}/sbin:/sbin:/bin:/usr/sbin:/usr/bin
    NAME="screen"
    
    start() {
            echo "Starting Service: $NAME"
            cd /opt/pyload
            screen -dmS pyload python pyLoadCore.py
            }
    
    stop() {
            if [ -n "`pidof $NAME`" ]; then
                echo "Stopping Service: $NAME"
                killall $NAME 2> /dev/null
            fi
            }
    
    case "$1" in
            start)
                    start
                    ;;
            stop)
                    stop
                    ;;
            restart)
                    stop
                    sleep 4
                    start
                    ;;
            *)
                    echo "Usage: $0 (start|stop|restart)"
                    exit 1
                    ;;
    esac
    
    exit 0
    und das ganze noch ausführbar machen
    Code:
    chmod +x /opt/etc/init.d/S90pyloadstart
    Zusätzlich bitte darauf achten das kein Webserver etc. auf Port 8080 läuft, da pyload seinen eigenen Webserver mitbringt.

    Das wars soweit, viel Spaß mit pyload.


    You can find this How-To translatet to english from !gm at this URL: http://wl500g.info/showthread.php?t=21844
    Last edited by carterb; 10-06-2010 at 08:08.
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

Similar Threads

  1. HowTo for aMule and PyLoad on Entware ???
    By QMax in forum WL-500gP Tutorials
    Replies: 3
    Last Post: 02-03-2014, 01:33
  2. pyLoad - ìåíåäæåð çàêà÷åê
    By ryzhov_al in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 155
    Last Post: 29-05-2013, 19:46
  3. Alle Howto's, all howto's
    By newbiefan in forum German Discussion - Deutsch (DE)
    Replies: 17
    Last Post: 29-03-2013, 13:57
  4. [How To] Firmware installieren und konfigurieren
    By wengi in forum German Discussion - Deutsch (DE)
    Replies: 547
    Last Post: 15-04-2012, 12:30
  5. [HOWTO] WL-HDD + Dbox2
    By akbor in forum German Discussion - Deutsch (DE)
    Replies: 14
    Last Post: 07-02-2008, 20:05

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •