qbittorrent-nox安装 rclone挂载OneDrive

比较喜欢4.3.9

wget https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.3.9_v1.2.15/x86_64-qbittorrent-nox

chmod a+x x86_64-qbittorrent-nox

apt install screen

screen -S qbit

./x86_64-qbittorrent-nox

 

挂载rclone

apt install rclone

rclone config

 

 

OneDrive

本地电脑也下rclone,文件夹内powershell

输入

./rclone authorize "onedrive"

自动打开浏览器,登录对应OneDrive账号即可

回到Powershell复制token

回到SSH

等到“config_token>”这行时粘贴前面复制的token

一路下一步即可

 

创建Rclone挂载

screen -S rclone

mkdir /mnt/onedrive

rclone mount onedrive:/ /mnt/onedrive –cache-dir /tmp –allow-other –vfs-cache-mode writes –vfs-cache-max-age 1m –allow-non-empty

Crtl+A+D离开screen

此时OneDrive已经挂载到了/mnt/onedrive目录

 

可能遇到一些问题

错误代码:VolumeDriver.Mount: failed to mount FUSE fs: fusermount: exec: “fusermount3”: executable file not found in $PATH

解决:apt-get install fuse3

错误代码:-bash: ./qb_auto.sh: /bin/bash^M: bad interpreter: No such file or directory

解决:

apt-get install dos2unix

dos2unix filename

留下评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注