VPS & omat palvelimet (verkkohotellihallintakeskus) Ohje

How to install a Minecraft server on Linux

It'll take a while to see how the acquisition of Mojang will change things in the Minecraft world, but in the meantime, there's still the need to build stuff and avoid Creepers. Spinning up a Minecraft server is pretty straightforward. Once I had Java up and running on the server, it was a painless process to grab the Minecraft jar file, install it and get it up and operational. A quick test to make sure it's up and running and off into the biomes we go...

DIFFICULTY Basic - 1 | Medium - 2 | Advanced - 3
RELATED PRODUCTS Linux-based VPS or dedicated servers

Install Java

yum install java-1.6.0-openjdk

Create a Minecraft directory

cd /
mkdir minecraft
cd minecraft

Get the Minecraft files

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

Set permissions

chmod +x minecraft_server.jar

Install and run screen

yum install screen

Note: More about screen here: http://centoshelp.org/resources/scripts-tools/a-basic-understanding-of-screen-on-centos/

Fire it up

java -Xmx512M -Xms512M -jar minecraft_server.jar nogui

Your server should now be running.

Check to see if your server is running correctly.

If you want to check the status of your server, stop your server with:


Then, edit the server.properties file and set


Save the server.properties file and restart your server.

There is a query utility at dinnerbone.com. Point your browser to http://dinnerbone.com/minecraft/tools/status/.

Put in your server's IP address and the status tool will tell you if it can access it.

Note: As a courtesy, we provide information about how to use certain third-party products, but we do not endorse or directly support third-party products and we are not responsible for the functions or reliability of such products. Third-party marks and logos are registered trademarks of their respective owners. All rights reserved.

Oliko tästä artikkelista hyötyä?
Kiitoksia palautteestasi. Jos haluat puhua asiakaspalveluedustajan kanssa, käytä yllä näkyvää puhelinnumeroa tai chat-vaihtoehtoa.
Kiva, että meistä oli apua. Voimmeko tehdä jotain muuta?
Olen pahoillani asiasta. Kerro meille, mikä on epäselvää tai miksi ratkaisu ei toiminut oman ongelmasi kohdalla.