Step 5: setup own cloud

The easy way to setup the external drive is to use gparted on the Pi

$ startx

and the from inside the  GUI open a ternmail and type

$ sudo gprarted

from here you can partion and format the drive

Once done give the web-server permission 

$ sudo chown -R www-data:www-data /media/owncloud

All that needs to be done now is to setup owncloud

in a web browser type in https://IPADDRESS/owncloud

Choose a user name and password by typing then in to the user name and password box

click advanced and changed the data location to the place of your external drive in my case it's /media/owncloud

The click finish and you are done.

You should now be able to upload files. To play video files you'll need to enable the video player app.

To setup external access to your device I would suggest using DyDns or Noip.

<p>BPI-Github has been upgraded from kernel 4.1.X to kernel 4.2.</p><p>In the future, we'll be focusing on maintaining kernel 4.2 for developing.</p><p>BPI-Github : <a href="https://github.com/BPI-SINOVOIP/BPI-Mainline-kernel" rel="nofollow">https://github.com/BPI-SINOVOIP/BPI-Mainline-kernel13</a></p>
<p>Cannot stat &quot;owncloud&quot;: No such file or directory.</p>
<p>Great article. thanks. Also recommend looking at the owncloud installation via <strong>apt-get</strong>. Easier than downloading the link and handling ownership permissions for a begineer :-)</p><p> <a href="http://projpi.com/diy-home-projects-with-a-raspberry-pi/pi-owncloud-drop-box-clone/" rel="nofollow">http://projpi.com/diy-home-projects-with-a-raspber...</a></p>
<p>So will this let me login from anywhere even from outside my network?</p>
<p>hi i can access my owncloud login page fine from my local network,using my noip address. but when i try to go to my logon page in a browser from a remote computer. then i just get a white screen. have got any ideas on this please?</p>
<p>Have you port forwarded?</p>
<p>sorry, didn't see the other comments :)</p>
<p>Try to open ports on your router</p>
Its ok. My fault. Another program on my pc was blocking the ports. All works great now. :-)
<p>No problem :D... I'm glad to hear, that my advice helped you :D</p>
<p>http://www.bananapi.com http://www.banana-pi.com</p><p>Banana PI is an Open Source hardware platform which was produced to run the Elastos.org open source OS among others. Banana PI a dual core, Android 4.2 product which is much better than the Raspberry Pi. <br>The Banana Pi hardware runs Android, Debian Linux, Ubuntu Linux, OpenSuse linux and images that run on the Raspberry Pi and Cubieboard. <br>Banana PI has a Gigabit Ethernet port and a SATA Socket. It can run with Android 4.2.2 smoothly. The size of Banana PI M1 is about the same size as a credit card, <br>It can easily run games as it supports 1080P high definition video output. The GPIO is compatible with Raspberry Pi and can run Raspberry Pi images directly.</p>
<p>So, what's your point?</p><p>How have your comments added to the effort put in by the author?</p><p>Why don't you write an instructable on how to build a personal cloud server based on the bannanapi?</p>
<p>This is great! Thanks so much. It works perfectly, except, when I install the desktop client, OwnCloud wants to connect to https. If I try my site with https, it fails. With regular http, it works fine. How do I enable https on my RPi?</p>
<p>in the march 2015 you can get version 8.0.0 working on your raspberry pi</p><p>you have to do:</p><p>wget <a href="https://download.owncloud.org/community/owncloud-8.0.0.tar.bz2" rel="nofollow">https://download.owncloud.org/community/owncloud-8...</a></p><p>and to untar downloaded file</p><p>sudo tar -xjf owncloud-8.0.0.tar.bz2</p><p>Enjoy :D</p>
<p>Hi MGI1, I got a question. I want to do it for the first time. Should the image be installed before doing wget... ? Tks</p>
<p>What image? Raspbian?</p>
<p>Yes. It could be... or the one you've setup (Clouddit.iso)...</p><p>tks</p>
<p>You need to have Raspbian installed!! And then just follow all the instructions until the 4th step. Then you replace first two commands with commands i gave you, and then continue :D...</p>
<p>Thank you very much!</p>
<p>MGl1</p><p>New here... I'm looking to do this process, but I struggle with a some steps. First is on step 2. I don't find a ip address. I can do ifconfig and see I have one, and can use the browser as well. But when I use the command nothing shows up. Second, on step 3 I seemed to do well and find everything until I try following the &quot;find extension=section&quot;. Where do I put this command/extension? From there I figured I'll wait until I can really get those things working. If you could let me know that would be amazing! Thanks!</p>
<p>On the Banana Pi you can also create an Cloud System with more power: <a href="http://www.bananapi-kaufen.de/" rel="nofollow"> http://www.bananapi-kaufen.de/</a></p>
<p>externsion = section doesn't exist in the file. extension = section doesn't exist in the file. </p>
<p>i think he means extention</p>
<p>Great instructable. Thank you</p>
<p>I'm getting the error &quot;chown: cannot access `/media/owncloud': no such file or directory&quot; even though I've followed your steps to the T. Help is appreciated</p>
<p>the reference directory for the owncloud server is no longer there. (return error 404). with this info, if I had to guess, the owncloud directory is never created. Checkout the link below for updated installs.</p><p>http://software.opensuse.org/download/package?project=isv:ownCloud:community&amp;package=owncloud</p>
<p>when do you get this response?</p>
<p>I'm getting the same error, after attempting to partition the drive - it's likely that I'm doing that step wrong, but since there's no direction in the step, I don't know how to change that.</p>
<p>thanks loads!! it works great! your tut has helped me so much.</p><p>:-)</p>
<p>Thanks for the guide! I was thinking about buying a pi and doing this. Just one question, will it work equally well with say a banana pi or cubieboard? They seem to have a lot faster network speed and general specs.</p><p>Also, I didnt understand if this is like an independent OS or if you like install it on raspbian or whatever is the OS on the pi? I kinda would like to use owncloud on the pi together with OTHER usages too if possible.</p>
<p>For folks looking for a dead simple (and free) way to roll your own Dropbox, check out odrive. The SFTP integration gives you the Dropbox experience on anything that runs SSH which, of course, can include the Raspberry Pi.</p><p><a href="http://blog.odrive.com/blog/2014/12/16/create-your-own-dropbox-to-nas-mac-linux" rel="nofollow">http://blog.odrive.com/blog/2014/12/16/create-your...</a></p><p>Full disclosure: I work for odrive. The reason I work here is because I am passionate about this stuff. I fought hard for the SFTP integration because I think it will open up a whole new world of possibilities for your existing storage and devices, so I am trying to get the word out. Overlaying sync on top of SSH gives you that &quot;Dropbox experience&quot; against your own storage, pretty much instantly.</p>
<p>You are spamming for a product that doesn't even exist for linux? Fresh.</p>
<p>I realize that it will not be for everyone, and certainly isn't a 1-to-1 replacement for Owncloud, which is a great product. We are looking into client integration to Owncloud, as a matter of fact. </p><p>I am simply trying to offer up an easy way to achieve dropbox-like access to your own storage, because I know how difficult it can be for some, as evidenced in these comments. </p><p>A linux client actually does exist, it is just in private beta right now. Windows and Mac clients, however, are already available to the public for free.</p>
<p>Mhm. Quick feedback: you currently do not have the product you are trying to sell. This is a site for how-to's and instructables. You are not supplying it. This is spam, and not what I'm looking for.</p>
<p>Tony, when will the linux client be made available?</p>
<p>Hi Dominic,</p><p>We are shooting to have something out in March, if not sooner. Since the client will allow linking to not only SFTP but many other sources like OneDrive, Google Drive, Dropbox, etc.., there is a lot to work through, as you can imagine. You can keep up-to-date on our blog and forums, though.</p>
<p>Excellent. I use odrive to access multiple Google Drive accounts on my Windows PC and there are a few files that I would like to back up to Google Drive from my Raspberry Pi. If you need any beta testers for the Google Drive integration on Linux let me know! Thanks.</p>
<p>hello</p><p>I have a little problem, my raspbery won't recognize my Hard Disc?<br>What can I do about that?</p>
<p>do you still have this problem? I'm no wiz, but maybe I can help.</p>
The current location seems to be: <br>wget http://download.owncloud.org/community/owncloud-latest.tar.bz2
<p>This did work</p>
For a newer versions of owncloud use &quot;4.5.7&quot; instead of &quot;4.5.1&quot; <br> <br>wget http://mirrors.owncloud.org/releases/owncloud-4.5.7.tar.bz2 <br>sudo tar -xjf owncloud-4.5.7.tar.bz2
<p>This did not work </p>
<p>Is there any reason why I should use this guide, instead of using aptitude? </p>
<p>This is the new one. That instructable is really old</p>
<p>Version on rasp pi package manager is really old.</p>
<p>Call me late, but here's my two cents: the difference between apt-get and aptitude are mainly personal. I grew into Linux using aptitude and know all of the switches, ergo I convert the majority of the tutorials from apt-get as I come across them. I know that deep down there are a few rather significant differences in the way that the two applications operate, but I'm just not that concerned with them to know ;)</p>
<p>Update: Owncloud 7.0.3 link to replace the broken</p><p>(<strong>$ wget <a href="http://mirrors.owncloud.org/releases/owncloud-4.5..." rel="nofollow"> http://mirrors.owncloud.org/releases/owncloud-4.5...</a>)</strong></p><p><strong>and the obsolete </strong></p><p>(<a href="https://download.owncloud.org/community/owncloud-7.0.1.tar.bz2" rel="nofollow">https://download.owncloud.org/community/owncloud-7.0.1.tar.bz2</a>)</p><p>Now Use</p><p><strong>$ wget </strong>https://download.owncloud.org/community/owncloud-7.0.3.tar.bz2</p>
<p>usenet clients are not implemented. you can create and implement one using the Owncloud APIs' </p>

About This Instructable


567 favorites


Bio: Making Stuff since the 80's Twitter: http://twitter.com/hackitbuildit
More by koff1979: Raspberry Pi Owncloud (dropbox clone) Solar Powered Raspberry Pi RaspberryPi Media center - XBMC
Add instructable to: