In this article, we will have explained the necessary steps to install and configure the Minecraft Server on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.
Minecraft is one of the most famous building games in the world developed by Microsoft Studious. In this game, you are allowed to build anything you need and explore it in a 3D world. In this game, you are allowed to build anything you need and explore it in a 3D world. If you host your own Minecraft server, you decide the rules, and you and your friends can play together in this interactive adventure game.
Install Minecraft Server on Ubuntu 20.04
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
Step 2. Install Java.
Next, install the OpenJDK version 8 of Java, specifically the headless JRE:
After installing the java successfully, you can check its version to ensure that it is installed:
Step 3. Creating Minecraft User.
Add the new “minecraftuser” to the “sudo” group:
Step 4. Install Minecraft on Ubuntu system.
We will create a new directory to keep our Minecraft Server files in it:
Then, we are going to download the Minecraft Server:
After that, set permissions on the downloaded Minecraft Server to be executable:
As you can see from the output above you’ll need to agree to the Minecraft EULA in order to run the server. Open the eula.txt file and change eula=false to eula=true:
#Thu Jun 15 12:46:53 PST 2020
Now you can start the Minecraft Server using the following command:
That’s all you need to do to install Minecraft on Ubuntu 20.04 Focal Fossa. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.