Posts

Using Hetzner to Self Host Nextcloud

SysAdmin

This is a brief, but long owed post.

Last year, I decided that the best path to claim ownership of my data was self-hosting Nextcloud.1 I faced some issues using Hetzner’s 1 vCPU plan and I convinced myself that the culprit was their vCPU not being powerful enough.2

If it’s true that their vCPU wasn’t as powerful as Vultr’s one. It’s also true that with the right know-how I would be able to debug the issue and make things work. The culprit was in fact my lack of knowledge.

Read more

Handle HTML Forms Through Email With MailyGo

Blog Web Development

You may have already notice the contact form on this blog. Until recently, it was handled by Netlify and used a serverless function to send an email both to me and the submitter. This worked fine, but was far from ideal because I had to trust the data to a third party (Netlify).

As I was already running a server (with Nextcloud and Mastodon), I looked for a self-hosted solution and found MailyGo from Jan-Lukas Else. A small tool written in Go that allows send HTML forms through email. Exactly what I was looking for!

Read more

Getting Started With Linux on Desktop

Linux

At the beginning of March, I bought a laptop and decided to finally embrace Linux as my daily drive desktop. Till that day I had only used Linux, more precisely Ubuntu, on servers. So, obviously it was my first choice, but I faced a lot of issues, just to find out that the 3rd generation AMD Ryzen CPU on my laptop wasn’t yet supported by the kernel version (5.3) used on Ubuntu 19.10. I wasn’t able to use any Ubuntu based distro. At first it sucked, but now I’m glad that happen!

Read more

GoatCounter

Privacy Web Development

Although page views aren’t my immediate concern when I write on this blog, is good to know if someone is reading what I share! But when doing it I wanted to assure that I wasn’t tracking you. In others words, that the data gathered couldn’t identify or being associated to you. To do so I started by using the self-hosted version of Fathom.

Unfortunately, some time ago the developers of Fathom decided change their business model. They developed a new version of Fathom, closed source, only for paid customers, named Fathom PRO and renamed the original Fathom as Fathom Lite. Since then the development of this first version seems to had come to an end, as its latest release is from November 2018.

I then started looking for alternatives and that’s when I found this discussion on Lobsters and met GoatCounter. A recent project of an open source and privacy-aware web statistics platform.

Read more

Nginx Installation on Ubuntu

SysAdmin

This is the second post on the road to self-host Nextcloud. At this point we have already choosed a provider and deployed a VPS and completed its initial setup.

Now, we’re going to cover the installation of Nginx, the use of Let’s Encrypt SSL certificates and the configuration of the web server to use HTTP Strict Transport Security (HSTS) and TLS 1.3.

I’m currently using Ubuntu 20.04, but these instructions are equally valid for other Ubuntu versions.

Read the tutorial

Global Climate Strike

Politics
Climate crisis is a fact. It’s not something you choose to believe in or to deny. It’s an emergency. Because of human activity the world is changing at great pace and this time it’s not for the better. We are no longer in time to avoid many of the drastic consequences of our aggressions to the planet, but we are still in time and have the responsibility to restrain them as much as we can. Read more

Ubuntu Server Initial Setup

SysAdmin

This is the first in a series of posts that will cover from the deployment of a VPS up to the installation of Nextcloud. These are the kind of posts I will write mostly for future memory, but if they will be useful to you, even better. I’m not reinventing the wheel here, these are just the result of the sum of tutorials and lessons I keep learning.

On this post I will cover the use of SSH to connect to a server, the creation of a new user with administrative privileges and the setup of a firewall.

I’m currently using Ubuntu 20.04, but these instructions are equally valid for other Ubuntu versions.

Read the tutorial