Posted on

Linux Ubuntu 20.04 Minecraft Server

So I just started with Linux on ubuntu and experimentation so here is one of my attempts. Please note that the laptop I am using for this is second-hand and not able to run the server, the ram is a bit fried to do more than display the Ubuntu 20.04 LTS desktop

  • sudo apt update && sudo apt upgrade
  • sudo apt install openjdk-8-jre-headless screen
  • sudo adduser minecraft
  • —> login as minecraft <—
  • wget -O minecraft_server.1.13.jar
  • —> Create /home/minecraft/ <—
  • #1/bin/sh
  • java -Xms1024M -Xmx1536M -jar minecraft_server.1.13.jar -o true
  • —> make script executable <—
  • chmod +x /home/minecraft/
  • run program once then open /home/minecraft/eula.txt
  • change eula=false to eula=true
  • save file and exit
  • Thats it, you can now connect to the server