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.
Fresh fish, straight from the fjords!
2019-02-22
After all the privacy shenanigans with Facebook trying to merge WhatsApp, Messenger and Instagram, I decided to try out some other messaging apps - my favourite so far in terms of functionality: Telegram. The ability to create and write with bots is something WhatsApp forbids in its TOS. They’d much rather make some sweet money selling the API access to businesses. Telegram on the other hand actively encourages the creation of bots and there are plenty of easy to use libraries to get started. I decided to create one for controlling my home-server so I can, for example, restart apache without having to ssh into the machine. It’s mostly just a python script which runs some bash scripts if the correct user (me) gives the command. Check it out on GitHub if you’re interested.
“But why is the bot named Addvar?” you may ask - I’ve spent way too much time playing Skyrim for me not to constantly reference it in random things.
Funny Talks for BigBrains
2019-02-08
You want to watch something but you don’t want to watch TV because of all the commercials? You want to watch something funny? You like tech talks? You want to learn something? If you answered this wannabe-eloquent apposition of questions with yes I’ve got something for you: Funny Tech Talks - when regular tech talks just don’t cut it anymore and you fear death by PowerPoint.