How To Set Up A Minecraft Server On Linux

Minecraft is standard sandbox indie game originally created by Swedish programmer Markus “Notch” Persson and later developed and published by Mojang. It’s a recreation about breaking and inserting blocks. At first, folks built constructions to protect towards nocturnal monsters, however as the sport grew gamers worked collectively to create fantastic, imaginative things.


Setting up minecraft server in your Linux server is straightforward and straight ahead task. The server hosting Minecraft should have at least 2GB RAM memory, as soon as we are logged in, we should always make sure that our repositories are updated:


Minecraft server requires java installed on the server. With a view to check if we already have in installed, we will execute the next command:


If Java is put in, we are going to get message with details about current Java version. If we don’t have Java, we are going to get error, like “Command not found” or similar. If we’d like to put in Java, we need to execute the following command:


We also need to install display screen on our server. We will be using it later in order to begin the minecraft server. It can keep the connection up and operating even after closing the console. To install display, we execute the following command:


After we have now installed all stipulations, it is time to install Minecraft server. We begin with creating directory that we are going to use to keep the Minecraft files:


Once it’s downloaded, we have to run it. We are going to run it inside screen, so it should keep running in background all the time. To create the display after which begin the Minecraft server we have to execute:


We’ll get some output and standing progress in addition to message that it is “done”. We are able to easily exit the display and re-attach to it any time. To exit the display screen, hit CTRL+A at the identical time after which click on on your “d” key afterwards.


To re-attach to the display screen, we listing all screens first and then re-attach to the one with the precise ID:


You can edit the primary configuration file which will be located in ~/minecraft/server.properties and alter all the settings from there. You’re now all set and the Minecraft server is installed. Dhaka’s Blog Invite all your pal to play and have enjoyable!


Would you wish to find out about Zuul, a CI/CD undertaking gating software? Download our white paper and get reading!

Leave a Reply

Your email address will not be published. Required fields are marked *