Install Dropbox for Headless Servers
Install & Run #
64 bit:
# tmux
cd ~
wget -O dropbox-linux-x86_64.tar.gz https://www.dropbox.com/download?plat=lnx.x86_64 && \
sudo mkdir -p /opt/dropbox && \
sudo tar xzfv dropbox-linux-x86_64.tar.gz --strip 1 -C /opt/dropbox && \
sudo ln -s /opt/dropbox/dropboxd /usr/bin/dropboxd
dropboxd &
for 32 bit OS the url is: xxxx?plat=lnx.x86
Install Command Line Interface (CLI) [Optional] #
cd ~
sudo wget -O /usr/bin/dropbox.py https://www.dropbox.com/download?dl=packages/dropbox.py && \
sudo chmod +x /usr/bin/dropbox.py && \
ln -s /opt/dropbox ~/.dropbox-dist && \
dropbox.py status # run CLI