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 m42. 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 init3. Install google-drive-ocamlfuse
opam install google-drive-ocamlfuse4. Common commands of google-drive-ocamlfuse
google-drive-ocamlfuse --help5. 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-secretA 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-drive2. 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-ocamlfuse2. 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-secretA 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-driveThe 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 ,
发表评论