Wiki > pyLoad
pyLoad is a "Free and Open Source download manager written in Python and designed to be extremely lightweight, easily extensible and fully manageable via web".
pyLoad-ng (Python 3)
Installation
-
Connect to your slot through SSH
-
Create a Python 3 virtualenv with the instructions found here or use an existing one.
-
Install pyLoad-ng in the virtual Python environment
pip install pyload-ng
-
Create the configuration files
pyload --dry-run
-
Run these commands to edit pyLoad-ng's configuration file to use a unique port and listen on all interfaces.
sed -i 's|8000|15660|' ~/.pyload/settings/pyload.cfg sed -i 's|localhost|0.0.0.0|' ~/.pyload/settings/pyload.cfg
-
Launch the pyLoad-ng daemon. If your virtualenv is in a different directory than
~/virtualenv
you will need to edit this command.~/virtualenv/bin/pyload --daemon
-
Access http://server.whatbox.ca:15660 with the default username
pyload
and passwordpyload
Go to http://server.whatbox.ca:15660/settings , click "Users", then click the green "change" button. Set a new secure password for the
pyload
user.
Upgrading
-
Connect to your slot through SSH
-
Activate your Python 3 virtualenv where pyLoad-ng is installed. If your virtualenv is in a different directory than
~/virtualenv
you will need to edit this command.source ~/virtualenv/bin/activate
-
Shut down pyLoad-ng
pkill -f pyload-ng
-
Upgrade pyLoad-ng
pip cache purge; pip install --upgrade pyload-ng
-
Launch the pyLoad-ng daemon. If your virtualenv is in a different directory than
~/virtualenv
you will need to edit this command.~/virtualenv/bin/pyload --daemon