Ubuntu安装Deluge

PT vps333 3年前 (2021-07-02) 3884次浏览 0个评论

Ubuntu20.04+安装Deluge非常简单,只需要几条命令。

apt-get update
apt-get install deluged deluge-web -y
deluge-web --fork

18.04 PPA安装

apt-get update 
apt install language-pack-zh-hans

/etc/default/locale
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh:en_US:en

apt install software-properties-common
add-apt-repository ppa:deluge-team/stable
apt-get install deluged deluge-web -y
deluge-web --fork

参数优化

cache_expiry 30 / 60
choking_algorithm 1
seed_choking_algorithm 1
strict_end_game_mode false
use_parole_mode false
enable_incoming_utp false
enable_outgoing_utp false


添加为服务
nano /etc/systemd/system/deluge-web.service

[Unit]
Description=Deluge Bittorrent Client Web Interface
Documentation=man:deluge-web
After=network-online.target deluged.service
Wants=deluged.service

[Service]
Type=simple
UMask=027
LimitNOFILE=65535
LimitNPROC=65535

ExecStart=/usr/bin/deluge-web -d

Restart=on-failure

[Install]
WantedBy=multi-user.target

nano /etc/systemd/system/deluged.service

[Unit]
Description=Deluge Bittorrent Client Daemon
Documentation=man:deluged
After=network-online.target

[Service]
Type=simple
UMask=007
LimitNOFILE=65535
LimitNPROC=65535

ExecStart=/usr/bin/deluged -d

Restart=on-failure

# Time to wait before forcefully stopped.
TimeoutStopSec=300

[Install]
WantedBy=multi-user.target

启动服务
systemctl start deluged.service
systemctl start deluge-web.service
开机启动
systemctl enable deluged.service
systemctl enable deluge-web.service

实际只需要启动deluge-web即可


VPS生生生 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Ubuntu安装Deluge
喜欢 (22)

您必须 登录 才能发表评论!