Install Google under Centos/Ubuntu

888u

Last update at :2024-05-08,Edit by888u

See: Gdrive: Synchronize Google Drive files under Linux and automatically back up websites to Google Drive. In fact, Google Drive can also be mounted on Linux, using the Google-drive-ocamlfuse (OCamlfuse) tool.

1. Install Google-drive-ocamlfuse under Centos 7, mount Google Drive1, and install necessary components

yum install -y git yum install -y hg yum install sqlite-devel fuse fuse-devel libcurl-devel zlib-devel m4

2. Install opam

yum install ocaml ocamldoc ocaml-camlp4-devel wget https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh -O - | sh -s /usr/local/bin/ yum install opam init

3. Install google-drive-ocamlfuse

opam install google-drive-ocamlfuse

4. Common commands of google-drive-ocamlfuse

google-drive-ocamlfuse --help

5. Obtain Google Drive API reference: VPS installation Nextcloud, shared Google Drive, BT download

6. Replace client-ID and client-secret with your own.

google-drive-ocamlfuse -headless -label me -id client-ID -secret client-secret

A line of links will appear. Copy and paste them into the browser and open them

7. Mount Google Drive

mkdir /home/google-drive google-drive-ocamlfuse -label me /home/google-drive

2. Install Google-drive-ocamlfuse under Ubuntu 14.04 and mount Google Drive

1. Install google-drive-ocamlfuse

sudo add-apt-repository ppa:alessandro-strada/ppa sudo apt-get update sudo apt-get install google-drive-ocamlfuse

2. Obtain Google Drive API reference: VPS installation Nextcloud, shared Google Drive, BT download

3. Replace client-ID and client-secret with your own.

google-drive-ocamlfuse -headless -label me -id client-ID -secret client-secret

A line of links will appear. Copy and paste them into the browser and open them

4. Mount Google Drive

mkdir /home/google-drive google-drive-ocamlfuse -label me /home/google-drive

The above refers to the following 2 articles: https://github.com/kimduho/linux/wiki/CentOS-7-Google-Drive-mounthttps://www.linode.com/docs/applications/cloud-storage /access-google-drive-linode

Recommended site search: Korean virtual host, mainland China permanent free cloud server, domain name check, Chinese international domain name, server proxy IP, registered domain name, mainland China registration-free host, buy server high defense, Hong Kong domain name registration, free php space ,

Install Google under Centos/Ubuntu

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码