N1刷Coreelec安装qbittorrent并SMB挂载群晖方法


0、首先你要打开群晖的smb共享,这个步骤不写了

1、安装:installentwareSSH登录CoreELEC,输入以下代码,即可完成安装。

installentware

2、安装qbittorrent

opkg install qbittorrent

3、启动qbittorrent(S89qbittorrent的红色S89前缀可能是随机数字,具体请前往目录查看

/opt/etc/init.d/S89qbittorrent start

4、qbittorrent访问:IP:9080。默认账号admin,密码adminadmin
5、SMB挂载群晖
6、新建挂载文件夹,我自己是在media文件夹下新建的名为xiazai的文件夹,你自己可随意:

mkdir /media/xiazai

7、安装SMB必要依赖:

opkg install samba4-utils
opkg install samba4-serve

8、SMB挂载:192.168.1.123/PT为群晖的SMB共享目录,用户名密码为群晖DSM系统登陆的用户名、密码。

mount -t cifs //192.168.1.123/PT /media/xiazai  -o iocharset=utf8,username=xxxx,password=xxxx

9、加入开机自动挂载:用FlashFXP在storage/.config/目录下新建文件autostart.sh不能改名,内容根据你的文件夹名字&路径自行修改。

#!/bin/bash

(

mkdir /media/xiazai;

mount -t cifs //192.168.1.123/PT /media/xiazai -o iocharset=utf8,username=xxxx,password=xxxx

)&

10、qbittorrent的下载保存目录修改为/var/media/xiazai(一定要有var!!)

/var/media/xiazai

声明:iTony's Blog|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - N1刷Coreelec安装qbittorrent并SMB挂载群晖方法


Carpe Diem and Do what I like