deluge一直是最受PT大佬喜爱的工具之一。尝试用了几个月,刷力起飞,web界面简单够用,配置灵活。
最大的缺点是不能跳过校验,辅种麻烦一些。
博主下载机是Online的3欧,小垃圾一个,佛系刷刷平均每天上传1T左右。
CPU:C2335
Memory:4G
Disk:1T
Bandwidth:1Gbit/s
OS:Debian10
本文实践系统为Debian10,deluge版本为1.3.15。其他情况参考官方教程
安装依赖
Debian & Ubuntu安装依赖
apt-get update
sudo apt-get install python python-twisted python-openssl python-setuptools intltool python-xdg python-chardet geoip-database python-libtorrent python-notify python-pygame python-glade2 librsvg2-common xdg-utils python-mako
官网列举的依赖如下:
Core
- python >= 2.5
- twisted >= 8.1
- twisted-web >= 8.1
- pyopenssl
- simplejson (if python < 2.6)
- setuptools
- gettext
- intltool
- pyxdg
- chardet
- geoip-database (optional)
- setproctitle (optional)
- pillow (optional)
- python-geoip (optional)
- libtorrent (rasterbar) >= 0.14
If building libtorrent:
- boost >= 1.34.1
- openssl
- zlib
Gtk
- pygtk >= 2.12
- librsvg
- xdg-utils
- python-notify (optional)
- pygame (optional)
- python-appindicator (optional)
Web
- mako
编译安装
下载源码
wget http://download.deluge-torrent.org/source/deluge-1.3.15.tar.gz
解压缩并定位至源码目录
tar -xzvf deluge-1.3.15.tar.gz && cd deluge-1.3.15
安装
python setup.py build
python setup.py install --install-layout=deb
python setup.py clean -a
配置自启动
配置 deluged.service
touch /etc/systemd/system/deluged.service
下面代码整体复制后运行
echo "[Unit]
Description=Deluge Bittorrent Client Daemon
Documentation=man:deluged
After=network-online.target
[Service]
Type=simple
UMask=000
ExecStart=/usr/bin/deluged -d
Restart=on-failure
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/deluged.service
配置 deluge-web.service
touch /etc/systemd/system/deluge-web.service
下面代码整体复制后运行
echo "[Unit]
Description=Deluge Bittorrent Client Web Interface
Documentation=man:deluge-web
After=network-online.target deluged.service
Wants=deluged.service
[Service]
Type=simple
UMask=000
ExecStart=/usr/bin/deluge-web -p 8112
Restart=on-failure
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/deluge-web.service
启动服务
systemctl enable deluged && systemctl enable deluge-web
systemctl start deluged && systemctl start deluge-web
访问 http://You-ip:8112
就可以进入WebUI
开始使用了WebUI
的默认密码为deluge
,务必第一时间修改!
其他deluge操作命令
# 查看deluge运行状态
systemctl status deluged
# 重启deluge
systemctl restart deluged
# 关闭deluge
systemctl stop deluged
# 查看deluge-web运行状态
systemctl status deluged-web
# 重启deluge-web
systemctl restart deluged-web
# 关闭deluge-Web
systemctl stop deluge-web
itconfig 插件(划重点)
这个插件的参数我不会优化,但是默认的High Performance Seed
模式已经很给力了。
下载地址
- 进入
deluge -web
,打开设置选项Preference
-Plugins
- 点击
install
安装插件。 - 安装完成后
Plugins
下方出现itconfig
选项,下拉菜单选择High Performance Seed
,点右侧的Load Preset
。 - 右下角,
Apply
。大功告成~!
文章作者:Vann
本文链接:https://blog.imvann.com/2.html
转载请注明本文链接