我已经看过有关如何将树莓派设置为洪流框的其他教程,但是我认为大多数使用方法教程都是过时的。
我还使用他的命令检查了我的deluge守护程序版本:
deluge -v
它返回此:
deluged: 1.3.10
libtorrent: 0.16.18.0
到目前为止,我已经遵循了How-To Geek教程。
链接:http://www.howtogeek.com/142044/how-to-turn-a-raspberry-pi-into-an-always-on-bittorrent-box/
在注视着错误之后,我已经完全卸载并删除了所有的deluge文件。
本教程建议使用以下命令:
sudo wget -O /etc/default/deluge-daemon http://cdn5.howtogeek.com/wp-content/uploads/gg/up/sshot5151a8c86fb85.txt
但是没有/ etc / default / deluge-daemon这样的文件,而是有一个分散的命名文件(可能是新版本中的deluge-daemon的缩写)
基本上,该命令的作用是将文件http://cdn5.howtogeek.com/wp-content/uploads/gg/up/sshot5151a8c86fb85.txt的内容复制到/ etc / default / deluge-daemon中的文件。
由于我找不到deluged-daemon,因此选择使用/ etc / default / deluged进行此操作
/ etc / default / deluged的原始内容:
# Defaults for deluged initscript
# sourced by /etc/init.d/deluged
# change to 1 to enable daemon
ENABLE_DELUGED=0
文件http://cdn5.howtogeek.com/wp-content/uploads/gg/up/sshot5151a8c86fb85.txt中提供的内容:
# Configuration for /etc/init.d/deluge-daemon
# The init.d script will only run if this variable non-empty.
DELUGED_USER="pi" # !!!CHANGE THIS!!!!
# Should we run at startup?
RUN_AT_STARTUP="YES"
但是,两个文件看起来都不同,并且deluge守护程序在启动时不会加载。
我使用以下指南设法解决了这个问题:http : //dev.deluge-torrent.org/wiki/UserGuide/Service/systemd。
deluge
用户是使用创建的--home /var/lib/deluge
。auth
(设置帐户)和core.conf
(设置allow_remote
标志)deluge
用户主目录中的文件(与pi
其他教程中通常提到的用户主目录相反)。本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句