Tutorials  /  Linux Basics

Install Minecraft Server on Debian 10 (Step-by-Step Guide)

Ccentron Redaktion · May 2025 ·4 min read ·Linux Basics, Tutorial

Running your own Minecraft server lets you enjoy multiplayer gameplay with friends. This tutorial guides you through the setup of a Minecraft server on a Debian 10 (Buster) VPS.

Step 1: System Setup

Begin with a fresh installation of Debian 10 on your VPS.

Ensure the system is updated according to standard update procedures.

Create a new sudo-enabled user named mcuser by following your security guidelines. Switch to this user for the remainder of the configuration.

Next, install Java. Minecraft requires at least Java 16 for optimal performance.

Console
$ sudo apt update
$ sudo apt install apt-transport-https software-properties-common gnupg wget
$ wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
$ sudo add-apt-repository https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
$ sudo apt update
$ sudo apt install adoptopenjdk-16-hotspot
VM

Matching infrastructure at centron

No hardware needed to follow along: ccloud³ VMs with full root access start at €3.12 per month, billed by the hour and ready in seconds. Rent a cloud server →

Step 2: Install GNU Screen

Use GNU Screen to keep the Minecraft server running after disconnection.

Console
$ sudo apt install screen -y

Step 3: Download and Configure Minecraft

Switch to the home directory of the mcuser.

Console
$ cd ~

Create a new folder named minecraft and move into it.

Console
$ mkdir minecraft
$ cd minecraft

Download the latest version of the Minecraft server file. Replace the URL with the most recent one from the official Minecraft website.

Console
$ wget https://launcher.mojang.com/[NEWEST_VERSION]/server.jar

Create a script to launch the server.

Console
$ nano start.sh

Paste the following content into the file. Adjust the memory values to match your server’s RAM.

Code
#!/bin/sh

java -Xms512M -Xmx1024M -jar server.jar nogui

Make the startup script executable.

Console
$ chmod +x start.sh

Accept the Minecraft EULA (End User License Agreement).

Console
$ echo "eula=true" > eula.txt

Step 4: Launch Your Minecraft Server

Start a new Screen session.

Console
$ screen -S "My Minecraft Server"

Move to the Minecraft directory and run the script to launch the server.

Console
$ cd ~/minecraft
$ ./start.sh

To detach from the Screen session, press Ctrl + A followed by D. Reconnect with:

Console
$ screen -r

Conclusion

You’ve now successfully completed the installation and configuration of a Minecraft server on Debian 10. With the server up and running, you can invite friends, customize gameplay settings, install mods, and explore the world of Minecraft together.

This setup gives you full control over your Minecraft environment, including server rules, whitelists, performance tuning, and backups. Whether you’re hosting a creative build space or a survival world, having your own server provides the flexibility to shape your gameplay experience just the way you want it.

Be sure to monitor server performance and apply updates regularly to keep everything secure and smooth. With the tools you’ve now implemented—screen, Java, and a custom start script—you’re ready to manage your Minecraft world like a pro.

Jetzt 200 € Guthaben sichern

Testen Sie Ihr Setup auf ccloud³

Registrieren Sie sich in der ccloud³ und erhalten Sie 200 € Startguthaben für Ihr Projekt – z. B. für eine PostgreSQL-VM mit automatischen Backups.

centron Redaktion Technische Redaktion

Das Redaktionsteam von centron schreibt Anleitungen aus dem Betriebsalltag: getestet auf unserer eigenen Plattform, betrieben im Rechenzentrum in Hallstadt bei Bamberg.

Kategorie Linux Basics
Teilen
Noch offene Fragen?

Unser Team hilft Ihnen bei Ihrem konkreten Setup weiter – von Menschen, die die Plattform selbst betreiben.

War dieses Tutorial hilfreich?

Ihre Antwort wird anonym gespeichert und hilft uns, die Tutorials zu verbessern.

Kommentare

Noch keine Kommentare – stellen Sie die erste Frage zu diesem Tutorial.

Zum Kommentieren anmelden

Kommentare stehen centron-Kunden offen. Melden Sie sich in Ihrem Konto an, um eine Frage zu diesem Tutorial zu stellen.

Weiterlesen

Das könnte Sie auch interessieren

Jetzt kostenlos anfangen

Melden Sie sich an und erhalten Sie in den ersten 60 Tagen ein Guthaben von 200 € bei centron.

Dieses Werbeangebot gilt nur für neue Konten. Angebot ausschließlich für Gewerbetreibende.

Jetzt loslegen Sales kontaktieren