[不花钱站长]:从免费域名开始[0元] Oracle永久免费VPS[0元] VPS环境搭建免费脚本[0元] 秒变大盘挂载免费网盘[0元] 小白免费采集器1天500W[0元] CF免费DNS+CDN服务[0元]
[零基础网赚]:撸本站免费源码[0元] 网站强引免费蜘蛛法[0元] 图片视频文件免费存储[0元] 外链轻松发布免费友链[0元] 入坑免费教程学习源代码[0元] 网上百种+赚钱联盟推荐[?元]

↑↑VPS推荐网 WWW.VPS.COM.IN 稳定 便宜 免备案↑↑


您现在的位置是:首页 > 全球[VPS测评] >  VPS,挂载谷歌,无限网盘,国外永久免费VPS,国外永久免费VPS

VPS挂载谷歌无限网盘指南 附2021年申请方法

全球[VPS测评]来源:VPS推荐网点击:661
【性价之王】 【线路之王】 【价格之王】 【配置之王】
【免费之王】 【香港首推】 【梯子之王】 【独服之王】
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 rclone

rclone常用命令

复制 重启: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]历史优惠活动内容
  • locvps:香港云地多线路BGP云服务器,三网直连,6折终身优惠中,稳定做站必选
  • 极光KVM:4月G口新品发布美国大带宽vps;香港cn2+BGP直连云服务器
  • 月神科技:香港安畅/沙田机房VPS,2核2G10M带宽仅20元/月
  • 快快数据:香港CN2 VPS(5M不限流量),24元/月;美国BGP VPS,16元/月
  • 青云互联:香港荃湾云服务器限时七折,13元/月起;江苏挂机宝vps低至5元/月起
  • 香港服务器怎么选择?最佳性价比香港vps选择方法
  • VoLLCloud:亚太地区香港200M/VPS月付低至3$,年付全场5折/支持测试
  • aoyoyun:傲游主机/傲游vps/傲游云,香港vps,60M大带宽,支持windows,
  • VmShell:香港CMI线路300MBps,KVM架构vps,年付免费升级香港原生IP,三
  • Kvmla:十周年香港/新加坡/日本vps全场年付5折月付8折,新加坡/日本独立服务器85折
  • 详细介绍vps云服务器及其作用
  • 为什么要拥有一台VPS?
  • 什么是VPS?国内VPS有哪些?
  • 性价比最高的VPS网络评测
  • VPS成立BurjeelHoldings
  • 快速云:怎么连接vps?VPS的用途有哪些?
  • 快速云:vps云服务器的区别是什么?2022-08-1913:32来源:快速云网络
  • 言車新车|大阳VPS125混动踏板,长续航,代步通勤9980元起
  • VPS到底有什么用?
  • 快速云:云服务器vps的区别是什么云服务器和vps哪个比较好2022-08-2013:32来
  • 快速云:云服务器和vps区别是什么云服务器和vps哪个比较安全2022-08-1913:20
  • CubeCloud,靠谱的香港cn2vps,美国cn2终身九折,原生IP,58.5元/月起
  • JGKVM促销,美国cn2vps服务器价格再创新低,平均6.5元/月起
  • CubeCloud,香港cn2,美国cn2 gia线路vps主机,2核1G云服务器65元起
  • CombCloud,香港沙田cn2vps终身七折起,高质量网络稳定低延迟
  • 戈登云VPS,6折,充值送50%,香港cn2,美国cn云服务器,2核2G仅468元/年起
  • JGKVM活动钜惠:美国cn2,香港cmi,大带宽vps,三网直连,10元/月起
  • tudcloud,香港沙田大带宽vps特惠7折,CN2+BGP直连,100M带宽
  • MoonVM,香港HKT家宽VPS服务器,动态IP一键切换,1G带宽任意跑
  • 亚当云怎么样?香港安畅cn2vps带宽10M月付28元
  • 桔子数据怎么样?便宜香港安畅CN2 VPS1核1G10M 28/月
  • 野草云怎么样?香港、美国圣何塞高防VPS 1核1G3M 月付19元
  • 瓜云互联怎么样?香港/美国洛杉矶CN2高防vps 50G月付34元
  • 冀青云怎么样?香港CN2-GIA vps月28元/香港NTT 月9元
  • 全球云lovps,香港CN2线路vps 新品七折月付49元
  • EdgeNAT,香港CN2+BGP vps 带宽5M 月付72元
  • 老六云怎么样?香港cn2vps月付23元香港NTT月付9.9元
  • 印象云怎么样?85折香港安畅CN2vps带宽3M月付23元
  • btcvps,比特云怎么样?香港VPS,KVM架构带宽4M月付88港币
  • 磐逸云怎么样?CN2线路香港VPS月付20元
  • 轻云互联,香港VPS月付22元 美国VPS月付19元
  • 日主机,便宜美国CN2高防VPS¥19/月起,1Gbps带宽,香港多IP站群VPS销售
  • 桔子数据,香港安畅BGP大带宽VPS 首月五折体验 三网直连 14元/月
  • 极客主机,优惠8折充值返25%,香港CN2VPS,日本软银VPS,新加坡CN2VPS,美国高
  • CMCUCT:2核2GB/20GB香港ntt线路vps 6TB流量/1Gbps/原生IP 2
  • 阁天互联怎么样?香港cn2云服务器 圣何塞cn2vps仅20/月
  • 无忧云怎么样?大连BGP德阳100G高防香港CN2VPS云服务器
  • 源云主机,香港沙田VPS CN2 1核1G 24/月 NTT 50M 9.9/月
  • 七安云怎么样?香港CN2+BGP线路VPS 1核1G10M 16/月
  • 九零云怎么样?香港将军澳VPS,美国圣何塞VPS 2核1G10M 47/月
  • 咖啡主机怎么样?美国洛杉矶高防vps,cn2直连,香港沙田vps
  • hostkvm怎么样?香港云vps 带宽30M 月付6美元
  • JGKVM(极光kvm),便宜香港VPS(5G防御秒解),极光互联vps,月付10.75元起
  • CombCloud,香港沙田CN2VPS测评,2核1G52元/月,安畅CN2 GIA VPS
  • LOCVPS,全新香港大浦CN2 VPS 2核4G内存3M仅54/月
  • 磐逸云怎么样?1核1G香港安畅CN2 VPS带宽5M年付128元
  • 麻花云怎么样?安徽移动VPS月付29元 香港VPS 2M月付21元
  • 宏海数据9.9云服务器:香港VPS CN2线路1核1G 9.9/首月
  • earidc怎么样?香港三网cn2vps带宽1M月付29元
  • UOVZ怎么样?香港30M大带宽VPS 直连线路月付50元

  • 猜你可能想看的VPS


    转载请注明原文地址: http://140.238.13.167:12355/read-189927.html

    下一篇       上一篇