# 创建新远程 No remotes found, make a new one? n) New remote s) Set configuration password q) Quit config n/s/q> n #这里选择n
# 设置名字 name> alist 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
# 设置远程地址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:5244/dav #这里设置alist的地址和端口,后面要带dav
# 选择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://127.0.0.1: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退出设置