Linux
Build Your Own Google Docs Alternative on a Raspberry Pi NAS

We rely on Google Docs/Sheets for many reasons: its centralized storage, powerful search capabilities, simple interface, and seamless multi-user collaboration make it an invaluable tool. However, the desire for a truly private, locally hosted solution—one that eliminates dependency on the cloud—has …
Let's Encrypt certificates for the local network

I’ve Home Assistant with remote HTTPS access, but it’s not possible to reach Home Assistant on the local network without getting “Your connection is not private” error. This is because your local IP or URL is not listed in the SSL certificate. And it’s not possible to …
Linux: Scroll wheel extremely slow after wake-up

Like 50% of the time when my Fedora Linux machine is waking up, my Logitech MX Master mouse scroll wheel is very slow. To solve the problem, I was pulling out the USB receiver and putted it back. But today I took the time to solve the problem and it works! I …
Port forward behind NAT or CGNAT

There several ways to port forward to expose your local port to the internet. These instructions are working for normal NAT routers and also for Carrier Grade NAT (CGNAT). CGNAT is often used by LTE/4G internet connections. Described port forward methods are:
- Via SSH on your own webserver/VPS
- Via …
Network discovery with Avahi and Bonjour

Avahi and Bonjour are open source implementations of the Zeroconf specification. With these tools it is possible to reach a host on your network without having its IP address, you need only need the hostname. Avahi runs on Linux and Bonjour on Windows and MacOS. It’s needed an both ends! …
Nieuwe website aanmaken in Nginx (VPS deel 10)
Om met Nginx een nieuwe server aan te maken, moet je het volgende doen.
Maak de directory aan waar de website komt:
$ mkdir -p /var/www/example.com
Als je ook www voor je domeinnaam in je url gebruikt, doe dan:
$ ln -s /var/www/example.com /var/www/www.example.com
Nu kun je om te testen evt een …
Monitoren van de VPS server (VPS deel 9)
Handmatig periodiek je logfiles, geheugen- en diskruimte controleren, of alle processen nog draaien etc. kost heel veel tijd en is niet te doen.
Om dit te automatiseren, gebruiken we een paar door mezelf gemaakte BASH scripts en LogWatch voor de logfiles.
LogWatch
LogWatch is een goede tool om …
Toegangsbeveiliging met Fail2ban op de VPS (VPS deel 8)

Als je VPS maar even actief is, dan zie je in de logging al de inbraakmeldingen komen. Met Fail2ban, kun je deze servers bannen voor een bepaalde tijd. Fail2ban werkt d.m.v. het monitoren van je logfiles. Als er bijv. 5 maal wordt geprobeerd in te loggen met foute logingegevens, dan kun je de VPS …
SFTP server via SSH (VPS deel 7)
Een ouderwetse FTP server is geen goed idee en ook onnodig. Via SSH is het mogelijk om een SFTP op te zetten. De onderstaande instructies zijn voor SFTP gebruikers, welke niet met deze gegevens op SSH kunnen inloggen of browsen naar andere onderliggende directory’s.
De OpenSSH server gebruiken …