To test if the Google Drive works, we need to reboot the workstation and log back in again. Lastly, run $ sudo mount /path/to/your/gdrive to mount your Google Drive Now we run gdfuse#default /drive fuse uid=1000,gid=1000 0 0Ħ. (Remember to change uid and gid and /path/to/your/gdrive in the line below to the values of your username and of the path to your Google Drive folder accordingly.) Now edit /etc/fstab $ sudo nano /etc/fstab Su $username -l -c "google-drive-ocamlfuse -label $1 $*"Ĥ. Copy and paste the following lines into the script changing $username to match your username: Open a Terminal session and create a shell script named gdfuse in /usr/binĢ. These steps indicate the process of mounting Google Drive as a Disk on a Linux server.ġ. When we've done this you should see the files appearing as part of your new ~/Drive folder. The next step is to run mkdir -p ~/Driveġ3. You can then mount your Google Drive folder in your filesystemġ2. Once access has been authorized the web browser will close and you will be returned to your Terminal window. This command will create a folder (~/.gdfuse/default) containing the configuration files for the application and will also open a web browser asking you to confirm that you want the application to access your Google Drive. We open the Terminal from the System Tools & run the command google-drive-ocamlfuse Once this has completed we need to configure google-drive-ocamlfuseġ0. Run apt-get install google-drive-ocamlfuse. Run sudo add-apt-repository ppa:alessandro-strada/ppaĨ. Run sudo -i command for accessing the root directoryĦ. Connect to your instance either through SSH option or use gcloud optionĥ. The following are the steps to mount Google Drive as a Disk on a Linux Server:Ĥ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |