HOW TO SET UP A MINECRAFT SERVER ON LINUX


Minecraft is common sandbox indie sport originally created by Swedish programmer Markus “Notch” Persson and later developed and printed by Mojang. It's a game about breaking and putting blocks. At first, people built constructions to guard towards nocturnal monsters, however as the sport grew players worked collectively to create wonderful, imaginative things.


Establishing minecraft server on your Linux server is easy and straight ahead process. The server hosting Minecraft ought to have at the very least 2GB RAM reminiscence, as soon as we're logged in, we must always make it possible for our repositories are updated:


Minecraft server requires java installed on the server. With a purpose to verify if we have already got in put in, we will execute the following command:


If Java is installed, we are going to get message with information about current Java version. If we don’t have Java, we will get error, like “Command not found” or related. If we need to install Java, we need to execute the following command:


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


After we have installed all prerequisites, it's time to put in Minecraft server. We start with creating directory that we're going to make use of to maintain the Minecraft files:


As soon as it is downloaded, we need to run it. We will run it inside screen, so it is going to keep operating in background all the time. To create the screen and then start the Minecraft server we need to execute:


We are going to get some output and standing progress as well as message that it's “done”. We will simply exit the display and re-attach to it any time. To exit the display screen, hit CTRL+A at the same time after which click on your “d” key afterwards.


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


You may edit the primary configuration file which will probably be located in ~/minecraft/server.properties and change all the settings from there. You’re now all set and the Minecraft server is installed. Invite lion is the king of the jungle of your friend to play and have fun!


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


Created: 04/07/2022 19:53:04
Page views: 98
CREATE NEW PAGE