共计 12948 个字符,预计需要花费 33 分钟才能阅读完成。
提醒:本文最后更新于 2021-12-18 13:41,文中所关联的信息可能已发生改变,请知悉!
获取 OneDrive 授权
在 Windows 电脑上下载 Rclone,下载地址:https://rclone.org/downloads 然后解压至 D 盘根目录,将文件夹重新命名为 rclone,按下键盘 Win+R,然后输入 cmd,确定;在出现的命令框中依次输入以下命令:
cd /d d:\rclone
rclone authorize "onedrive"
输入完成后会弹出网页,选择或输入你需要挂载的 OneDrive 网盘账号和密码,然后等待授权完成;
CentOS 安装 Rclone
直接使用官方的一键安装命令即可,输入下面的命令:
curl https://rclone.org/install.sh | sudo bash
CentOS 挂载 Onedrive
开始配置
rclone config
详细配置过程
[root@localhost ~]# 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> onedrive #随便填,后面要用到
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
1 / 1Fichier
\ "fichier"
2 / Alias for an existing remote
\ "alias"
3 / Amazon Drive
\ "amazon cloud drive"
4 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, and Tencent COS
\ "s3"
5 / Backblaze B2
\ "b2"
6 / Box
\ "box"
7 / Cache a remote
\ "cache"
8 / Citrix Sharefile
\ "sharefile"
9 / Compress a remote
\ "compress"
10 / Dropbox
\ "dropbox"
11 / Encrypt/Decrypt a remote
\ "crypt"
12 / Enterprise File Fabric
\ "filefabric"
13 / FTP Connection
\ "ftp"
14 / Google Cloud Storage (this is not Google Drive)
\ "google cloud storage"
15 / Google Drive
\ "drive"
16 / Google Photos
\ "google photos"
17 / Hadoop distributed file system
\ "hdfs"
18 / Hubic
\ "hubic"
19 / In memory object storage system.
\ "memory"
20 / Jottacloud
\ "jottacloud"
21 / Koofr
\ "koofr"
22 / Local Disk
\ "local"
23 / Mail.ru Cloud
\ "mailru"
24 / Mega
\ "mega"
25 / Microsoft Azure Blob Storage
\ "azureblob"
26 / Microsoft OneDrive
\ "onedrive"
27 / OpenDrive
\ "opendrive"
28 / OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
\ "swift"
29 / Pcloud
\ "pcloud"
30 / Put.io
\ "putio"
31 / QingCloud Object Storage
\ "qingstor"
32 / SSH/SFTP Connection
\ "sftp"
33 / Sugarsync
\ "sugarsync"
34 / Tardigrade Decentralized Cloud Storage
\ "tardigrade"
35 / Transparently chunk/split large files
\ "chunker"
36 / Union merges the contents of several upstream fs
\ "union"
37 / Webdav
\ "webdav"
38 / Yandex Disk
\ "yandex"
39 / Zoho
\ "zoho"
40 / http Connection
\ "http"
41 / premiumize.me
\ "premiumizeme"
42 / seafile
\ "seafile"
Storage> 26 #选择26,Microsoft OneDrive,,注意该序列号会随时变化
** See help for onedrive backend at: https://rclone.org/onedrive/ **
OAuth Client Id
Leave blank normally.
Enter a string value. Press Enter for the default ("").
client_id> 留空,回车
OAuth Client Secret
Leave blank normally.
Enter a string value. Press Enter for the default ("").
client_secret> 留空,回车
Choose national cloud region for OneDrive.
Enter a string value. Press Enter for the default ("global").
Choose a number from below, or type in your own value
1 / Microsoft Cloud Global
\ "global"
2 / Microsoft Cloud for US Government
\ "us"
3 / Microsoft Cloud Germany
\ "de"
4 / Azure and Office 365 operated by 21Vianet in China
\ "cn"
region> global 选择 global
Edit advanced config? (y/n)
y) Yes
n) No (default)
y/n> n 选择 n
Remote config
Use auto config?
* Say Y if not sure
* Say N if you are working on a remote or headless machine
y) Yes (default)
n) No
y/n> n 选择 n
For this to work, you will need rclone available on a machine that has
a web browser available.
For more help and alternate methods see: https://rclone.org/remote_setup/
Execute the following on the machine with the web browser (same rclone
version recommended):
rclone authorize "onedrive"
Then paste the result below:
result> {"access_token":"eyJ0eXAiOdoWHNsOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9kN2U5OWZjNS1kNzUxLTQ2YjktYjgxYy05NjY4Yzg1YzhjNGEvIiwiaWF0IjoxNjE2NzE2NTMyLCJ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yHliRzce-gYjqpJwwL_ap4sgup1fRvkCn2CV5FyV5gyPAfkkubDbUT6wTZtwSxVL8ex9rXqdsmGmiF3TnxshoxuXntfR-TT6","expiry":"2021-03-26T09:00:34.4762007+08:00"}
输入上面保存的 token
Choose a number from below, or type in an existing value
1 / OneDrive Personal or Business
\ "onedrive"
2 / Root Sharepoint site
\ "sharepoint"
3 / Sharepoint site name or URL (e.g. mysite or https://contoso.sharepoint.com/sites/mysite)
\ "url"
4 / Search for a Sharepoint site
\ "search"
5 / Type in driveID (advanced)
\ "driveid"
6 / Type in SiteID (advanced)
\ "siteid"
7 / Sharepoint server-relative path (advanced, e.g. /teams/hr)
\ "path"
Your choice> 1 选择 1 "onedrive"
Found 1 drives, please select the one you want to use:
0: OneDrive (business) id=b!whRfxdDnzUqG_WUVTYQLws8iilx7rJ5Mi16mL8_86V0yHbFk7vKqTK38DXrzyJVp
Chose drive to use:> 0 选择 0 OneDrive (business) 我这里只有一个选项
Found drive 'root' of type 'business', URL: https://shuidl-my.sharepoint.com/personal/simone_shuidl_onmicrosoft_com/Documents
Is that okay?
y) Yes (default)
n) No
y/n> y 选择 y
--------------------
[onedrive]
type = onedrive
region = global
token = {"access_token":"eyhFZyJ9.eyJhdWQiOiIcyzhjNGEmV4cCI6MTYxNjcyMDQzMiwiYWNjdCI6MCwiYWNyIjoiMSIsImFjcnMiOlsidXJuOnVzZXI6cmVnaXN0ZXJzZWN1cml0eWluZm8iLCJ1cm46bWljcm9zb2Z0OnJlcTEiLCJ1cm46bWljcm9zb2Z0OnJlcTIiLCJ1cm46bWljcm9zb2Z0OnJlcTMiLCJjMSIsImMyIiwiYzMiLCJjNCIsImM1IiwiYzYiLCJjNyIsImM4IiwiYzkiLCJjMTAiLCJjMTEiLCJjMTIiLCJjMTMiLCJjMTQiLCJjMTUiLCJjMTYiLCJjMTciLCJjMTgiLCJjMTkiLCJjMjAiLCJjMjEiLCJjMjIiLCJjMjMiLCJjMjQiLCJjMjUiXSwiYWlvIjoi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_LqL3FK3QqyoKk2quFiMWUB7peAO4hGER0zb4NblB5G_GWU88OCzTNdpJNlRLilSQGvxmI9hQo2XBXpgxffbdl3OdHnCmDuREt49cX4JP53RPbZ9nRDM5aXzvw26H7NAQgyghrQVKSOk6ZkbBGhr47NCHNAnyhskNGULtbtdV606ecUoZn2uvsl83YIwefQWHeCDCNbqaV10MmEHg-lQ6vshEqp3L0gu29coLCEwuwiif-8ZW4PxC-3JS68PhjEiTuPGYYWIdjt3Isr4WRGyR3txwIE4kC35fkDy0ZTEQV5y17DxoMnubMQRJpow7neOXMm-TVkEs-MKt_BShtM6zdcHYUYVd3p41_fbPhbRcasFO8jL2nv6Bi6MoGp-HcXBEvzJUAo7-h9iX68rO6ReYlCVUbXa7s_pteIZfKz1g2mOmn_EftjlyCB8LORjRuszbpLONkX2gdcrNThZNydVN3ngRjnnoNyBJ3HgDsHnepAidJOxOCc-QCATB7wL2fh5ALxpG97a05AkVqkg6Wx4HOFHvuqMbQtGifoSCND5qcBMrxTjLiuQ52TUKxvTP9cHJ6pRhtnAVXAi3c5x0UBIVSvysNyLW9oVygFUpNf0HPYDmjS2Gl9NuTwjP1fOdvt6fXURUa6YqJh2KtoDMeph5DQVnVokMiAyHliRzce-gYjqpJwwL_ap4sgup1fRvkCn2CV5FyV5gyPAfkkubDbUT6wTZtwSxVL8ex9rXqdsmGmiF3TnxshoxuXntfR-TT6","expiry":"2021-03-26T09:00:34.4762007+08:00"}
drive_id = b!whRfxdDnzUqG_WUVTYQLws8iilx7rJ5Mi16mL8_86V0yHbFk7vKqTK38DXrzyJVp
drive_type = business
--------------------
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y 选择 y
Current remotes:
Name Type
==== ====
onedrive onedrive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q 选择 q 退出
挂载 onedrive
新建本地文件夹,路径自己定,即下面的 LocalFolder
mkdir /root/OneDrive
#挂载为磁盘,下面的 DriveName、Folder、LocalFolder 参数根据说明自行替换
rclone mount DriveName:Folder LocalFolder --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000
举例
rclone mount onedrive:/btdrive /root/OneDrive --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000
DriveName 为初始化配置填的 name,Folder 为 OneDrive 里的文件夹,LocalFolder 为 VPS 上的本地文件夹。
如果挂载过程中出现 NOTICE: One drive root ‘test’: poll-interval is not supported by this remote 错误,可以无视该错误。
运行命令的时候会卡住,重新再打开一个窗口输入 df -h
命令查看即可!
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 966M 0 966M 0% /dev
tmpfs 979M 0 979M 0% /dev/shm
tmpfs 979M 105M 874M 11% /run
tmpfs 979M 0 979M 0% /sys/fs/cgroup
/dev/mapper/centos-root 2.0T 889G 1.1T 45% /
/dev/xvda1 235M 228M 6.7M 98% /boot
tmpfs 196M 0 196M 0% /run/user/0
onedrive:btdrive 4.9T 113G 4.8T 3% /root/OneDrive #挂载成功
tmpfs 196M 0 196M 0% /run/user/997
若出现以下错误,
2021/12/18 13:27:07 Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount": executable file not found in $PATH
则需要 安装 fuse package
yum install fuse
宝塔守护运行
宝塔面板安装一个 Supervisor 管理器,具体部署如下:
安装 Supervisor 管理器,软件商店自行搜索安装
启动命令:注意修改为自己的路径,就是上面的挂载命令
rclone mount onedrive:/btdrive /root/OneDrive --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000
效果
卸载
如果要卸载,使用 rclone config
命令来完成。
[root@hostf68 ~]# rclone config
Current remotes:
Name Type
==== ====
onedrive onedrive
sharepoint onedrive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> d
Choose a number from below, or type in an existing value
1 > onedrive
2 > sharepoint
remote> 2
Current remotes:
Name Type
==== ====
onedrive onedrive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q
同时 Supervisor 管理器中删除你的守护进程。
参考文章
https://www.moerats.com/archives/491/
https://www.daniao.org/12262.html
https://www.xiaoz.me/archives/10397
https://www.cnbugs.com/post-1961.html