Ubuntu16 tls安装自己的Bit下载工具Deluge

常用的bit下载软件:uTorrent(Windows用户推荐)、 Azureus、 BitTornado、 KTorrent、 RTorrent、 Transmission、 Deluge。捣鼓了下载机,安装了系统ubuntu16 tls,现在就选择deluge作为bit下载软件。这里记录下安装流程:

安装步骤

deluge客户端安装

1
2
3
4
sudo add-apt-repository ppa:deluge-team/ppa

sudo apt update
sudo apt install deluge

安装完成可以在Unity Dash或者application menu中找到Deluge BitTorrent Client。

deluge客户端安装

1
2
3
4
sudo add-apt-repository ppa:deluge-team/ppa

sudo apt update
sudo apt install deluge

Alt text

deluge web安装

1
2
3
4
5
sudo add-apt-repository ppa:deluge-team/ppa

sudo apt-get update

sudo apt-get install deluge-webui deluged

添加deluge运行用户

1
sudo adduser --system --gecos "Deluge Service" --disabled-password --group --home /home/deluge deluge

--disabled-password 禁止deluge用户登录。

添加用户到deluge用户组

1
sudo gpasswd -a your-user-name deluge

Alt text

配置deluge客户端

配置sudo vim /etc/systemd/system/deluged.service,拷贝下面内容到文件中:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Deluge Bittorrent Client Daemon
After=network-online.target

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

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

deluge启动命令

1
2
3
4
5
systemctl start deluged

systemctl enable deluged

systemctl status deluged

配置deluge web

配置sudo vim /etc/systemd/system/deluged-web.service,拷贝下面内容到文件中:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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

deluge web启动命令

1
2
3
4
5
systemctl start deluge-web

systemctl enable deluge-web

systemctl status deluge-web

浏览器登录

浏览器中输入:your-server-ip:8112

监听127.0.0.1:58846连接Deluge daemon
Alt text

修改密码
Alt text

下载界面
Alt text

Ok,现在可以使用deluge下载上传文件了。午后随笔记录