messense / aliyundrive-fuse

阿里云盘 FUSE 磁盘挂载
MIT License
966 stars 115 forks source link

谢谢大佬付出,群晖如何搭建? #8

Closed fusang1337 closed 2 years ago

fusang1337 commented 2 years ago

我尝试了pip3 install aliyundrive-fuse可以安装aliyundrive_fuse-0.1.5-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl 但是安装之后输入aliyundrive-fuse 报错-ash: aliyundrive-fuse: command not found

而apt或者yum都报错 root@nas:~# apt-get install -y fuse3 -ash: apt-get: command not found

root@nas:~# yum install -y fuse3 -ash: yum: command not found

fusang1337 commented 2 years ago

fusang@nas:/$ apt-get install -y fuse3 -sh: apt-get: command not found fusang@nas:/$ sudo -i Password: root@nas:~# root@nas:~# root@nas:~# apt-get install -y fuse3 -ash: apt-get: command not found root@nas:~# root@nas:~# yum install -y fuse3 -ash: yum: command not found root@nas:~# root@nas:~# root@nas:~# pip install aliyundrive-fuse -ash: pip: command not found root@nas:~# pip3 install aliyundrive-fuse Collecting aliyundrive-fuse Downloading aliyundrive_fuse-0.1.5-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (2.3 MB) |████████████████████████████████| 2.3 MB 124 kB/s Installing collected packages: aliyundrive-fuse Successfully installed aliyundrive-fuse-0.1.5 root@nas:~# aliyundrive-fuse -ash: aliyundrive-fuse: command not found root@nas:~# root@nas:~# aliyundrive-fuse -ash: aliyundrive-fuse: command not found root@nas:~# root@nas:~# pip3 aliyundrive-fuse ERROR: unknown command "aliyundrive-fuse"

messense commented 2 years ago

没有群晖,你可以请教下 @adminpass https://github.com/messense/aliyundrive-fuse/issues/2

adminpass commented 2 years ago

以下只针对X86平台,ARM平台fuser3没搞到,以下linux通用

1. Releases下载对应版本 aliyundrive-fuse-v0.1.5.x86_64-unknown-linux-musl.tar.gz,解压,拿到 aliyundrive-fuse

2. fuser3依赖(!关键!) fusermount3.zip ,解压到 /usr/bin/fusermount3 , chmod +x走起,/usr/bin/fusermount3 -h 测下

D1044

3. 上传群辉目录,chmod改执行权限,为避免麻烦,root下执行:

./aliyundrive-fuse -r refresh_token -w /var/run/aliyundrive-fuse /volume3/video/阿里云盘/ --allow-other

其中 /volume3/video/阿里云盘/ 为你想挂载的地址(先把目录建好哦)

后台运行,nohup 或者用控制面板->任务计划->新建(root) D1243 D1404

messense commented 2 years ago

Thank you @adminpass

fusang1337 commented 2 years ago

谢谢! @adminpass