1. Server download alist
There is a docker environment by default
docker pull xhofe/alist
2. Generate container
-v /home/alist:/opt/alist/data
This means that the data in alist is mapped to the folder of the docker host. /home/alist is the folder of my host. This folder must be created first.
docker run -d --restart=always -v /home/alist:/opt/alist/data -p 5244:5244 -e PUID=0 -e PGID=0 -e UMASK=022 --name="alist" xhofe/alist:latest
3. Open 5244 access to the server
4. Obtain Alist’s initial login password
docker exec -it alist ./alist admin
5. Log in to the web server and enter your account and password
http://ip:5244
6. Configure Quark server
- Click Manage at the bottom
- Click-Save-Add
- Choose Quark driver, or other network disks
https://alist.nn.ci/zh/guide/#support-storage This address contains all the settings that support network disk. Here I will only demonstrate the Quark network disk.
There are only a few places to fill in
Just fill in everything except the cookies. Now let’s talk about how to obtain Quark’s cookies.
First log in to the web version of Quark: address https://pan.quark.cn/
Press F12, click Network/NetWork, right-click the page to refresh, then find the request starting with sort in the request, and then find the cookie in the bid and copy it
Then click on the home page in the lower left corner and you will see our network disk. It will synchronize for a while at the beginning. It is normal that there is no content.
7.Hang from server to local
My computer is a mac, so I use the software CloundMounter. If you have windows, you can use other hanging software. The software CloundMounter is currently available for download in the appStore.
http://ip:5244/dav/ Be sure to add /dav/ at the end, otherwise it will not succeed.
You can see that there is a network disk mounted locally.
If you don’t have a server, you can read this article if you want to install alist locally.
https://zhuanlan.zhihu.com/p/612368639