Debian Jessie
Code: Alles auswählen
apt-get update
Code: Alles auswählen
apt-get upgrade
Code: Alles auswählen
apt-get install pyqt4-dev-tools python python-crypto python-pycurl python-imaging python-openssl tesseract-ocr rhino zip unzip unrar
Code: Alles auswählen
cd /opt
Code: Alles auswählen
wget https://github.com/pyload/pyload/releases/download/v0.4.9/pyload-cli-v0.4.9-all.deb
Code: Alles auswählen
dpkg -i pyload-cli-v0.4.9-all.deb
Code: Alles auswählen
cd /usr/share/pyload
Code: Alles auswählen
./pyLoadCore.py
Code: Alles auswählen
openssl genrsa -out ssl.key 4096
Code: Alles auswählen
openssl req -new -key ssl.key -out ssl.csr
Code: Alles auswählen
openssl x509 -req -days 3650 -in ssl.csr -signkey ssl.key -out ssl.crt
Code: Alles auswählen
USER=user
PIDFILE=/home/user/.pyload/pyload.pid
Code: Alles auswählen
#!/bin/sh
#
# Creation: 16.02.2013
# Last Update: 16.02.2013
#
# Written by Georg Kainzbauer (http://www.gtkdb.de)
#
### BEGIN INIT INFO
# Provides: pyload
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: pyLoad
# Description: pyLoad download manager
### END INIT INFO
USER=user
PIDFILE=/home/user/.pyload/pyload.pid
start()
{
echo "Starting pyLoad..."
su ${USER} -s /bin/sh -c "/usr/share/pyload/pyLoadCore.py --daemon --pidfile=${PIDFILE} >/dev/null"
}
stop()
{
echo "Stopping pyLoad..."
su ${USER} -s /bin/sh -c "kill $(cat ${PIDFILE})"
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
;;
esac
exit 0
python pyLoadCore.py -u
/usr/share/pyload/pyLoadCore.py -s
pyLoadCore --daemon
Fritz Box Reconnect Script und für diverse andere Router data.txt und reconnect.sh in das pyload homeverzeichniss kopieren /home/user/.pyload und die reconnect.sh ausführbar machen
in der Datei reconnect.sh muss am ende der zeile der pfad angepasst werden