#! /bin/bash # from http://www.dropboxwiki.com/tips-and-tricks/install-dropbox-centos-gui-required # run as normal user in ~/ to install dropbox in a centos. It has been proven to work on centos 6.3. # To download source from internet, #cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - #mkdir -p ~/bin && wget -O ~/bin/dropbox.py "https://www.dropbox.com/download?dl=packages/dropbox.py" && chmod +x ~/bin/dropbox.py ## The dropbox installation files are also avaialable at www2.fizik.usm.my/tlyoon/Downloads/. To install from www2 source, cd ~/ wget www2.fizik.usm.my/tlyoon/Downloads/dropbox-lnx.x86_64-6.4.14.tar.gz tar -zxvf dropbox-lnx.x86_64-6.4.14.tar.gz mkdir -p ~/bin && wget -O ~/bin/dropbox.py "http://www2.fizik.usm.my/tlyoon/Downloads/dropbox.py" && chmod +x ~/bin/dropbox.py cd ~/bin wget www2.fizik.usm.my/tlyoon/Downloads/dropbox.sh chmod +x dropbox.sh ###################### ## post-installation: # 1. To do the dropbox setting for the first time, issue ~/.dropbox-dist/dropboxd # 2. Set up your dropbox login a/c and decide which folders to synchronise. Once it is done, it is difficult to change. So, do it carefully. ## 3. To turn on dropbox, ~/bin/dropbox.py start ## 4. To check status, ~/bin/dropbox.py status ## 5. To stop, ~/bin/dropbox.py stop ## In case you wish to reset the dropbox, rm -rf ~/.dropbox ~/.dropbox-dist and do the installation all over again.