sudo apt-get install deluged deluge-console deluge-web
Before we start the deluge daemon, we will tell it which user(s) can connect. To do this we add a "user" to the authentication file;
mkdir -p ~.config/deluge
echo "username:password" >> ~/.config/deluge/auth
The username and password can be anything you like, they do not have to correspond with a username and password combo from UNIX userland.
Now we can start the deluge daemon;
By default connections from remote hosts are disabled. We need to enable them using the deluge console.
Load the Console UI;
Entering the following command into the console;
config -s allow_remote True
Exit the Console UI with the 'exit' command;
Open your deluge client on your workstation and open the 'Preferences' dialog. Disable 'Classic mode' on the 'Interface' page.
Restart the client and you should now be able to use the GTK Deluge client to connect to your Deluge server using the 'Connection Manager' dialog.
To start the web process;
This small script will start both process's and then confirm that they have started using 'ps'
ps ax | grep deluge | grep -v grep
You can now browse to your server on port 8112;
The default password is 'deluge'. You should change this of course.
You do that using the WebUI in 'Preferences > Interface'