Sure, no problem, just for you two to play and explore and for me to hack the stuff :) But wait, these days almost anyone can follow the steps online and do this. Let’s make it my way :) I’ve written a set of Ansible playbooks enabling me to create Minecraft Java Edition Server on Debian 9 (Stretch).

The playbooks will:

  • add limited user account
  • install all required packages
  • secure the server
    • automatic security updates
    • hardening SSH access
    • using Fail2Ban for SSH login protection (TODO)
    • configure a Firewall with UFW
  • install and configure Minecraft Server
  • install and configure McMyAdmin for Minecraft

With the help of Ansible, you’ll get your server up and be running in a matter of minutes.

You can find the source code on GitHub