VPS挂载谷歌无限网盘指南 附2021年申请方法
![]() | ![]() | ![]() | ![]() |
| 【性价之王】 | 【线路之王】 | 【价格之王】 | 【配置之王】 |
| 【免费之王】 | 【香港首推】 | 【梯子之王】 | 【独服之王】 |

今天来说一说如何申请谷歌团队盘,并且把团队盘挂载到你的VPS上,挂载后可以安装离线下载,影音库等等。下面就让全球主机测评小编来带大家了解一下吧。
简介虽然谷歌盘对网盘进行一系列的搬运限制,但是无限容量的谷歌盘还是对个人来说有很大的作用,只要不滥用还是可以长期使用的。
我们首先看一下如何挂载谷歌网盘。
首先在vps上安装x***
一、申请无限空间谷歌团队盘2021年谷歌团队盘申请网址
关注微信公众号后台回复关键字“谷歌团队盘”获取
二、Rclone挂载谷歌团队盘rclone官方网站:
公众号后台回复关键字“谷歌团队盘”获取
centos系统为例
必要升级
复制 yum update && yum upgrade安装命令
复制curl https://rclone.org/install.sh | sudo bash配置rclone
复制 rclone config开始配置
复制n) New remote s) Set configuration password q) Quit config n/s/q> n #输入n回车,新建配置 name> gd #新建配置的名称,随意填写,后面会用到 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 Provider (AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, etc) "s3" 5 / Backblaze B2 "b2" 6 / Box "box" 7 / Cache a remote "cache" 8 / Dropbox "dropbox" 9 / Encrypt/Decrypt a remote "crypt" 10 / FTP Connection "ftp" 11 / Google Cloud Storage (this is not Google Drive) "google cloud storage" 12 / Google Drive "drive" 13 / Google Photos "google photos" 14 / Hubic "hubic" 15 / JottaCloud "jottacloud" 16 / Koofr "koofr" 17 / Local Disk "local" 18 / Mega "mega" 19 / Microsoft Azure Blob Storage "azureblob" 20 / Microsoft OneDrive "onedrive" 21 / OpenDrive "opendrive" 22 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH) "swift" 23 / Pcloud "pcloud" 24 / Put.io "putio" 25 / QingCloud Object Storage "qingstor" 26 / SSH/SFTP Connection "sftp" 27 / Union merges the contents of several remotes "union" 28 / Webdav "webdav" 29 / Yandex Disk "yandex" 30 / http Connection "http" 31 / premiumize.me "premiumizeme" Storage> 12 #选择需要挂载的网盘 ** See help for drive backend at: https://rclone.org/drive/ ** Google Application Client Id Setting your own is recommended. See https://rclone.org/drive/#making-your-own-client-id for how to create your own. If you leave this blank, it will use an internal key which is low performance. Enter a string value. Press Enter for the default (""). client_id> #默认直接回车,或者输入自己的OAuth ID Google Application Client Secret Setting your own is recommended. Enter a string value. Press Enter for the default (""). client_secret> #默认直接回车,或者输入自己的OAuth秘锁 Scope that rclone should use when requesting access from drive. Enter a string value. Press Enter for the default (""). Choose a number from below, or type in your own value 1 / Full access all files, excluding Application Data Folder. "drive" 2 / Read-only access to file metadata and file contents. "drive.readonly" / Access to files created by rclone only. 3 | These are visible in the drive website. | File authorization is revoked when the user deauthorizes the app. "drive.file" / Allows read and write access to the Application Data folder. 4 | This is not visible in the drive website. "drive.appfolder" / Allows read-only access to file metadata but 5 | does not allow any access to read or download file content. "drive.metadata.readonly" scope> 1 #默认输入1回车 ID of the root folder Leave blank normally. Fill in to access "Computers" folders. (see docs). Enter a string value. Press Enter for the default (""). root_folder_id> #默认直接回车 Service Account Credentials JSON file path Leave blank normally. Needed only if you want use SA instead of interactive login. Enter a string value. Press Enter for the default (""). service_account_file> Edit advanced config? (y/n) y) Yes n) No 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 n) No y/n> n #是否使用自动配置,输入n回车 If your browser doesn't open automatically go to the following link: https://accounts.google.com/o/oauth2/XXX Log in and authorize rclone for access Enter verification code> XXXX #复制上面的链接在浏览器中打开,将得到的授权码复制到这里后回车 Configure this as a team drive? y) Yes n) No y/n> y #是否挂载团队网盘,如果没有输入n回车,需要挂载团队版输入y回车 Fetching team drive list... Choose a number from below, or type in your own value 1 / SunPma "0ADYACmKjlU3JUk9PVA" Enter a Team Drive ID> 1 #选择你需要挂载的团队盘然后回车 -------------------- [SUNPMAGD] type = drive scope = drive token = {"access_token":"XXX","expiry":"2019-10-23T14:32:06.481207275+08:00"} team_drive = 0ADYACmKjlU3JUk9PVA -------------------- y) Yes this is OK e) Edit this remote d) Delete this remote y/e/d> y #默认输入y回车 Current remotes: Name Type ==== ==== SUNPMAGD drive 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回车,保存配置退出新建本地挂载文件夹
复制 mkdir /home/gd挂载磁盘命令说明
复制 #/usr/bin/rclone mount DriveName:Folder LocalFolder 下面整体代码中最上面的这条需要自己修改,不要直接复制,注意代码中有空格 DriveName #配置时填写的name Folder #网盘里要挂载的文件夹名 LocalFolder #本地要挂载的文件夹绝对路径 例:/usr/bin/rclone mount gd: /home/gd挂载
复制#下面代码是一个整体,全部复制后粘贴运行 /usr/bin/rclone mount gd: /home/gd --umask 0000 --default-permissions --allow-non-empty --allow-other --transfers 1 --buffer-size 64M --low-level-retries 200 --dir-cache-time 12h --vfs-read-chunk-size 32M --vfs-read-chunk-size-limit 1G #如果你还涉及到读取使用,比如使用H5ai等在线播放,就在后面多加上最后三条参数参数说明
复制--transfers:该参数是最大同时传输任务数量,如果经常传输大文件,或CPU性能不佳,建议设置为单线程,也就是设置为“1” --buffer-size:该参数为读取每个文件时的内存缓冲区大小,控制rclone上传和挂载的时候的内存占用 --low-level-retries:该参数为传输文件没速度的时候重试次数,没速度的时候,单个会自动睡眠10ms起,然后再重试如果挂载时候出错如下图:
如果出错安装fuse
复制 yum install fuse查看是否成功
复制 df -h如下图显示gd 挂载成功
找到/etc/systemd/system ,在里面新建一个名为 rclone.service 的文件,文件的完整路径为 /etc/systemd/system/rclone.service 然后在文件中填入以下代码。
复制 [Unit] Description=Rclone AssertPathIsDirectory=/home/gd After=network-online.target [Service] Type=simple ExecStart=/usr/bin/rclone mount gd: /home/gd --umask 0000 --default-permissions --allow-non-empty --allow-other --transfers 1 --buffer-size 64M --low-level-retries 200 --dir-cache-time 12h --vfs-read-chunk-size 32M --vfs-read-chunk-size-limit 1G ExecStop=/bin/fusermount -u /home/gd Restart=on-abort User=root [Install] WantedBy=default.target启动rclone
复制 systemctl start rclone开机启动rclone
复制 systemctl enable rclonerclone常用命令
复制 重启:systemctl restart rclone 停止:systemctl stop rclone 状态:systemctl status rclone另外备注:如果你想要用宝塔面板安装可道云网盘的web管理界面,那就把谷歌盘挂载在可道云下面!只需要修改开机配置文件如下
复制[Unit]Description=RcloneAssertPathIsDirectory=/www/wwwroot/你的域名/data/User/admin/home/gdAfter=network-online.target[Service]Type=simpleExecStart=/usr/bin/rclone mount gd: /www/wwwroot/你的域名/data/User/admin/home/gd --umask 0000 --default-permissions --allow-non-empty --allow-other --transfers 1 --buffer-size 64M --low-level-retries 200 --dir-cache-time 12h --vfs-read-chunk-size 32M --vfs-read-chunk-size-limit 1GExecStop=/bin/fusermount -u /www/wwwroot/你的域名/data/User/admin/home/gdRestart=on-abortUser=root[Install]WantedBy=default.target微信扫码关注全球主机测评微信公众号,我们将为您提供更多最新最全最专业的行业资讯以及主机促销活动
[VPS]历史优惠活动内容
猜你可能想看的VPS
- Bootstrap fileinput 插件实现批量上传一次请求的办法全球[VPS测评]
- [11.11]HostDare 八折→洛杉矶 CN2 GIA 线路 KV全球[VPS测评]
- XXMhost 洛杉矶安畅 CN2 GIA VPS 速度及综合性能测评,美国VPS[主机]
- 开心果 app 0 撸实物。全球[VPS测评]
- 促销 DediPath→ 不限流量 VPS 全场 6 折优惠 Hybri全球[VPS测评]
- 双十一 腾讯云智惠上云提前购→1 核 2G 套餐年付 88 元 2 核 全球[VPS测评]
- 极安主机→CDN 有新加坡 韩国 香港 美国等节点 5Mbps 带宽 不韩国VPS[主机]
- 线路不行-海星云香港大浦 NTT 机房 KVM VPS 服务器上新 电信香港VPS[主机]
- 便宜 ¥119.8 年 1 核 512M 内存 10G SSD 1000全球[VPS测评]
- hostmem→$36 年 KVM 2G 内存 2 核 240g 硬盘 全球[VPS测评]
- Amazon CloudFront→香港 日本 韩国 台湾等 CDN 服日本VPS[主机]
- 景文互联→日本服务器月付 900 元起 软银+CN2 线路 快速上架日本VPS[主机]
- RAKsmart 服务器限量秒杀,40G防御仅99刀,洛杉矶新品预售,美全球[VPS测评]
- 解决Debian9系统环境中文乱码的问题 检查设置UTF-8编码全球[VPS测评]
- WordPress插件:WP User Avatar修改默认头像全球[VPS测评]
- 如何通过巧用WordPress Trackbacks和Pingbacks全球[VPS测评]
- V5 Server香港阿里云/荃湾服务器新客户首单七折终身优惠月付最低3香港VPS[主机]
- XHOSTFIRE-7$月付起 750GB1Gbps 韩国KT 俄罗斯伯韩国VPS[主机]
- NicoVM → 618 促销小鸡评测全球[VPS测评]
- Wikihost(idc.wiki) CN2 GIA虚拟主机 → 65全球[VPS测评]
- 快车道 圣何塞 香港IP HE线路 解锁香港美国流媒体美国VPS[主机]
- 74块钱一年的云服务器可以用来做什么?全球[VPS测评]
- 精美的宠物医院网站WordPress主题 - Valkuta全球[VPS测评]
- 影速科技怎么样?影速科技海外云服务器价格多少钱?全球[VPS测评]
- 如何更改WHMCS默认后台路径让WHMCS系统更安全全球[VPS测评]
- 酷锐云:元旦钜惠_美国CN2VPS低至20元/月_1核2G香港云主机低至美国VPS[主机]
- Aoyohost:1核1GB/20GB/600GB流量/60Mbps端口香港VPS[主机]
- tmhhost:香港CN2/NNT,美国CN2 GIA VPS,韩国CN韩国VPS[主机]
- 什么是Bootstrap?全球[VPS测评]
- 零云数据:辽宁BPG云服务器,19元/月起,防50G;香港CN2路线vp香港VPS[主机]
转载请注明原文地址:http://140.238.13.167:12355/read-187698.html











