Dropbox is a file storing service which syncronises across all your devices for quick and easy access to your stored files.
It has a free service that lets you bring all your photos, docs, and videos anywhere. This means that any file you save to your Dropbox will automatically save to all your computers, phones and the Dropbox website.
Dropbox also makes it easy to share with others, whether you're a student or professional. You can relax knowing none of your important files will ever be lost.
Initial free storage is 2GB but this can be increased by taking part in a few simple challenges and recommending friends to the service. It can easily be raised to around 3-5GB depending on how many friends you have.
Installing it, setting up and using it on Centos 6/RHEL is simple to do with just 2 commands. Make sure you have wget first though.
$ sudo yum -y install wget
For 32 bit systems
$ cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -
For 64 bit systems
$ cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
This will install Dropbox on your system with hidden folders in your home directory and a main Dropbox folder.
Now we run the Dropbox daemon
$ ~/.dropbox-dist/dropboxd
This starts the daemon and a series of dialogue boxes to set up your preferences and other details.
There is also a little python script which you can use to control the daemon if you wish, download it from dropbox.py
and run it as an unprivileged user (after making it executable).$ chmod u+x dropbox.py
$ ./dropbox.py start start the daemon
$ ./dropbox.py stop stop the daemon
$ ./dropbox.py help other commands
You would probably use the start function most of the time, as to stop it you can just exit the icon which appears in the system tray.
One of the first things to do is put the KeepassX password database file in the Dropbox folder, which I'd definitely recommend doing, as this will be synced regularly by the application so whenever you add a new password it is available from any device on which you have installed the Dropbox app.
Fluxbox users see Fluxbox key bindings for more information, an example shortcut is shown below, put it in the "keys" file.
Mod1 d : ExecCommand /home/<user>/.dropbox-dist/dropboxd
Then 'Alt d' will fire it up.
Plenty of things you can do with Dropbox and a tour of the web site will give you some ideas.
Don't forget to include the Dropbox daemon as a startup "app", otherwise files you add will not be synched to your other machines.
ReplyDeleteOpen "Startup Applications" under "Preferences". Select "Add". Enter a name. Then, click the icon to the right of the command field. Nautilus will launch, Navigate to your home directory and enable the display of hidden files. Click and open the ".dropbox-dist" folder. (Not ".dropbox.) The file your looking for is "dropboxd" (again, not "dropbox", which is in there, too.) Click and select it so it appears in command field of Startup Applications. Save and close that app and you're done.
Thanks jonc, I do a manual start up with dropbox.py but of course many will want an auto start as you describe. Fluxbox users can view the page
ReplyDeletehttp://minimallinux.blogspot.co.uk/2012/11/centos-6rhel-fluxbox-key-bindings.html
for a quick guide on autostart. Use the command ".dropbox-dist/dropboxd"
including the dot. To add to the keys shortcut file use the full path /home/user/.dropbox-dist/dropboxd
It seems to install fine but when I try to start the deamon it does not seem to start
ReplyDelete$ ~/.dropbox-dist/dropboxd
/home/pml/.dropbox-dist/dropboxd: line 10: /home/pml/.dropbox-dist/dropbox: cannot execute binary file
/home/pml/.dropbox-dist/dropboxd: line 10: /home/pml/.dropbox-dist/dropbox: Success
but the next step never begins?
I just installed Dropbox as above on a Laptop with Centos 6 using Gnome and it was fine, all folders synced etc, so perhaps you have a permissions issue ?
ReplyDeleteMake sure that the dropboxd file (not 'dropbox') is chmod u+x
$ chmod u+x ~/.dropbox-dist/dropboxd
although it should already be done.
This comment has been removed by the author.
ReplyDeleteThanks, this sloves my problem
ReplyDelete