Serveur de torrent : Deluge

Installation

Installation des paquets

apt-get install deluged deluge-web

changer l’uid et gid

nano /etc/passwd 
debian-deluged:x:6001:6001::/var/lib/deluged:/bin/false
nano /etc/group 
debian-deluged:x:6001:

Changement de propriétaire des répertoire de fonctionnement de deluge

chown debian-deluged: /var/lib/deluged/
chown debian-deluged: /var/lib/deluged/config/
chown debian-deluged /var/log/deluged

Modification du fichier /etc/default/deluged

nano /etc/default/deluged
ENABLE_DELUGED=1
PORT=8112

/etc/init.d/deluged

Application du patch

cd /
wget https://raw.githubusercontent.com/jbsky/jbsky/master/proxmox/deluged.patch
patch -p0 < deluged.patch
rm deluged.patch

Boot

insserv deluged

Plugins

apt-get install unrar-free unzip

SSL

cd /var/lib/deluged/config
mkdir ssl
cd ssl
openssl req -new -x509 -nodes -out deluge.cert.pem -keyout deluge.key.pem

Configuration

  • Configurer l’UPNP sur le pare feu.
  • Installer miniupnp sur IPfire par exemple.

Source

https://doc.ubuntu-fr.org/deluge