How To Setup A Minecraft Server On Ubuntu 14 - Globo.Tech

How To Setup A Minecraft Server On Ubuntu 14 - Globo.Tech


Minecraft servers are designed for cooperative play with different gamers online or by means of a neighborhood area community (LAN) connection. Jasonotto can run in your hosted server, local dedicated hardware server, local gaming laptop, or virtual personal server hosted on a personal machine.

Every Minecraft server requires default software program offered by Mojang, which capabilities on Windows, Mac OS X, or Unix-based mostly techniques. Additionally, Mojang gives different server choices, together with LAN servers, external server clients, a rented server, and completely different realms which will vary.

To be able to comply with this guide you might want to have the following in place:

• One node (Cloud Server or Dedicated Server) that has Ubuntu 14.04 LTS installed.

• SSH Root Entry to your server

Tutorial

Server Configuration

To start, you have to verify that your server is at the moment up to date:

apt-get replace && apt-get upgrade -y

After confirming that your server is current, checking that the latest model of Java has been put in is subsequent:

java -version

If it’s confirmed that the newest model of Java isn't installed, it's possible you'll obtain a warning stating “The program ‘Java’ can be found in the following packages.” If that is the case, you will want to install Java via the following command (confirming with the Enter/Return key when prompted):

add-apt-repository ppa:openjdk-r/ppa

apt-get replace

apt-get set up openjdk-8-jdk -y

Throughout setup, you will also need to install a screen package deal that can enable your server to proceed working, regardless of your ssh connection status:

apt-get install display -y

Installing Minecraft

To start, you'll establish a folder in your /dwelling path:

mkdir /residence/minecraft ; cd /house/minecraft

Following that, you'll obtain the present version of the server software program from Mojang:

wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Obtain/versions/1.12.1/minecraft_server.1.12.1.jar

As soon as the obtain has finished, you can start the server operating as a daemon:

display -S "Minecraft"

At this level, you may have virtually accomplished organising your server for Minecraft, however you will need to simply accept and confirm that the tip Consumer License Settlement (EULA) has been accepted as true. We encourage you to read by means of the EULA entirely earlier than accepting it.

After you’ve learn via the EULA, you will want to create a text file, known as eula.txt, to set it as true:

contact eula.txt

echo "eula=TRUE" > eula.txt

Now that you've got completed reading the EULA and accepted it, you can start your new server:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

As your server begins, you'll observe the following in your console window:

root@globotech-minecraftserver-ubuntu14:/house/minecraft# java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

[15:12:05] [Server thread/Data]: Starting minecraft server version 1.12.1

[15:12:05] [Server thread/Info]: Loading properties

[15:12:05] [Server thread/WARN]: server.properties does not exist

[15:12:05] [Server thread/Information]: Producing new properties file

[15:12:05] [Server thread/Info]: Default recreation type: SURVIVAL

[15:12:05] [Server thread/Info]: Generating keypair

[15:12:06] [Server thread/Information]: Starting Minecraft server on *:25565

[15:12:06] [Server thread/Information]: Utilizing epoll channel sort

[15:12:06] [Server thread/Data]: Getting ready degree "world"

[15:12:06] [Server thread/Information]: Loaded 488 developments

[15:12:07] [Server thread/Info]: Making ready start area for level 0

[15:12:08] [Server thread/Data]: Preparing spawn area: 7%

[15:12:09] [Server thread/Data]: Getting ready spawn space: 14%

[15:12:10] [Server thread/Information]: Preparing spawn area: 23%

[15:12:11] [Server thread/Information]: Preparing spawn area: 31%

[15:12:12] [Server thread/Information]: Preparing spawn space: 37%

[15:12:13] [Server thread/Information]: Getting ready spawn space: 46%

[15:12:14] [Server thread/Data]: Preparing spawn area: 54%

[15:12:15] [Server thread/Data]: Getting ready spawn area: 63%

[15:12:16] [Server thread/Info]: Making ready spawn area: 73%

[15:12:17] [Server thread/Data]: Preparing spawn space: 84%

[15:12:18] [Server thread/Information]: Making ready spawn area: 94%

[15:12:19] [Server thread/Data]: Carried out (12.866s)! For assist, type "help" or "?"

Congratulations! You’ve finished setting up your new Minecraft gaming server on Ubuntu 14.04, and you can exit the screen by hitting CTRL + a + d. If you happen to choose to reattach the display screen, you'll be able to do so in the following method:

display -R

If mandatory, you may edit your server’s configuration by means of the next path:

nano /house/minecraft/server.properties

Your Minecraft server setup is complete, and you’re ready to start utilizing the server for LAN or online gameplay in cooperative mode. Should you found this setup guide helpful, please share it with others seeking to setup their game server.

Report Page