This guide duplicates existing Deluge user guides and has minor mistakes so advise following updated and correct documentation:
- Install from latest version from PPA: Install on Ubuntu or from source: Install from source
- Setup Ubuntu service
- Setup ThinClient
The original post is below.
-------------------------------------------------------------------------------------------------------------------------------------------
Good day,
Here is a quick summary of how to install Deluge 1.3.7 onto Ubuntu 14.04 from the tar files.
Install Ubuntu 14.04 (I used LUBUNTU 14.04. It is a lightweight install with very low resource requirements.)
Do NOT create a user called "deluge"
Code: Select all
sudo yum update
Code: Select all
sudo yum upgrade
Code: Select all
sudo apt-get install python python-twisted python-openssl python-setuptools intltool python-xdg python-chardet geoip-database python-libtorrent python-notify python-pygame python-glade2 librsvg2-common xdg-utils python-mako
Grab the newest version ending in .tar.gz
Go to command prompt and change to directory where you downloaded the file:
Code: Select all
tar -xvzf deluge-1.3.7.tar.gz
cd deluge-1.3.7
python setup.py clean -a
python setup.py build
sudo python setup.py install --install-layout=deb
sudo adduser --system --group --home /var/lib/deluge deluge
Code: Select all
sudo bash
Code: Select all
cd /etc/init
touch /etc/init/deluged.conf
--------------------------------------
Code: Select all
# deluged - Deluge daemon
#
# The daemon component of Deluge BitTorrent client. Deluge UI clients
# connect to this daemon via DelugeRPC protocol.
description "Deluge daemon"
author "Deluge Team"
start on filesystem and static-network-up
stop on runlevel [016]
respawn
respawn limit 5 30
env uid=deluge
env gid=deluge
env umask=007
exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluged -- -d
Code: Select all
touch /etc/init/deluge-web.conf
Code: Select all
# deluge-web - Deluge Web UI
#
# The Web UI component of Deluge BitTorrent client, connects to deluged and
# provides a web application interface for users. Default url: http://localhost:8112
description "Deluge Web UI"
author "Deluge Team"
start on started deluged
stop on stopping deluged
respawn
respawn limit 5 30
env uid=deluge
env gid=deluge
env umask=027
exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluge-web
Reboot your computer. You should have deluged and deluge-web running automatically at startup.
USING THE WEB INTERFACE:
http://localhost:8112
Or from another computer on the network
http://192.168.0.100:8112 where you change your IP address to the one used by the deluge computer.
USING THE DELUGE CLIENT
(1) Create username/password
You need to create users that can log into the computer with the deluge client.
Code: Select all
sudo bash
service deluged stop
cd /var/lib/deluge/.config/deluge
Insert into this file:
username:password:10
You can adjust 10 to other numbers to limit the user rights on the server. 10=admin
Code: Select all
service deluged start
Start deluge (run deluge from the terminal of the computer you installed the software on). DO NOT run as admin. Run as an ordinary user.
Code: Select all
deluge
Remove check mark next to classic mode and click ok.
The client will prompt to exit. Click ok.
Make sure the deluge client is closed.
Start deluge client again.
You should see a prompt for connection manager. Remove any existing entry.
Click on "add" to create a new entry.
Hostname: localhost
Port: Leave it at 58846 unless you changed it for some reason.
Username: The username you entered when editing /var/lib/deluge/.config/deluge
Password: The password you entered when editing /var/lib/deluge/.config/deluge
Click on "add" to save the entry.
If you did the steps above correctly, there will be a check mark next to status on the connection manager.
Single click on the host, then click on "Connect"
Done.
I did this as I got fed up with trying to use apt-get to setup the machine. The apt files on the repository does not, in my opinion, do a good job with the startup scripts. So going through these steps get a clean running setup that is running the latest and greatest version of Deluge.
Comments welcome.