Skip to content
Back to blog

Magichosting

Minecraft Vanilla on Linux: A clean service instead of an open shell

E
Elias Bieber
Estimated reading time: 1 min

Configure the server JAR, EULA, memory and automatic startup so the world survives logouts and machine restarts reliably.

MinecraftVanillaServerLinuxJava

Minecraft Vanilla server (Linux)

mkdir minecraft && cd minecraft

Copy the JAR URL for the intended version from the official Minecraft server page. Hard-coded object URLs age quickly, so verify the version and file size before starting it.

curl -fL "OFFICIAL_SERVER_JAR_URL" -o server.jar
ls -lh server.jar

In eula.txt set: eula=true

screen -S minecraft
java -Xmx2048M -Xms2048M -jar server.jar nogui

Detach: Ctrl+A, D. Reattach: screen -r minecraft. Players connect to server-IP:25565.

Was this post helpful?

MagicHosting – Hosting with real value

Hosting pays off with MagicHosting: fair pricing, current deals and operation in SkyLink RZ. Servers, domains and personal support – no hidden costs.

  • Current limited offers from our server exchange
  • Affordable domains with transparent pricing and great offers
  • Powerful DDoS protection for maximum availability
  • Personal support when you have questions or issues