Manual Installation Minecraft-Server/en

Aus EUserv Wiki

Wechseln zu: Navigation, Suche

Installing a Minecraft server

Inhaltsverzeichnis

Installing a Minecraft server

General

Minecraft is a sandbox game of a special kind, although at first glance, not very impressive. Everything looks quadrangular and pixelated and that in a time in which ultra-realistic 3D games inundating the market. Even at a second glance it is not recognized what millions of gamers excited, but if you overcome the phase of getting to know, you quickly realize the opportunities of the game and almost everyone is captivated by the spell.

In the following the procedure how to install your own Minecraft server 1.4.5 under CentOS 6.3 is explained.

Installing

Installing of Java

Since Java is required for operation, we first check whether it is already installed.

java -version

If you get something like bash: java: command not found, Java has to be installed. This is done as follows:

yum install java-1.6.0-openjdk

Now, it is checked again whether the installation was successful.

java -version

It should be returned the printout: java version "1.7.0_09-icedtea OpenJDK runtime environment (rhel-2.3.3.el6_3.1-x86_64) OpenJDK 64bit server VM (build 23.2-b09, mixed mode)

Installing the Minecraft server

Now the real server is installed.The Minecraft folder is stored in /opt. In addition, a new folder with the following commands is created:

cd /opt
mkdir minecraft

Then the data is downloaded with the following command:

cd minecraft
wget http://www.minecraft.net/download/minecraft_server.jar

Now the correct permissions for the server will be assigned:

chmod +x minecraft_server.jar

Starting and configuring the server

Now the server can be already started with the following command:

java -Xmx512M -Xms512M -jar minecraft_server.jar nogui 

In this case the server is running with 512 MB RAM. This should be increased according to need and opportunity.

Now can be shown the Help with the following command:

help (1-5)

To exit the Minecraft server, enter the following command:

stop

The configuration of the Minecraft server is stored in the file server.properties and can be also adjusted there. Normally it is in the same directory as the minecraft_server.jar. The default port used by Minecraft is 22565, and has to be opened possibly in your firewall and/or router. Now you can connect to the server with IP:PORT.