Transferring a domain name to another registrar

Find out how to create a Minecraft server on a VPS

Final up to date twenty ninth June 2021


Minecraft is a well-liked sandbox online game. It must be hosted on a server in the event you want to play in multiplayer.

You may lease a pre-built Minecraft server or you’ll be able to set it up your self on a VPS or on a devoted server. It will scale back the price and provide you with full management over your sport occasion.

This tutorial explains the way to launch a Minecraft Java Version server on an OVHcloud VPS and take a look at its connectivity.

This information will present you the way to use a number of OVHcloud options with exterior instruments, and can describe the actions to be carried out in a particular context. ou might must adapt the directions in response to your scenario.

When you encounter any difficulties performing these actions, please contact a specialised service supplier and/or focus on the difficulty with our group. Yow will discover extra info within the Go additional part of this information.


  • a Digital Non-public Server in your OVHcloud account, with 2 GB of RAM minimal
  • putting in a GNU/Linux distribution on the server
  • administrative entry (root) by way of SSH or distant desktop (Home windows) to your server
  • a primary understanding of GNU/Linux administration


This tutorial is predicated on model “1.17” of Minecraft Java Version and OpenJDK model “16.0.1”.

Step 1: Put together the server

Step one is to arrange your VPS for a Minecraft set up.

It is suggested to order a brand new VPS or reinstall an present one out of your OVHcloud Management Panel, utilizing the newest accessible launch of Ubuntu or Debian. Please discuss with our Getting began information if essential.

READ  How To Setup A Digital Personal Server Utilizing Ubuntu 14.04

As soon as the OS is put in, hook up with your VPS with SSH as described within the Getting began information.

First replace the packages to their newest variations:

Use the next command to make sure all required packages are put in.

~$ sudo apt set up display nano wget git

Set up the Java bundle:

~$ sudo apt set up openjdk-16-jdk

To keep away from safety vulnerabilities in your system, create a person named “minecraft” who will perform the server actions:

~$ sudo adduser minecraft --disabled-login --disabled-password

Merely press the Enter key to skip filling within the standard account info.

The person is now created. Notice that no password was specified for this person. That is regular as a result of the account is simply accessible when already linked by way of SSH with your personal person account.

Change to the brand new person:

The next instructions must be executed by the person “minecraft”.

To finish the setup preparations, create a folder named server.

~$ mkdir ~/server && cd ~/server

Step 2: Set up your Vanilla Minecraft server

A “Vanilla” server is an occasion with none add-ons or plugins. You’ll expertise the sport the way in which it was created by the builders.

First you’ll need to repeat/paste the obtain hyperlink for the server software program. On the official Minecraft web site, right-click on the obtain hyperlink and choose Copy Hyperlink Location from the context menu.

Server download

Again in your command line terminal, be sure you are nonetheless within the server folder and use wget to obtain the file. Exchange download_link with the precise URL out of your clipboard.

~/server$ wget download_link

Earlier than launching the server, it’s essential to conform to the Finish Person License Settlement. To attain this, enter the next command.

~/server$ echo "eula=true" > eula.txt

A file named eula.txt is now positioned on the root stage of your server, containing the road eula=true. It will inform the software program that you simply settle for the Minecraft EULA. We invite you to assessment the phrases and situations on the Minecraft web site.

Your server can now be began.

Throughout step 1, we put in the display bundle which permits opening a number of periods of the terminal (shell). We are going to begin Minecraft in a brand new session that may run within the background. Utilizing display will be very useful because it provides you the chance to launch a number of Minecraft servers concurrently.

First, we are going to create a brand new shell named minecraft1:

~/server$ display -S minecraft1

The energetic terminal window will change to a brand new shell session. You may create a number of shells; checklist them with this command:

To detach from the shell (and preserve it working), press Ctrl, then a, then d in your keyboard.

To change from one shell to a different, use this command:

~/server$ display -x name_of_shell

You too can press Ctrl, then a, then n in your keyboard.

Within the beforehand created minecraft1 shell, launch the Minecraft server with the next command. (Use ls to confirm the filename in case it differs.)

~/server$ java -jar server.jar

To close down your server, enter the command cease.

Step 3: Connect with the server

Your server occasion is now purposeful. To play the sport, obtain the Minecraft shopper from the official Minecraft web site.

Set up and launch the shopper on your working system and register.

Server connection

On the following display, enter the server identify within the discipline Server Identify, and the IP handle of the server within the discipline Server Tackle.

Server information

By default, no port must be specified.


Your Vanilla Minecraft server is now put in in your VPS.

Please observe that this set up information must also work on an OVHcloud devoted server or a Public Cloud. occasion. With these providers, you’ll have the benefit of higher stability for the reason that {hardware} is devoted.

Go additional

For add-ons, mods and to personalise your Minecraft expertise, please seek the advice of this official documentation:

Be part of our group of customers on

Did you discover this information helpful?

Please be at liberty to provide any strategies so as to enhance this documentation.

Whether or not your suggestions is about photos, content material, or construction, please share it, in order that we are able to enhance it collectively.

Your help requests won’t be processed by way of this type. To do that, please use the

“Create a ticket”