Joshua Parker Ruehlig
Hall of Famer
- Joined
- Dec 5, 2011
- Messages
- 5,949
INTRODUCTION
This guide's purpose is to show my recommended method to install ownCloud in a jail on FreeNAS. This method will have superior performance over the PBI method because this stack uses NGINX, PHP-FPM, and MySQL instead of Apache (with Mod-PHP) and SQLite.
INSTALLATION
OPTIONAL CONFIGURATION
NOTES
This guide's purpose is to show my recommended method to install ownCloud in a jail on FreeNAS. This method will have superior performance over the PBI method because this stack uses NGINX, PHP-FPM, and MySQL instead of Apache (with Mod-PHP) and SQLite.
INSTALLATION
OPTIONAL CONFIGURATION
NOTES
- I use a 'Data folder' that is a dataset outside of the ownCloud jail. This separates data from programs for easy backup and snaphots.
- I use a subdirectory '/owncloud' for my ownCloud instance; this is because I have other applications running in other sub-directories. I don't use sub-domains because I want everything on a single domain. I pay for a domain name and get a free SSL Certificate from StartSSL. The free SSL Certificate only works for the domain and a single sub-domain (usually www). You can alternatively choose to host ownCloud at the '/' of your server as seen here.
- I have my SSL terminated by HAProxy running on my pfSense router. If you don't have this option, I recommend setting up SSL in NGINX as seen here.
Last edited: