How to Install Docker on a RackNerd VPS and Self-Host n8n with Caddy

In the previous post, How to Secure Ubuntu 24.04 on a RackNerd KVM VPS , we covered the following: Enabling 2FA on the VPS provider account and control panel. Logging in as root once, then updating, upgrading, and rebooting the system. Creating a non-root sudo user. Setting up SSH key authentication and disabling password login. Disabling root SSH login. Setting the server timezone. Enabling unattended security updates. Configuring UFW to allow SSH, HTTP, and HTTPS while denying all other inbound traffic. Installing and tuning Fail2Ban, with a 3-hour ban time. Running YABS to benchmark the VPS and save a baseline. The idea was simple: secure first, deploy later. Now that the server is locked down, it鈥檚 time to put it to work. ...

June 28, 2026 路 Last Modified: July 24, 2026 路 6 min 路 1135 words 路 Bader Alrowaiei
Photo by [Gabriel Heinzer](https://unsplash.com/@6heinz3r) on [Unsplash](https://unsplash.com/photos/text-4Mw7nkQDByk)

How to Secure Ubuntu 24.04 on a KVM VPS - RackNerd

After setting up a fresh Ubuntu 24.04 VPS, the first priority is hardening it before hosting anything public. In this guide, I鈥檒l walk through the essential steps: securing access with SSH keys, disabling password login, creating a non-root sudo user, enabling automatic updates, setting up a firewall, and adding brute-force protection with Fail2Ban. I鈥檝e always wanted to own a VPS as a small corner of the internet where I could run web apps, test scripts, and learn by doing. But I could never quite justify the monthly cost or find the time to manage one. Instead, I stayed busy with virtual machines on my PC and laptop, which kept my curiosity satisfied for a while. ...

June 26, 2026 路 Last Modified: June 30, 2026 路 9 min 路 1898 words 路 Bader Alrowaiei