
Useful tool if you want to mount your Google Drive on your favorite Linux distro. I have tested it on an Ubuntu workstation (latest stable release). Be sure Google Chrome or firefox are installed.
The installation steps are quite simple:
- if you don’t have add-apt-repository on your workstation, install it:
sudo apt-get install software-properties-common - If a proxy is configured to access the internet, a few steps are required to make add-apt-repository works properly:
define the http_proxy and https_proxy variable (change the ip address/port according to the proxy configuration):
set http_proxy=”http://user:password@1.2.3.4:1234/”
set https_proxy=”http://user:password@1.2.3.4:1234/” - ready to add the custom repository:
if no proxy is used, use this command
sudo add-apt-repository ppa:alessandro-strada/ppa
or
if the variable http_proxy/https_proxy are set, use this command
sudo -E add-apt-repository ppa:alessandro-strada/ppa - update apt repository
sudo apt-get update - install google-drive-ocamlfuse
sudo apt-get install google-drive-ocamlfuse
When the installation is finished, the setup is also simple:
launch google-drive-ocamlfuse from cli
$ google-drive-ocamlfuse
Depending your configuration, Chrome or Firefox browser will be launched. After that, follow the steps to authorize google-drive-ocamlfuse
Configuration is now ok. The last step: mount your google drive
$ mkdir GoogleDriveFolder
$ google-drive-ocamlfuse GoogleDriveFolder/
That’s all !
My Powershell script categories
- Active Directory
- Cluster
- Database
- Exchange
- Files and folders
- Hardware
- Network
- Operating System
- PKI
- SCCM
- Service and process
- Tips
- VMWare
Reference
Mount a Google drive under Linux