Are you thinking of setting up Minecraft server? Well, setting up a Minecraft server on Linux is a pretty easy task on the command line.
While choosing your server ensure beforehand that it has at least 1GB of RAM or preferably at least 2GB.
First and foremost thing,you need to do is to connect to your server through SSH. If you are using Mac, you can open up Terminal, or if you are using PC, you can connect with PuTTY.
Once the command line is opened, login simply by typing:
Now enter the password when prompted. When you are setting up the dedicated server on the root user, it might not be as secure as setting it up under different username. Through this post, I would like to highlight step-by-step ways for users to understand how they can add new users.
Install the Requirements –
Before going further, you need to run a quick update on apt-get, the program through which you will be able to download all of the server requirements.
sudo apt-get update
After that, you need to be sure that Java is installed on your server. And you can check this by typing the following command:
In case Java isn’t installed, then you will get a message that says “java: command not found”. If you receive this message, then download java through apt-get:
sudo apt-get install default-jdk
Steps to Install the Minecraft Server
Begin by creating a new directory wherein you can store the Minecraft files:
Once the directory is created, you can seamlessly switch into it:
Within that directory, you can download the Minecraft server software:
wget -O minecraft_server.jar
For Windows: You need to download Minecraft_Server.exe
For Mac OS: You need to download Minecraft_Server.jar
Well, you can make changes in the settings of your server simply by opening up the server properties file: