How To Set Up A Minecraft Server On Linux

Drag to rearrange sections
Rich Text Content

Minecraft is fashionable sandbox indie sport originally created by Swedish programmer Markus “Notch” Persson and later developed and printed by Mojang. It is a sport about breaking and inserting blocks. At Minecraft-servers , folks built buildings to protect against nocturnal monsters, but as the game grew players worked together to create wonderful, imaginative things.


Setting up minecraft server in your Linux server is easy and straight ahead activity. The server hosting Minecraft ought to have at the least 2GB RAM memory, as soon as we are logged in, we should ensure that our repositories are up to date:


Minecraft server requires java put in on the server. To be able to verify if we already have in put in, we'll execute the following command:


If Java is installed, we will get message with information about present Java version. If we don’t have Java, we will get error, like “Command not found” or comparable. If we'd like to install Java, we have to execute the following command:


We also need to put in display on our server. We can be utilizing it later so as to begin the minecraft server. It's going to keep the connection up and running even after closing the console. To put in display screen, we execute the next command:


After now we have put in all prerequisites, it is time to put in Minecraft server. We begin with creating directory that we are going to use to keep the Minecraft recordsdata:


As soon as it's downloaded, we have to run it. We are going to run it inside screen, so it should keep running in background on a regular basis. To create the screen after which start the Minecraft server we have to execute:


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


To re-attach to the screen, we list all screens first after which re-attach to the one with the particular ID:


You may edit the primary configuration file which shall be situated in ~/minecraft/server.properties and change all the settings from there. You’re now all set and the Minecraft server is put in. Invite all of your pal to play and have enjoyable!


Would you like to know about Zuul, a CI/CD project gating device? Download our white paper and get reading!

rich_text    
Drag to rearrange sections
Rich Text Content
rich_text    

Page Comments

No Comments

Add a New Comment:

You must be logged in to make comments on this page.