UBUNTU DUMP‎ > ‎

Deluge Install on Ubuntu Server 16.04

posted 28 Apr 2017, 06:23 by Donald Ross
Quick setup of a headless torrent server on Ubuntu 16.04



*** Notes
Create user and log files
sudo adduser --disabled-password --system --home /var/lib/deluge --gecos "Deluge service" --group deluge
sudo touch /var/log/deluged.log
sudo touch /var/log/deluge-web.log
sudo chown deluge:deluge /var/log/deluge*

Install Deluge
sudo apt-get update
sudo apt-get install deluged
sudo apt-get install deluge-webui

Create startup scripts 

sudo nano /datadisk3/MyScripts/deluged.service

##### Insert in file  #####

[Unit]
Description=Deluge Bittorrent Client Daemon
After=network-online.target

[Service]
Type=simple
User=deluge
Group=deluge
UMask=000

ExecStart=/usr/bin/deluged -d

Restart=on-failure

# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=300

[Install]
WantedBy=multi-user.target

##### save and exit  #####

sudo nano /datadisk3/MyScripts/deluge-web.service

##### Insert in file  #####

[Unit]
Description=Deluge Bittorrent Client Web Interface
After=network-online.target

[Service]
Type=simple

User=deluge
Group=deluge
UMask=027

ExecStart=/usr/bin/deluge-web

Restart=on-failure

[Install]
WantedBy=multi-user.target

##### save and exit  #####

Copy the startup scripts into the system location
sudo cp  /datadisk3/MyScripts/deluged.service /etc/systemd/system/deluged.service
sudo cp /datadisk3/MyScripts/deluge-web.service /etc/systemd/system/deluge-web.service

Start the services
sudo systemctl start deluged
sudo systemctl enable deluged
sudo systemctl start deluge-web
sudo systemctl enable deluge-web

TEST

http://192.168.100.115:8112


Additional steps -
****check these before video tutorial 
set download location ????
set auto start ????
enable plugins ????




ċ
deluge-web.service
(0k)
Donald Ross,
28 Apr 2017, 06:23
ċ
deluged.service
(0k)
Donald Ross,
28 Apr 2017, 06:23
Comments