How To Install Dropbox on CentOS 7

Install Dropbox on CentOS 7

In this tutorial we will show you how to install and configuration Dropbox on CentOS 7. For those of you who didn’t know, Dropbox is a useful file-sharing and syncing service that lets you sync files between different machines over the Internet for free. It’s very useful for backing up your important documents, pictures, MP3 files, video files, and other data.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Dropbox on a CentOS 7 server.

Install Dropbox on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing Dropbox.

Download the latest Linux Dropbox client from the below link:

After downloading, we need to create a folder for client software and extract the compressed file:

Step 3. Linking Dropbox client.

We needed to run the below command on the server in the folder where we want to store the Dropbox files:

The first time you run the client, you should see output that looks like this:

We needed to copy above link code and paste it on any browser and enter the credentials of your Dropbox account and save when we click on continue.

Install Dropbox on CentOS 7

The next step is to set up some scripts so that Dropbox will run as a service, so that you don’t need to be logged in for the client to keep running:

Make the scripts executable with this command:

The script expects the /etc/systemd/dropbox file to contain a list of system users that will run Dropbox. Create the file and open it for editing with this command:

Next, add a line that specifies that DROPBOX_USERS is equal to your system username. For example, if your username is “idroot”, it should look like this and don’t forget Save and exit:

Finally, We needed to start and enable them to start at boot time with the below commands:

Congratulation’s! You have successfully installed Dropbox. Thanks for using this tutorial for installing Dropbox on CentOS 7 system. For additional help or useful information, we recommend you to check the official Dropbox web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!