Setting up a Deluge Server with WebUI


This tutorial will explain how to set up a local deluge server with web-interface access. The server is meant to be accessible only locally.


Hardware amd64 VPS
OS Debian 10 Buster

Step by Step Instructions

1. Change to root user

sudo -s

3. Installation of additional Dependencies

apt update
apt install -y deluged deluge-console deluge-web

4. Create user user and add persistence

useradd --system --create-home --shell /bin/bash --password <your-password-here> deluge
chown -R deluge:deluge /home/deluge
su - deluge
mkdir /home/deluge/tnt

5. Set up server

Initiate config directories and files, add authentication and enable remote access for the server's web interface:

killall deluged
echo "deluge:deluge:10" >> ~/.config/deluge/auth # You can change the user:password to your liking
deluge-console "config allow_remote"
deluge-console "config -s allow_remote True"

Edit the configuration of the server as you like, by editing the file /home/deluge/.config/deluge/core.conf as the user deluge.

Make sure that you manage all deluge related processes as the deluge OS user. This also includes editing deluge related files.

Start the deluge server and its web interface:

deluge-web --fork

The --fork parameter puts the web interface process in the background.

Start the actual deluge server:


Now access the web interface by typing the server's local IP address in the web browser's address bar, including the web interface IP. This could look like this:

In this example is the local IP of the deluge server and 8112 is the default port of deluge's web interface (can be changed in aforementioned configuration file. Authenticate with user deluge and password deluge (if you did not adjust it in an earlier step).