sales@linuxssdvps.comsupport@linuxssdvps.com

How to Install Minecraft server on Linux VPS

June 12, 2016

No Comments

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: