Distribution Requirements
You want a distribution that meets these criteria:Stability
Stable and Reliable
Unless you like debugging issues at 2 AM, you don’t want an unattended upgrade, or a manual package/system update, to render your server inoperable. But this also means you’re okay with not running the latest, greatest, bleeding edge software.
Security Patches
Up-to-Date Security Patches
You can secure everything on your server, but if the core OS or applications you’re running have known vulnerabilities, you’ll never be safe.
Familiarity
Familiarity with the System
If you don’t know Linux, I would advise you play around with one before you try to secure it. You should be comfortable with it and know your way around, like how to install software, where configuration files are, etc.
Support
Well-Supported Community
Even the most seasoned admin needs help every now and then. Having a place to go for help will save your sanity.
Popular Server Distributions
This guide is primarily tested on Debian, but the concepts apply to most Linux distributions. Commands may vary slightly between distributions, particularly package management commands.
- Debian - Known for stability and security
- Ubuntu Server - Based on Debian with commercial support options
- Red Hat Enterprise Linux (RHEL) - Enterprise-focused with long-term support
- Rocky Linux / AlmaLinux - Community-driven RHEL alternatives
- openSUSE - Strong security features and YaST configuration tool