Installing pyLoad through optware-ng it's easy, Allexx done a nice installer for this, just follow next steps:
1 - Install Optware-NG from here
2 - Install pyLoad and required dependencies
3 - Create ssl keys, input desired values or just press ENTER every time
Generating RSA private key, 4096 bit long modulus
..........++
...................................++
e is 65537 (0x10001)
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]: ENTER
State or Province Name (full name) [Some-State]: ENTER
Locality Name (eg, city) []: ENTER
Organization Name (eg, company) [Internet Widgits Pty Ltd]: ENTER
Organizational Unit Name (eg, section) []: ENTER
Common Name (e.g. server FQDN or YOUR name) []: ENTER
Email Address []: ENTERPlease enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []: ENTER
An optional company name []: ENTER
4 - Continue to configure pyLoad:
Choose your Language / Wähle deine Sprache ([en], de, fr, it, es, nl, sv, ru, pl, cs, sr, pt_BR): ENTERWelcome 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: OKpycrypto: OK
py-OpenSSL: OKpy-imaging: OK
tesseract: OKPyQt4: missingjinja2: OK
beaker: OK
JS engine: OKSystem check finished, hit enter to see your status report. ENTER## Status ##Features available: container decrypting, ssl connection, automatic captcha decryption, Webinterface, extended Click'N'LoadContinue with setup? ([y]/n): ENTER
Do you want to change the config path? Current is /tmp/mnt/sda1/optware-ng/etc/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]: desired_username ENTER
Password: desired_password ENTER
Password (again): same_password_again ENTER
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):
Downloadfolder [Downloads]: 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): y 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): ENTER
Setup finished successfully.
Hit enter to exit and restart pyLoad ENTER
Use /opt/etc/init.d/S98Pyload to start/stop pyLoad
Usage: /opt/etc/init.d/S98Pyload (start|stop|restart|status)
Starting PyLoad
Daemon PID 26653
Configuring python27
Configuring readline
Configuring sqlite
Configuring tesseract-ocr
Configuring unrar
Configuring unzip
update-alternatives: Linking //opt/bin/unzip to /opt/bin/unzip-unzip
Configuring xz-utils
Configuring zlib
Successfully terminated.
[email protected]:/tmp/mnt/sda1#
5 - Go to your router ip address and port 8000 or www.asusrouter.com:8000 and happy downloading...
ACCESS PYLOAD FROM WAN
Paste this lines
#!/bin/sh
iptables -I INPUT -p tcp --destination-port 8000 -j ACCEPT
Save with CTRL-O / Enter / and exit with CTRL-X
sh /jffs/scripts/firewall-start
Now you should have access from wanipaddress:8000
SECURE CONNECTION (HTTPS)
In pyLoad user interface go to Config / Menu / Web Interface
Choose Server as threaded
Use HTTPS on
Press Submit
Go to Config / Menu / SSL
SSL Certificate: /opt/share/pyload/ssl.crt
SSL Key: /opt/share/pyload/ssl.key
Press Submit
Restart pyLoad
Now access pyLoad through secured connection https://www.asusrouter.com:8000 or https://www.router_wan_ip_address:8000