Bulgaria 1000

How to Install Minecraft server on Linux VPS

Setting up a Minecraft server on Linux (Ubuntu 12.04) is a fairly easy task on the command line.

When selecting your vps hosting server, make sure that it has (at least)1GB of RAM, the best choice whould be 2GB of RAM.

The very first thing you will need to do is to connect to your server via SSH. If you are on a mac, you might open up Terminal, or if you are on a PC, you can connect using PuTTY. Once the command line is opened, get access by typing:

ssh username@ipaddress

Enter the password when prompted. Even though you can set up the minecraft server on the root user, it is not as safe as setting it up under another username. You can look at out this tutorial to discover how to add users.
Step One—Install the Requirements

Before moving further, we need to run a quick update on apt-get, the program via which we will get all of the server requirements.

sudo apt-get update

After that, we need to make sure that Java is installed on our linux vps server. You can verify by typing this command:

java -version

If you don’t have Java installed, you will receive a message that says “java: command not found”. You can easily, then, download java through apt-get:

sudo apt-get install default-jdk

You also need to provide your linux vps server with Screen which will always keep your server running if you drop the connection:

sudo apt-get install screen

Install the Minecraft Server

Get started with by creating a fresh directory where you will store the Minecraft files:

mkdir minecraft

When the directory is created, switch into it:

cd minecraft

Within that directory, download the Minecraft server software:

wget -O minecraft_server.jar

Since we now have installed screen, you can start it running (-S sets the sessions title):

screen -S “Minecraft server”

After the data file downloads, you can run it with Java:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

The starting text should look something like this:

2014-02-06 21:12:52 [INFO] Loading properties
2014-02-06 21:12:52 [WARNING] does not exist
2014-02-06 21:12:52 [INFO] Generating new properties file
2014-02-06 21:12:52 [INFO] Default game type: SURVIVAL
2014-02-06 21:12:52 [INFO] Generating keypair
2014-02-06 21:12:53 [INFO] Starting Minecraft server on *:25565
2014-02-06 21:12:53 [WARNING] Failed to load operators list: ./ops.txt (No such file or directory)
2014-02-06 21:12:53 [WARNING] Failed to load white-list: ./white-list.txt (No such file or directory)
2014-02-06 21:12:53 [INFO] Preparing level “world”
2014-02-06 21:12:53 [INFO] Preparing start region for level 0
2014-02-06 21:12:54 [INFO] Preparing spawn area: 4%
2014-02-06 21:12:55 [INFO] Preparing spawn area: 12%
2014-02-06 21:12:56 [INFO] Preparing spawn area: 20%
2014-02-06 21:12:57 [INFO] Preparing spawn area: 24%
2014-02-06 21:12:58 [INFO] Preparing spawn area: 32%
2014-02-06 21:12:59 [INFO] Preparing spawn area: 36%
2014-02-06 21:13:00 [INFO] Preparing spawn area: 44%
2014-02-06 21:13:01 [INFO] Preparing spawn area: 48%
2014-02-06 21:13:02 [INFO] Preparing spawn area: 52%
2014-02-06 21:13:03 [INFO] Preparing spawn area: 61%
2014-02-06 21:13:04 [INFO] Preparing spawn area: 69%
2014-02-06 21:13:05 [INFO] Preparing spawn area: 77%
2014-02-06 21:13:06 [INFO] Preparing spawn area: 85%
2014-02-06 21:13:07 [INFO] Preparing spawn area: 93%
2014-02-06 21:13:08 [INFO] Done (15.509s)! For help, type “help” or “?”

Your Minecraft server is at this point all set up. You may exit out of screen by pressing

ctl-a d

To reattach screen, type

screen -R

You can modify the configurations of your minecraft server by opening up the server properties file:

nano ~/minecraft/


Get your minecraft ssd vps hosting from us now

Leave a Reply

Your email address will not be published. Required fields are marked *