Installing Nextcloud on Ubuntu 16.04 LTS with Redis, APCu, SSL & Apache


(Jason Bayton) #1

Originally published at: https://bayton.org/2016/07/installing-nextcloud-on-ubuntu-16-04-lts-with-redis-apcu-apache/

A few weeks ago the self-hosted community witnessed the public launch of Nextcloud, an (as of writing) already vastly-improved fork of ownCloud. Having almost finished migrating data on my home server to Nextcloud and experimenting with some of the more optional features such as caching, pretty links, theming and more, I felt it would be a good time to document some of this in one simple-to-follow guide. What is Nextcloud? As mentioned above Nextcloud is a recent fork of ownCloud that’s already quickly becoming the newer, better and faster-developed alternative to the self-hosted cloud storage software of old. If you’re an ownCloud user and have ever been frustrated by the dual licenses, the paid vs free model and – as part of it – lack of some of the better features, Nextcloud have gone completely FOSS (Free and Open-Source Software) following the Red Hat model of charging for enterprise support rather than enterprise features. Some of the previously enterprise-only features released as part of the standard FOSS Nextcloud installation include FileDrop, an alternative to Dropbox’s “File Requests” and LibreOffice online, an alternative to Google Docs or Office Online. Upcoming release v.10 will bring two-factor authentication, improved federation and more. In this guide After completing this guide we’ll have the following: A newly installed Nextcloud server PHP caching provided by ACPu and Redis for a notable speed increase when navigating even the largest thumbnail-heavy folders Pretty links that remove /index.php from the URL SSL-enabled with default self-signed certificates and all non-HTTPS traffic redirected Environment For this…


(Johan Van Huyssteen) #2

Hi jason

I build the follwoing solution for my customers:
ubuntu 16.04 lts
Apache
mariadb
owncloud 10.0.9
Redis
Syncthing for backup to my cloudstorage
freenas unit for storage

Its been running for a year with some small challenges

I read through your posts and are very interested in how you configured syncthing to backup the data in the apache nextcloud folder as www-data user.

Hope to make contact soon.

Keep up the good work.

Regards

Johan