How to install Deluge on a Ubuntu Server

http://yaui.me/how-to-install-deluge-on-a-ubuntu-server/

Today I will show you how you can install Deluge in a Ubuntu Server. It takes a little bit of tinkering around but it is quite worth it.

If you don’t know deluge, read the description below or visit Deluge’s homepage (link at the bottom of the page).

 

Deluge is a full-featured  BitTorrent client for Linux, OS X, Unix and Windows. It uses libtorrent in its backend and features multiple user-interfaces including: GTK+, web and console. It has been designed using the client server model with a daemon process that handles all the bittorrent activity.

The Deluge daemon is able to run on headless machines with the user-interfaces being able to connect remotely from any platform.

Deluge features a rich plugin collection; in fact, most of Deluge’s functionality is available in the form of plugins.

It was created with the intention of being lightweight and unobtrusive.
It is our belief that downloading shouldn’t be the primary task on your computer and therefore shouldn’t monopolize system resources.

Deluge

 

Install Deluge on a Ubuntu Headless Server

 

1 – First we need to add Deluge PPA repository.

sudo add-apt-repository ppa:deluge-team/ppa

 

2 – Install Deluge web interface

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

 

3 – Create the init script for Deluge

sudo nano /etc/init/deluge.conf

 

and add:

start on (filesystem and networking) or runlevel [2345]
stop on runlevel [016]

env uid=<user>
env gid=<group>
env umask=022

exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluged -- -d

 

Note: replace <user> and <group> with the user you want to run deluge on and the group the user it’s in.

 

4 – Create the init script for Deluge’s web interface

sudo nano /etc/init/deluge-web.conf

 

and add:

start on started deluge
stop on stopping deluge

env uid=<user>
env gid=<group>
env umask=027

exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluge-web
 

Note: remember to change the <user> and <group> as before.

 

5 – Finally we just need to start Deluge.

sudo start deluge

 

If the webui does not start automatically  you can issue the command:

sudo start deluge-web

 

 

Deluge Homepage


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值