Owncloud

So I set this up a while ago, but thought I’d share it here anyway. I was looking to find a self hosted dropbox/google drive alternative. As I am starting down the path of getting things self hosted, so my data is still my data and all that. There were 2 choices with this, that would run on the raspberrypi: Owncloud, or seafile

Seafile looked nice, and the core of it is written in C, so to me that would work well on the pi as it would be super lightweight and fast. I went for this originally, but had major issues trying to set it up for remote access

Thats where Owncloud came to save that day! its written in php (my fav) so was super simple to setup, and get working for remote access. It was also easy to get it working on a external hard drive if need be.

Another cool thing about it is that there a many “Apps” to go with it, so you can turn a simple file sync and share service into something that can handle your calendar, notes, passwords, mail client, rss feed agregator. Replacing pretty much all your 3rd part services, all self hosted

Follow these to get things setup. There are alot of things you can do around security which these instructions go into. Basic setup includes:

  1. download and unpack
  2. change ownership of files to prefered user (www-data)
  3. create database for owncloud use
  4. Go to owncloud URL in a browser and follow the install wizard

Once setup, download the client where ever you like (mobile app, windows, mac, linux) and connect up to your instance.

Some things to consider running this on a raspberry pi, it isn’t exactly powerful enough to be able to browse images or anything too heavy via the webclient (or the mobile client for that matter, as it downloads things as needed) But it is perfectly fine if you have a few clients hooked up and let things sync in the background. I have 3gb of photo’s up on mine and have auto-upload enabled on the mobile client and everything syncs nicely between my 2 PC’s and laptop. I also use QOwnNotes to sync my markdown notes around my devices.

The plan will be to merge everything into Owncloud, my password management, RSS feed agregator and calendar (move away from feedly, google calendar and 1password) so all my things are actually owned by me! More on those when they happen