pyLoad Download Manager through Debian

1a - For Mipsel devices install Debian from here

1b - For Arm devices install Debian from here

2 - Enter Debian

debian enter

3 - Run update to see if some recent packages are available

apt-get update && apt-get upgrade -y

4 - Install necessary packages

apt-get install python wget python-crypto python-pycurl python-openssl python-qt4 python-imaging tesseract-ocr zip unrar rhino -y

5 - Download and install pyload

wget -c -O /var/tmp/pyload-v0.4.9-all.deb https://goo.gl/U3OEfq
dpkg -i /var/tmp/pyload-v0.4.9-all.deb

6 - Change the default configuration-directory

/usr/share/pyload/pyLoadCore.py --changedir --configdir=/etc/pyload/.pyload

Press ENTER once to confirm the path and once again ENTER to exit the dialog.

7  Generate ssl keys, you have to input data required... or just press ENTER and fields will remains blanks

cd /etc/pyload/.pyload
openssl genrsa -out ssl.key 1024
openssl req -new -key ssl.key -out ssl.csr
openssl req -days 36500 -x509 -key ssl.key -in ssl.csr > ssl.crt

8 - Start installation-process, just hit ENTER key, change username, password and port or leave it 8000

python /usr/share/pyload/pyLoadCore.py -s

root@RT-AC56U:/etc/pyload/.pyload# python /usr/share/pyload/pyLoadCore.py -s ENTER
Choose your Language / Wähle deine Sprache ([en], de, fr, it, es, nl, sv, ru, pl, cs, sr, pt_BR): ENTER

Welcome to the pyLoad Configuration Assistent.
It will check your system and make a basic setup in order to run pyLoad.

The value in brackets [] always is the default value,
in case you don't want to change it or you are unsure what to choose, just hit enter.
Don't forget: You can always rerun this assistent with --setup or -s parameter, when you start pyLoadCore.
If you have any problems with this assistent hit STRG-C,
to abort and don't let him start with pyLoadCore automatically anymore.

When you are ready for system check, hit enter. ENTER

## System Check ##
Python Version: OK
pycurl: OK
sqlite3: OK

pycrypto: OK
py-OpenSSL: OK

py-imaging: OK
tesseract: OK

PyQt4: OK

jinja2: OK
beaker: OK
JS engine: OK

System check finished, hit enter to see your status report.

## Status ##

Features available: container decrypting, ssl connection, automatic captcha decryption, GUI, Webinterface, extended Click'N'Load

Continue with setup? ([y]/n): ENTER

Do you want to change the config path? Current is /etc/pyload/.pyload
If you use pyLoad on a server or the home partition lives on an iternal flash it may be a good idea to change it.
Change config path? (y/[n]): ENTER

Do you want to configure login data and basic settings?
This is recommend for first run.
Make basic setup? ([y]/n): ENTER

## Basic Setup ##

The following logindata is valid for CLI, GUI and webinterface.
Username [User]: username
Password: password
Password (again): same password again

External clients (GUI, CLI or other) need remote access to work over the network.
However, if you only want to use the webinterface you may disable it to save ram.
Enable remote access ([y]/n): ENTER

Language ([en], de, fr, it, es, nl, sv, ru, pl, cs, sr, pt_BR): ENTER
Downloadfolder [Downloads]: /mnt/pyload ENTER
Max parallel downloads [3]: ENTER
Use Reconnect? (y/[n]): ENTER

Do you want to configure ssl?
Configure ssl? (y/[n]): y ENTER

## SSL Setup ##

Execute these commands from pyLoad config folder to make ssl certificates:

openssl genrsa -out ssl.key 1024
openssl req -new -key ssl.key -out ssl.csr
openssl req -days 36500 -x509 -key ssl.key -in ssl.csr > ssl.crt

If you're done and everything went fine, you can activate ssl now.
Activate SSL? ([y]/n): ENTER

Do you want to configure webinterface?
Configure webinterface? ([y]/n): ENTER

## Webinterface Setup ##

Activate webinterface? ([y]/n): ENTER

Listen address, if you use 127.0.0.1 or localhost, the webinterface will only accessible locally.
Address [0.0.0.0]: ENTER
Port [8000]: ENTER

pyLoad offers several server backends, now following a short explanation.
builtin: Default server, best choice if you dont know which one to choose.
threaded: This server offers SSL and is a good alternative to builtin.
fastcgi: Can be used by apache, lighttpd, requires you to configure them, which is not too easy job.
lightweight: Very fast alternative written in C, requires libev and linux knowlegde.
Get it from here: https://github.com/jonashaag/bjoern, compile it
and copy bjoern.so to module/lib

Attention: In some rare cases the builtin server is not working, if you notice problems with the webinterface
come back here and change the builtin server to the threaded one here.
Server ([builtin], threaded, fastcgi, lightweight): threaded ENTER

Setup finished successfully.
Hit enter to exit and restart pyLoad ENTER

root@RT-AC56U:/etc/pyload/.pyload#

9 - To create startup script we need to exit debian

exit

10 - Rename original script and add it to chrooted-services list

mv /opt/debian/etc/init.d/pyload /opt/debian/etc/init.d/S95pyload-debian
echo "" >>/opt/etc/chroot-services.list
echo "S95pyload-debian" >>/opt/etc/chroot-services.list
chmod 755 /opt/etc/chroot-services.list

11Create post-mount script

nano /jffs/scripts/post-mount

Paste this lines

#!/bin/sh
sleep 10
/opt/etc/init.d/S99debian start

Save with CTRL-O, press ENTER and exit nano with CTRL-X

Make script executable

chmod a+rx /jffs/scripts/post-mount

12Start pyload from outside debian together with mounted external folder

debian restart

13 - Go to 192.168.1.1:8000 and happy downloading...

Downloads are stored in pyload folder under EXT_DIR mounted in S99debian script file edited when installed Debian, ex. /mnt/sda1/Media/pyload

14 - Enjoy...

  • RyanAir

    Hi,

    is pyload.org finally down? In this case the step 5 has to be changed to:

    wget -c -O /var/tmp/pyload-v0.4.9-all.deb https://github.com/pyload/pyload/releases/download/v0.4.9/pyload-cli-v0.4.9-all.deb

    Regards

    • Thanks for heads up, modified :)

  • Aaaa

    Hello,

    I have problem to configure pyload, it cant update plugins, there is log from pyload:

    16.11.2015 17:01:31WARNINGNot able to connect server for updates
    16.11.2015 17:01:31INFONo Updates for pyLoad3316.11.2015 17:01:33WARNINGNot able to connect server for updates3416.11.2015 17:01:33INFONo plugin updates available

    Please, can you help me via team viewer?

  • Aaaa

    There is an error in step 5, download link is dead

    change it to

    wget -c -O /var/tmp/pyload-v0.4.9-all.deb http://download.pyload.org/pyload-v0.4.9-all.deb

    dpkg -i /var/tmp/pyload-v0.4.9-all.deb

    • Thanks for heads up, done :)

SoftEther VPN Running on AsusWRT Routers
Minidlna UPnP Media Server through Debian Jessie Arm
How to Mount Samba Shares inside Chrooted Debian
Nginx Web Server with PHP Support through Optware-NG
Minidlna UPnP Media Server through Debian Jessie Arm
How to Mount Samba Shares inside Chrooted Debian
Spreed WebRTC server and web client
Asterisk VoIP Server running on AsusWRT Routers
SoftEther VPN Running on AsusWRT Routers
NZBGet through Entware
Minidlna UPnP Media Server through Debian Jessie Arm
NetData System Monitor Entware

SUBSCRIBE

To be notified by email when a new tutorial is posted :)

Thanks for Subscribing! I'll keeping you up-to-date with latest tutorials!

Something went wrong, try again...