Installing Minecraft server on Ubuntu 20.04

The following guide describes how to install the Minecraft server on Ubuntu 20.04.
Made with just a few steps.

We log in to the console as root and update the repositories and system:

The next step is to install git

Time for java installation will be done with the command:

Java versions can be verified by issuing a command:

the result of the:

We go to the Minecraft server installation

At the beginning we add the user to the system:

We are migrating to this user:

We create catalogs:

The next step is to install mcron. We download it by issuing a command:

Next:

We download the minecraft server

We can run it:

Most likely, we will see the error of lack of license consent as in the log below:

edit file

And we change from false to true

The next step is to set the rcon password

edit file:

And configure as follows entering your password:

We're creating a service daemon:

The content:

We're reloading the daemon and starting the service:

After checking the status by command:

We should now see our minecraft server running:

We can start the minecraft console by issuing a command:

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.