{"id":773,"date":"2015-05-26T21:02:38","date_gmt":"2015-05-26T19:02:38","guid":{"rendered":"http:\/\/bakman.nl\/tech\/?p=773"},"modified":"2015-06-03T08:09:23","modified_gmt":"2015-06-03T06:09:23","slug":"adding-dropbox-to-your-clearos-server","status":"publish","type":"post","link":"http:\/\/bakman.nl\/tech\/?p=773","title":{"rendered":"Adding Dropbox to your ClearOS server"},"content":{"rendered":"<p>If you&#8217;re like me, the ClearOS server needs to do the Dropbox syncing, not every client pc in the house separately. The whole idea is to have things centralized, isn&#8217;t it? Of course you can access the synced data from every client in the house.<br \/>\nIn this short tutorial you&#8217;ll learn how to install Dropbox on your ClearOS All-in-One NAS and configure a sync to the users their home directory.<\/p>\n<h3>Installation<\/h3>\n<p>First start PuTTY and logon as root user to your ClearOS server.<br \/>\nEnter the following command:<\/p>\n<pre># yum install -y app-dropbox<\/pre>\n<p>You&#8217;ll see something like this:<\/p>\n<pre>Dependencies Resolved\r\n\r\n=====================================================================================\r\n Package                           Arch        Version            Repository    Size\r\n=====================================================================================\r\nInstalling:\r\n app-dropbox                       noarch      1:1.6.7-1.v6       clearos      9.1 k\r\nInstalling for dependencies:\r\n app-dropbox-core                  noarch      1:1.6.7-1.v6       clearos       11 k\r\n app-user-dropbox                  noarch      1:1.6.0-1.v6       clearos       12 k\r\n app-user-dropbox-core             noarch      1:1.6.0-1.v6       clearos      5.2 k\r\n app-user-dropbox-plugin-core      noarch      1:1.0.0-1.v6       clearos      5.0 k\r\n dropbox                           x86_64      2.10.28-1.v6       clearos       24 M\r\n\r\nTransaction Summary\r\n=====================================================================================\r\nInstall 6 Package(s)\r\n\r\nTotal download size: 24 M\r\nInstalled size: 39 M\r\n[...]\r\nInstalled:\r\n  app-dropbox.noarch 1:1.6.7-1.v6\r\n\r\nDependency Installed:\r\n  app-dropbox-core.noarch 1:1.6.7-1.v6\r\n  app-user-dropbox.noarch 1:1.6.0-1.v6\r\n  app-user-dropbox-core.noarch 1:1.6.0-1.v6\r\n  app-user-dropbox-plugin-core.noarch 1:1.0.0-1.v6\r\n  dropbox.x86_64 0:2.10.28-1.v6\r\n\r\nComplete!<\/pre>\n<p>That&#8217;s it for the installation part!<br \/>\nNow that Dropbox is installed, you&#8217;re ready to configure it.<\/p>\n<h3>Configuration<\/h3>\n<p>You need to choose which of the users are allowed to sync their Dropboxes to their home directory on the server.<br \/>\nLogon in the Webconfig as user root (or any other admin account). Go to the &#8216;Cloud&#8217; menu and choose item &#8216;<span style=\"color: #ff9900;\">Dropbox<\/span>&#8216;. You will see your users being listed, see below.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-779 size-full\" src=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015_05_26_10_54_56_Dropbox.png\" alt=\"2015_05_26_10_54_56_Dropbox\" width=\"505\" height=\"340\" srcset=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015_05_26_10_54_56_Dropbox.png 505w, http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015_05_26_10_54_56_Dropbox-300x202.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/p>\n<p>Now click on the button &#8216;<span style=\"color: #ff9900;\">Edit Members<\/span>&#8216; to set which users are able to use Dropbox. You&#8217;ll see, again, the list of users on tour server. Choose which user can use Dropbox by putting a check in the corresponding box. Click the &#8216;<span style=\"color: #ff9900;\">Update<\/span>&#8216; button when done.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-780\" src=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015_05_26_10_59_36_Members.png\" alt=\"2015_05_26_10_59_36_Members\" width=\"506\" height=\"245\" srcset=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015_05_26_10_59_36_Members.png 506w, http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015_05_26_10_59_36_Members-300x145.png 300w\" sizes=\"(max-width: 506px) 100vw, 506px\" \/><\/p>\n<p>Now ask your users to logon into the COS webconfig to make them configure their sync. Or you can do it yourself provided you have their credentials.<br \/>\nLogout the webconfig as admin user and logon as one of the Dropbox enabled normal user.<\/p>\n<p>Click on the left menu item &#8216;My Account&#8217; &gt; &#8216;Accounts&#8217; &gt; &#8216;<span style=\"color: #ff6600;\">Dropbox<\/span>&#8216;.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-782\" src=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015_05_26_11_07_37_User_Profile.png\" alt=\"2015_05_26_11_07_37_User_Profile\" width=\"213\" height=\"96\" \/><\/p>\n<p>The Dropbox user-app will ask for the Dropbox account info. Click the &#8216;<span style=\"color: #ff6600;\">I already have a Dropbox account<\/span>&#8216; button.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-784\" src=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-11_08_57-Dropbox.png\" alt=\"2015-05-26 11_08_57-Dropbox\" width=\"505\" height=\"123\" srcset=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-11_08_57-Dropbox.png 505w, http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-11_08_57-Dropbox-300x73.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/p>\n<p>In the next step you are asked to make sure you want to syncronize. Click the button &#8216;<span style=\"color: #ff6600;\">Synchronize Now<\/span>&#8216; when you are sure.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-785\" src=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-11_10_04-Dropbox.png\" alt=\"2015-05-26 11_10_04-Dropbox\" width=\"505\" height=\"147\" srcset=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-11_10_04-Dropbox.png 505w, http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-11_10_04-Dropbox-300x87.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/p>\n<p>After a few seconds the button &#8216;<span style=\"color: #ff6600;\">Complete setup by authenticating with Dropbox<\/span>&#8216; appears. This might be the longest button-name ever made :P<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-786\" src=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-11_12_22-Dropbox.png\" alt=\"2015-05-26 11_12_22-Dropbox\" width=\"505\" height=\"123\" srcset=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-11_12_22-Dropbox.png 505w, http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-11_12_22-Dropbox-300x73.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/p>\n<p>When you click the button your browser will open a new window\/tab which leads to the Dropbox webpage. When logging in with the user&#8217;s Dropbox account you are telling Dropbox the COS server is save to use. After you&#8217;ve done this the Dropbox App starts syncing. Depending on the size of the Dropbox share and your internet connection, it can take a while.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-787\" src=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-12_20_00-Dropbox.png\" alt=\"2015-05-26 12_20_00-Dropbox\" width=\"505\" height=\"156\" srcset=\"http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-12_20_00-Dropbox.png 505w, http:\/\/bakman.nl\/tech\/wp-content\/uploads\/2015\/05\/2015-05-26-12_20_00-Dropbox-300x93.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/p>\n<p>Note: The spinning wheel in the picture above, indicating the sync is busy, is not accurate. In fact, it just might be a stupid animated GIF which never ends! Better\u00a0open up a PuTTY session and monitor the directory size or do a top command like this to see CPU% being used:<\/p>\n<pre># top -p `pgrep dropbox | tr \"\\\\n\" \",\" | sed 's\/,$\/\/'`<\/pre>\n<p>check Dropbox folder size:<\/p>\n<pre># du -sh \/homer\/user\/Dropbox<\/pre>\n<p>Now you are finished creating a sync between the COS server and your Dropbox account.<br \/>\nYou can access the Dropbox folder on your Windows PC like you used to, it&#8217;s located under &#8216;This PC&#8217; (Win8.x) or &#8216;Computer&#8217; (Win7) as a netwerk share with your username.<\/p>\n<p>Have fun syncing!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re like me, the ClearOS server needs to do the Dropbox syncing, not every client pc in the house separately. The whole idea is to have things centralized, isn&#8217;t it? Of course you can access the synced data from every client in the house. In this short tutorial you&#8217;ll learn how to install Dropbox &hellip; <a href=\"http:\/\/bakman.nl\/tech\/?p=773\" class=\"more-link\">Lees verder <span class=\"screen-reader-text\">Adding Dropbox to your ClearOS server<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":794,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[],"_links":{"self":[{"href":"http:\/\/bakman.nl\/tech\/index.php?rest_route=\/wp\/v2\/posts\/773"}],"collection":[{"href":"http:\/\/bakman.nl\/tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bakman.nl\/tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bakman.nl\/tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bakman.nl\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=773"}],"version-history":[{"count":14,"href":"http:\/\/bakman.nl\/tech\/index.php?rest_route=\/wp\/v2\/posts\/773\/revisions"}],"predecessor-version":[{"id":801,"href":"http:\/\/bakman.nl\/tech\/index.php?rest_route=\/wp\/v2\/posts\/773\/revisions\/801"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/bakman.nl\/tech\/index.php?rest_route=\/wp\/v2\/media\/794"}],"wp:attachment":[{"href":"http:\/\/bakman.nl\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bakman.nl\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=773"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bakman.nl\/tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}