Whatbox Logo
Login for certain variables to be updated with your slot's information

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

  1. Connect to your slot through SSH

  2. Create a Python 3 virtualenv with the instructions found here or use an existing one.

  3. Install pyLoad-ng in the virtual Python environment

     pip install pyload-ng
    
  4. Create the configuration files

     pyload --dry-run
    
  5. Run these commands to edit pyLoad-ng's configuration file to use a unique port and listen on all interfaces.

     sed -i 's|8000|22867|' ~/.pyload/settings/pyload.cfg
     sed -i 's|localhost|0.0.0.0|' ~/.pyload/settings/pyload.cfg
    
  6. 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
    
  7. Access http://server.whatbox.ca:22867 with the default username pyload and password pyload

    Go to http://server.whatbox.ca:22867/settings , click "Users", then click the green "change" button. Set a new secure password for the pyload user.

Upgrading

  1. Connect to your slot through SSH

  2. 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
    
  3. Shut down pyLoad-ng

     pkill -f pyload-ng
    
  4. Upgrade pyLoad-ng

     pip cache purge; pip install --upgrade pyload-ng
    
  5. 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