21.07.2015 Views

Linux Journal | December 2012 | Issue 224 - ACM Digital Library

Linux Journal | December 2012 | Issue 224 - ACM Digital Library

Linux Journal | December 2012 | Issue 224 - ACM Digital Library

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INDEPTHstandard C++.As of version 0.2.0, Grive can dotwo-sided synchronization betweenGoogle Drive and the local directory.It can download and upload changedfiles. New directories in Google Driveand the local directory also can bedownloaded/uploaded. It cannot yetdo the following:n Wait for changes in the filesystemto occur and upload the filesafterward. Sync is performed onlywhen you run Grive.n Symbolic link support.n Sync all files/folders withmultiple parents and downloadGoogle Documents.n Support for files >2GB.Those things will be added in thefuture, possibly during the next release.At the time of this writing, you easilycan install Grive in Ubuntu 11.10 orlater using the following commands:system :~$ sudo add-apt-repository ppa:nilarimogard/webupd8system :~$ sudo apt-get updatesystem :~$ sudo apt-get install griveOn other <strong>Linux</strong> distributions, theinstallation is a little involved, as aGrive package is not yet available. Youcan compile it from source.Grive source code is available atGitHub if you want to tinker with it.Setup is a bit of a pain right now,and it requires some command-linework, which is not uncommon in<strong>Linux</strong>. But, I am here to show youhow to install it on RPM-based <strong>Linux</strong>(CentOS, Fedora and Red Hat).For starters, you need a dedicatedmachine or virtual server, as well as areliable Internet connection.In this scenario, let’s use CentOS.As you may know, CentOS is anenterprise-class <strong>Linux</strong> distributionderived from sources freely provided tothe public by the Upstream OS Provider(http://www.redhat.com/rhel).I strongly recommend using CentOS6.0, because CentOS 6.0 has beencompletely rebuilt with a newer buildsystem and library checks to confirmupstream binary compatibility. It alsobrings a new kernel, new versions ofkey server components and improvedvirtualization support.Before you install Grive, you need todo some preparatory work. Note: all thefollowing commands must be run as root.First, update your CentOS. This isoptional, but I strongly recommend it.Run the yum command:[root@system ~]# yum update94 / DECEMBER <strong>2012</strong> / WWW.LINUXJOURNAL.COM

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!