Hjälpcentral

Installing Minecraft on CentOS VPS

So you want to install Minecraft on your QuickWeb server? here's simple steps.

Note: We do have OpenVZ CentOS template with Minecraft ready as well, just select OS reload inside VPSManager and select CentOS+Minecraft.

 

First, Let’s go through the requirements your going to need to get started!

Requirements:

  • Dedicated Server/VPS
  • CentOS 5.x – 32-Bit/64-Bit
  • 1GB of Ram or more
  • 5GBs of Hard Drive space or more
  • Latest Java-JDK
  • Minecraft Server

That’s it for the requirements, Let’s get started!

First, We’re going to install the Java-JDK!

Open up SSH and run the following command:
yum install java-1.6.0-openjdk

 

Now let’s check if Java-JDK is now installed, Run this:

 

which java

Which should return the following:
/usr/bin/java

create a minecraft folder from root directory and go inside it

mkdir minecraft
cd minecraft

If all checks out Java is now installed on your CentOS server, But we’re not done yet let’s grab the latest minecraft server with the following command:
wget http://minecraft.net/download/minecraft_server.jar

Next, We have to grant minecraft_server.jar with the correct permissions for execution,
Run the following command:
chmod +x minecraft_server.jar

Last Step, Let’s test it!
Run the following command:
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

For further details about minecraft game mechanine, how to login etc please consult official game website at http://minecraft.net

Hjälpte svaret dig?

 Skriv ut denna artikeln

Läs även

Enabling PPTP Support on VPS (XEN and OpenVZ)

XEN VPS allows you to run PPTP/PPP protocol for Virtual Private Networking (VPN) out of the box,...

How to set domain's DNS for my VPS?

Basically you can install and run your own DNS server inside your Virtual/Dedicated server and...

Xen OpenVPN TUN/TAP Error

receiving following messages starting OpenVPN in Xen: host:/etc/openvpn# openvpn...

Installing nginx on CentOS / Fedora - VPS

Installing this ultrafast web server into your QuickWeb VPS is quite easy, just follow this step...

How to Install WHM+cPanel on my VPS?

If you are on OpenVZ you can reinstall the OS via VPSManager and select CentOS 5.x+WHM/cPanel (we...