Ubuntu 24.04 Server Quick Start: Sudo User, SSH Hardening, fail2ban, Docker and Dockge

Every time I spin up a new Ubuntu server I go through the same handful of steps before anything else touches it. This post is that checklist, written down so I (and hopefully you) don’t have to piece it together again. It assumes a fresh Ubuntu 24.04 LTS install where your SSH public key is already in place for the initial login.

Throughout the post I use youruser as the new account name and 2222 as the new SSH port. Replace both with your own values.

Golden rule: keep your current SSH session open the whole time and test every change from a second terminal. That way a typo never locks you out.

Read more

Zabbix 3.0 / Docker

Es gab einige Schwierigkeiten den Zabbix Container zum Laufen zu bringen (vermutlich lag es am :latest Image).

Anstatt die Container einzeln zu starten habe ich beschlossen mal Compose zu testen. Alle Infos und Variablen innerhalb einer Datei. Zuvor noch alle Images gepullt.

Eine docker-compose.yml erstellen

Die ENV VIRTUAL_HOST ist für den /jwilder reverse Proxy.

Read more