Deluge is a bit torrent client which uses a client-server like architecture. The cool thing is you can have the server locally (like this install) or remote and just use the client to manage the queue.
Add the Deluge repository. This will have newer versions than in Ubuntu’s repository:
sudo add-apt-repository ppa:deluge-team/ppa
Update the software list on the system:
sudo apt-get update
Install Deluge and the web front end
sudo apt-get install deluged deluge-webui deluge
Create a start up script for the server side in /etc/init/deluge.conf
start on (filesystem and networking) or runlevel 
stop on runlevel 
exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluged — -d
Add a startup script for the web client in /etc/init/deluge-web.conf
start on started deluge
stop on stopping deluge
exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluge-web
Start the Deluge client and make sure it is not in classic mode (application mode). go to Preferences > Interface > Classic Mode and untick Enable. It will ask you to quit if it was running under classic mode.
Give it some time to start back up in client server before trying launching Deluge and connecting to the server.
Deluge is a flexible torrent client.