OwnCloud with RaspberryPi 3 and FreeNAS
This guide is intended for the installation of OwnCloud on a RaspberryPi 3 with a FreeNAS server as the storage backend.
I am aware this is rather backward as FreeNAS has an OwnCloud plug-in you can install but I wanted to see if it was possible.
Table of contents
- Initial preperation
- MySQL configuration
- Prepare the storage
- OwnCloud installation
- Server tuning
- Credits
- Success
Requirements
- Raspberry Pi 3
- Raspberry Pi 3 compatible power supply
- Raspberry Pi 3 case
- MicroSD card
- Ethernet cables
- Four port switch or better
- FreeNAS server (expensive I know)
The RaspberryPi 3 can be configured using my guide here.
Objective
The object is to have the RaspberryPi act as a web front end for the backend storage. Their are guides on doing this with external USB drives but a FreeNAS server with ZFS and RAID struck me as a more sensible storage solution.
The storage must be totally transparent to the user (me). I don't want to have to rely on the "external" storage module that comes with OwnCloud as these all end up with seperate folders inside your view of OwnCloud. If this was the case and I forgot to upload something to the right folder I could exhaust the 16GG MicroSD card on the RaspberryPi very fast.
As stated elsewhere in the guide my FreeNAS box is not in its "final form" yet. But once it is and I have an offsite backup in place I will replace Dropbox and Google drive with this solution.
This is part of my ongoing project to take control of my data and information from the technology giants.