The Approximately Monthly Zoomer
Non-Evil Cloud Storage
2019-03-30
This is post about me installing NextCloud on my server - there is a TLDR at the end if you don’t want to read the whole thing.
GNU + Obligatory Virtue Signaling
At this point most people who understand something about tech should
know that most offers of private cloud storage providers are
indeed too good to be true. “Google admits to actively scanning and
analysing everything you upload” when you use their service Google Drive
[sauce]
and OneDrive and iCloud (or Microsoft and Apple respectively) reserve
the right to scan your files for “objectionable
content”. If you want cloud storage with security by design instead
of security by pinky promise policy, you have two options: Pay
for a decent, trustworthy cloud service or do it yourself. If you are
also particularly worried about glow-in-the-darks the latter is probably
the option to go with.
Meet. NextCloud.
NextCloud is basically Dropbox on steroids, a detailed comparison with other cloud storage providers can be found here. With NextCloud you can sync and backup not only data but also calendars and contacts, you can edit your files in the browser using Collabora or OnlyOffice, connect it to other clouds using various protocols, use the integrated chat functions for end-to-end encrypted (video) chat and completely encrypt all your data on the server so even the person running the server cannot access your data. Cost: 0 Gold + Hardware. Since NextCloud is not really resource-hungry you can literally install and use it on a RaspberryPi so hardware cost should be manageable.
What You Need
There are a few things and abilities you will need to know/have for this (besides basic knowledge of Linux):
- A GNU+Linux Server with apache, php and mysql
- A Domain
- Apache Configs
- Know: How to install SSL certificates (or how to type
certbot –apache
into your console)
Installing NextCloud
With their Web Installer it’s basically as simple as dropping a php file in your www folder, you can then configure it from any browser with access to your server. Detailed information on how to prepare for the installation can be found in their comprehensive docs here (I’m not going to reinvent the wheel by creating yet another tutorial).
Quick Tips and FAQ
- Read the docs
- Use SSL for security
- Read the docs
- For more speed use http2 and configure an opcache for php
- Read the docs
- Keep your server and NextCloud updated
- Read the docs
- “Does NextCloud run on Windows?” No,
that would be heresy!the server doesn’t but there is a Windows client.
TLDR
Google/Microsoft/Apple bad, NextCloud good. Install on Linux server with web installer from here. Read this. Enjoy your freedom.