This guide will show you how to install a Minecraft Server on a CloudVM Server
For this guide, we recommend using Ubuntu 14.04 x64 template on the "Starter +" (10-15 Players) or "Business" (For 15-25 Players) CloudVM Package available from our CloudStore at https://cloudstore.blacknight.com/
Log into your Ubuntu server using SSH using an application such as "PuTTY" using the username and password listed on your Cloud Control Panel, and make sure that the system is up-to-date:
sudo apt-get update
Once that has been completed, we need to install Java. This is the what Minecraft runs on:
sudo apt-get install default-jdk
Make sure that it has been installed by running:
Now, we need to download the Minecraft Server .jar:
Navigate to: https://minecraft.net/en/download/server
Right click the "minecraft_server.X.XX.X.jar" link and click "Copy Link Address"
In your SSH console, type: (Note: This is the latest version at time of writing, please see link above for newer .jar file)
To make things easier, rename the file name from minecraft_server.1.10.2.jar to minecraft_server.jar using:
mv minecraft_server.1.10.2.jar minecraft_server.jar
We will be executing the .jar file in order for the server to run, but to keep it running, we must maintain it in what is known as
To install screen, type:
sudo apt-get install screen
And start it:
screen -s "Minecraft"
Run this command to start the Minecraft Server:
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
You will see:
admin@server:/home/test/mctest>java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
[Server thread/INFO]: Starting minecraft server version 1.10.2
[Server thread/INFO]: Loading properties
[Server thread/WARN]: server.properties does not exist
[Server thread/INFO]: Generating new properties file
[Server thread/WARN]: Failed to load eula.txt
[Server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
[Server thread/INFO]: Stopping server
[Server Shutdown Thread/INFO]: Stopping server
As a requirement, you will need to accept Minecraft's "End User License Agreement".
This can be accepted by typing:
Go the line
eula=false and change it to
Ctrl+O and Enter and then
Ctrl+X to exit nano.
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui again.
This may take a couple of minutes for it to start while it generates the world.
To exit screen, press
Ctrl+a then push
To re-attach to the screen (to run commands), type
screen -x and push enter.
To connect to the Minecraft Server, open your Minecraft game client, go to "Multiplayer" and click "Add Server"
Type in the name of the server and input your Server IP Address, and click "Done".
Click on your server, and click "Join Server" and now you are in your newly created world.
We recommend installing McMyAdmin https://www.mcmyadmin.com/ which will allow you to manage the Minecraft server from your web browser.
If you have any queries on this, please contact our Support team - see the following for our contact details: