安装gclone: ```shell bash <(wget -qO- https://git.io/gclone.sh) ``` 安装所需组件: ```shell yum install fuse & apt-get install fuse ``` 开始配置gclone: ```shell gclone config ``` ``` 1:输入 n 新建配置 2:输入配置名称 3:选择 13 Google Drive 4:client_id、client_secret、可以直接回车跳过使用默认公共api,但最好自己申请个api最稳,毕竟默认公用api容易炸。 5:之后出现的是设置对网盘文件的操作权限,1是完全读写所有文件,2是只读文件。按照你需要的设置。 6:root_folder_id、service_account_file> 、可以直接回车跳过 7:Use auto config? 输入 N 回车 8:得到一个链接,打开后登陆谷歌drive获得授权秘匙,并复制过去配置回车 9:接下来(Configure this as a team drive?)按需选择,然后(确认配置)Y回车,完成配置文件按Q回车离开。 ``` 挂载命令: ```shell rclone mount 配置名称: /www/挂载路径 --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000 & ``` treesky 2023-01-26 上一篇: CentOS 7安装bbr加速网络 下一篇: CentOS7更改DNS 评论已关闭
评论已关闭