Wiki > pyLoad
pyLoad is a download manager for 'Hoster' websites, video sites, and HTTP/FTP links. A list of supported sites can be found here
Connect to your slot through SSH
Create a Python 2.7 virtualenv with the instructions found here or use an existing one.
With your virtualenv activated, install some missing Python modules
pip install pillow cd; wget https://github.com/pycurl/pycurl/archive/REL_7_43_0_3.tar.gz tar zxf REL_7_43_0_3.tar.gz cd pycurl-REL_7_43_0_3/ make; make install; cd rm -r REL_7_43_0_3.tar.gz pycurl-REL_7_43_0_3/
mkdir -p ~/bin && echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc wget -O ~/bin/js https://dl.dropboxusercontent.com/s/cwjmcfzbpi0ktp9/js && chmod +x ~/bin/js
Download the latest pyLoad release
wget -O pyload.zip https://github.com/pyload/pyload/archive/stable.zip
Extract the archive
unzip pyload.zip; mv pyload-stable/ pyload/
~/pyload/pyLoadCore.pywill start the configuration setup wizard on first run. For most options, you can safely hit Enter to use the defaults. The following options should be changed/set accordingly:
- Username [User] - Password - Password (again) - Enable remote access (Select 'n' if you only plan to use the web interface.) - Downloadfolder (Example: /home/user/files would download to your ~/files directory.) - Configure ssl? (Select 'y' if you want to use https for the web interface. Ignore the commands it tells you to run for now.) - Port 10760 (Use a random 5 digit port between 10000 and 65535. The port number `10760` has automatically been generated by this page and will be used throughout this article, but can be changed if needed [Default:8000].) - Server (If you plan to use https, you should select 'threaded')
(Optional) If you plan to use SSL for your webinterface, you will need to set up your ssl cert and enable the
cd ~/.pyload openssl genrsa 1024 > ssl.key openssl req -new -key ssl.key -out ssl.csr openssl req -days 36500 -x509 -key ssl.key -in ssl.csr > ssl.crt sed -i 's/"Use HTTPS" = False/"Use HTTPS" = True/' ~/.pyload/pyload.conf
With your virtualenv activated, you may now start the pyLoad daemon.
(Optional) Clean up the installation archive
(Optional) Restart the service if the server restarts
Your server may need to be rebooted from time to time for upgrades or maintenance, to restart this service automatically edit your crontab with
crontab -eand add the following line:
@reboot /home/user/virtualenv/bin/python2.7 /home/user/pyload/pyLoadCore.py --daemon
You may access your pyLoad web interface by going to
http://server.whatbox.ca:10760 where 10760 is the port you chose during configuration. If you chose to use SSL, you will need to use
https://server.whatbox.ca:10760 to access the web interface via HTTPS.
On first run, you will need to restart pyLoad from the Administrate link to load new/updated plugins.