Reposted from: Improving Work Efficiency-Mac mounts Aliyun disk as local disk
webdav-aliyundriver is used to turn Alibaba cloud disk into a local file server.
CloudMounter is a tool that can be used to mount file servers as local disks.
webdav-aliyundriver installation:
github:https://github.com/messense/aliyundrive-webdav
I prefer to use docker, it feels cleaner.
下载镜像
docker pull messense/aliyundrive-webdav:latest
Get Alibaba Cloud refreshtoken,
-
Open the official website of Alibaba Cloud Disk and log in to the web version: Alibaba Cloud Disk
-
After successful login, press to
F12
open developer tools
Start (I use port 7002, you can change it to something else)
docker run -d --name=aliyundrive-webdav --restart=unless-stopped -p 7002:8080 -v /etc/aliyundrive-webdav/:/etc/aliyundrive-webdav/ -e REFRESH_TOKEN='80a5d72' -e WEBDAV_AUTH_USER=admin -e WEBDAV_AUTH_PASSWORD=admin messense/aliyundrive-webdav:latest
Open Finder > Go > Connect to Server
Enter http://localhost:7002, click Connect, the user name and password are both admin set when it was just started
Download CloudMounter,
Start, select webdav, customize the name, my port is 7002, the url is http://localhost:7002, the username and password are both admin, click mount, and it’s done