# 进入rclone设置 rclone config # 选择新远程 No remotes found, make a new one? n) New remote s) Set configuration password q) Quit config n/s/q> n #这里选择n # 设置名字 name> cloud Type of storage to configure. Choose a number from below, or type in your own value [snip] XX / WebDAV \ "webdav" [snip] Storage> webdav #这里输入webdav,也可以选择有个webdav的字段XX(55) # 设置远程地址url http://your_alist_ip:port/dav URL of http host to connect to Choose a number from below, or type in your own value 1 / Connect to example.com \ "https://example.com" url> http://127.0.0.1:8081/dav #这里设置alist的地址和端口,后面要带dav,http://ip:端口/dav/,记得替换为ip和端口,我的是本地的IP+端口 # 这里选6 选择带有other的字段 Name of the WebDAV site/service/software you are using Choose a number from below, or type in your own value 1 / Fastmail Files \ (fastmail) 2 / Nextcloud \ (nextcloud) 3 / Owncloud \ (owncloud) 4 / Sharepoint Online, authenticated by Microsoft account \ (sharepoint) 5 / Sharepoint with NTLM authentication, usually self-hosted or on-premises \ (sharepoint-ntlm) 6 / Other site/service or software \ (other) vendor> 6 # 设置远程账号 User name user> admin #alist的账号 # 设置远程密码 Password. y) Yes type in my own password g) Generate random password n) No leave this optional password blank y/g/n> y #这里输入y Enter the password: #alist密码,密码是看不到的 password: Confirm the password: #再次输入密码 password: # 这里直接回车即可 Bearer token instead of user/pass (e.g. a Macaroon) bearer_token>
# 这里可能会问你是默认还是高级 Edit advanced config? y) Yes n) No (default) y/n> n #选择n
#后面的回车即可 # 你的远程信息 -------------------- [remote] type = webdav url = http://#.#.#.#:5244/dav/ vendor = Other user = admin pass = *** ENCRYPTED *** -------------------- # 确认 y) Yes this is OK e) Edit this remote d) Delete this remote y/e/d> y #输入y即可, # 最后按q退出设置
3 查询十分安装fuse和fuse3(无需安装版)
1 2 3
which fusermount3 #看到下面为y无需安装fuse grep FUSE /boot/config-$(uname -r)
1 2
CONFIG_FUSE_FS=y CONFIG_FUSE_DAX=y
注意设置user_allow_other没有被注释掉
1
vim /etc/fuse.conf
4 安装fuse3(需安装版)
fuse3 是 Filesystem in Userspace(用户空间文件系统)的第三个主要版本,它提供了一种机制,允许非特权用户创建自己的文件系统而无需修改内核代码。与之前的版本相比,fuse3 提供了改进的性能、更好的并发处理能力以及更现代化的API支持。如果您打算使用Rclone挂载云存储(如天翼云盘),并且您的Linux发行版支持fuse3,那么安装和配置fuse3可能是有益的。