Skip to content

Instantly share code, notes, and snippets.

@cheuerde
Created July 1, 2016 10:49
Show Gist options
  • Save cheuerde/eb5a087cae3e08eb6eca30d64854c462 to your computer and use it in GitHub Desktop.
Save cheuerde/eb5a087cae3e08eb6eca30d64854c462 to your computer and use it in GitHub Desktop.
Dropbox on Server
# Claas Heuer, July 2016
#
# Run Dropbox on a linux server
# from here: https://www.dropbox.com/install?os=lnx
# get and extract dropbox
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
# run for first time ussing x-forwarding and setup sync
~/.dropbox-dist/dropboxd
# get the python script and start dropbox silently
wget https://www.dropbox.com/download?dl=packages/dropbox.py -O ~/.dropbox-dist/dropbox.py
chmod +x ~/.dropbox-dist/dropbox.py
# start
~/.dropbox-dist/dropbox.py start
# autostart
echo "~/.dropbox-dist/dropbox.py start" >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment