三、配置rclone [email protected][~]# rclone config 2022/01/18 14:12:40 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found – using defaults No remotes found – make a new one n) New remote s) Set configuration password q) Quit config n/s/q> n name> aliyundriver Option Storage. Type of storage to configure. Enter a string value. Press Enter for the default (""). Choose a number from below, or type in your own value. 39 / Uptobox "uptobox" 40 / Webdav "webdav" 41 / Yandex Disk "yandex" Storage> 40 Option url. URL of http host to connect to. E.g. https://example.com. Enter a string value. Press Enter for the default (""). url> http://10.0.0.10:8080/ #阿里云盘webdav地址,就是你的服务器的地址+端口 Option vendor. Name of the Webdav site/service/software you are using. Enter a string value. Press Enter for the default (""). Choose a number from below, or type in your own value. 1 / Nextcloud "nextcloud" 2 / Owncloud "owncloud" 3 / Sharepoint Online, authenticated by Microsoft account "sharepoint" 4 / Sharepoint with NTLM authentication, usually self-hosted or on-premises "sharepoint-ntlm" 5 / Other site/service or software "other" vendor> 5 Option user. User name. In case NTLM authentication is used, the username should be in the format ‘DomainUser’. Enter a string value. Press Enter for the default (""). user> admin Option pass. Password. Choose an alternative below. Press Enter for the default (n). y) Yes type in my own password g) Generate random password n) No leave this optional password blank (default) y/g/n> y Enter the password: password: #用户名账号和密码我自己是设置的和webdav一样的,也许可以随便设置,我没尝试 Confirm the password: password: Option bearer_token. Bearer token instead of user/pass (e.g. a Macaroon). Enter a string value. Press Enter for the default (""). bearer_token> Edit advanced config? y) Yes n) No (default) y/n> n ——————– [alidriver] type = webdav url = http://10.0.0.10:8880/ vendor = other user = admin pass = *** ENCRYPTED *** ——————– y) Yes this is OK (default) e) Edit this remote d) Delete this remote y/e/d> y Current remotes: Name Type ==== ==== aliyundriver webdav #记住你设置的name e) Edit existing remote n) New remote d) Delete remote r) Rename remote c) remote s) Set configuration password q) Quit config e/n/d/r/c/s/q> q