How to Install a Minecraft Server on a CentOS VPS
This tutorial will go over how to setup a minecraft server on a CentOS VPS. Bitronic Technologies VPS Hosting is ideal for minecraft servers, however any Xen PV CentOS VPS with enough ram will work well. Setting up a Minecraft server is simple, but there are a few requirements you must double-check:
You have a Xen-based VPS. Due to differences in how Java works with OpenVZ and Xen, a Xen server is recommended for best performance. You have at least 1GB of RAM. Less will work for a small server, but 1GB or more is ideal. You must have CentOS Linux operating system installed.
1. Start by installing Java-JDK:
# yum install java-1.6.0-openjdk
2. Check if Java was installed:
# which java
The following will be displayed if it was properly installed:
3. Switch to the root directory, if you're not there already:
4. Create a directory for Minecraft:
# mkdir Minecraft
5. Enter the directory:
# cd Minecraft
6. Download Minecraft:
# wget http://minecraft.net/download/minecraft_server.jar
7. CHMOD the Minecraft .jar like so:
# chmod +x minecraft_server.jar
8. Minecraft is now installed. You'll now need to install "screen" to keep the Minecraft server running after the SSH session is closed.
# yum install screen
9. Use the screen and run Minecraft. Enter screen:
10. Start up Minecraft (you can edit the 1024M value to match your server's RAM):
# java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
To get back to the normal screen, press these keys: Control+A+D
To get back to the screen where Minecraft is running:
# screen -r
You should now be off and running with a fully functional Minecraft server! For information on configuration query our article on configuring a minecraft server.
Was this answer helpful?
This guide will walk you through installing LMD (Linux Malware Detect) on your VPS/Dedicated...
LEMP stack is a group of open source software to get web servers up and running. The acronym...
To install cPanel, run the following commands while logged in to your VPS as the root...
This tutorial will guide you through the installation of libtorrent 0.13.0, rTorrent 0.9, and the...
This tutorial will cover the basic setup for a fully functioning web server using Webmin on a...