Dropbox set up for a Linux Cloud Server

Michael Douse
by Atlantic.Net (9posts) under Cloud Hosting
0 Comments
Verified and Tested 04/28/15

Introduction

In this article, we will go over how to set up Dropbox via command line on a Linux Cloud Server. Dropbox is an excellent tool for making your files easy to share.

Prerequisites

-Any 32-bit or 64-bit Linux server. If you do not know if your system is 32-bit or 64-bit, follow our guide here, or if you need a secure and trusted Cloud server, consider one from Atlantic.Net.

– You will also need a Dropbox account, which you can sign up for one here.

Install Dropbox on your Linux system

Change to the root of your home directory and download the required files based on your architecture:

The command cd ~ takes you to your login directory which it typically your home directory.

32-Bit:

wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -

64-Bit:

wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

If you run the ls -a command, you will see a newly created .dropbox-dist folder.

To start the daemon, run the command:

.dropbox-dist/dropboxd

This computer isn’t linked to any Dropbox account…
Please visit https://YOUR-SPECIFIC-LINK to link this device.

Paste the link provided into your desktop web browser, and then login with your account information. Once logged in, check your terminal again. You should see the following:

This computer is now linked to Dropbox. Welcome YOUR-NAME

At this time, your files are being synced to the Dropbox folder that was created in the home folder of your current user. This can take a while, depending on how many files you have.

Now verify that your files were all synced:

ls Dropbox/

Next we will download the command line management script. This script requires Python, so make sure you have it installed. You can see if Python is installed with python -V

wget https://www.dropbox.com/download?dl=packages/dropbox.py -O dropbox_manager.py
chmod +x dropbox_manager.py

Run the script to review the available commands:

./dropbox_manager.py
An example of the ./dropbox_manager.py for Dropbox

An example of what the ./dropbox_manager.py looks like

That’s it! You can now check the status of your synced files and manage other aspects of Dropbox.


Related Posts


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources

We use cookies for advertising, social media and analytics purposes. Read about how we use cookies in our updated Privacy Policy. If you continue to use this site, you consent to our use of cookies and our Privacy Policy.