How to Install a BTDownloader in the PI

来源:互联网 发布:宝宝网络语言什么意思 编辑:程序博客网 时间:2024/06/06 04:13

install the transmission:

sudo apt-get install transmission-daemon

create the download file’s directory,because I have mounted the PI with a hard-driver,so I will choose it doing my store machine:

##be careful that the downloading directory has the enough authority~mkdir /mnt/myDriver/BTDownloader/completemkdir /mnt/myDriver/BTDownloader/incomplete

config the authority of the downloading directory:

sudo usermod -a -G debian-transmission pi

modify the config file * /etc/transmission-daemon/settings.json *:

sudo nano  /etc/transmission-daemon/settings.json ##modify this items:"download-dir": "/mnt/myDriver/BTDownloader/complete""incomplete-dir": "/mnt/myDriver/BTDownloader/incomplete""rpc-whitelist": "192.168.1.*"

then reload and restart transmission:

sudo service transmission-daemon reloadsudo service transmission-daemon restart

my PI’s IP is 192.168.1.102,and you can login the BTDownloader through the web with http://192.168.1.102:9091/ 。and the default user-account and password is transmission