I'd like to turn a spare computer into a server, probably to host Minecraft for a few friends. My Linux experience is pretty limited, so I'm looking for an efficient way to learn the basics needed to run and maintain a server. Should I start with videos, written documentation, or hands-on practice? Also, which distribution would be beginner-friendly for this kind of project?
3 Answers
The most effective approach is to build the server and learn each piece as you need it. Start with a straightforward Paper Minecraft server on Debian or Ubuntu Server LTS rather than adding containers or complicated tools immediately. Focus on SSH for remote administration, basic command-line commands, editing files with nano, installing and updating software with apt, and managing services with systemd so the Minecraft server starts automatically after a reboot. Videos, tutorials, and documentation are all useful—use whichever format helps you understand the specific problem in front of you. You’ll also need to decide how friends will connect. Port forwarding the default Minecraft port is simple, but it exposes the server to the public internet and requires careful security practices. A private VPN such as Tailscale is safer because only authorized devices can reach the server, though it takes a little more setup.
There isn’t really a separate version of Linux that you use only for servers—the right setup depends on what you want to host. For learning, Ubuntu Server is a beginner-friendly choice with plenty of documentation, and Debian is another solid option. Start with a basic installation and add services one at a time. Hands-on practice is usually more effective than trying to study every topic in advance.
A structured Linux fundamentals course can help with the basics, but apply each lesson on your own machine as you go. Learn users and permissions, package management, networking, logs, SSH, and service management first. Once those make sense, hosting Minecraft will be much easier. Avoid choosing a specialized storage-focused distribution unless storage is actually the main purpose of the computer.

Thanks, that gives me a much clearer starting point and explains the networking side too.