Install a Minecraft Server on a VPS

First install java:

1. yum remove java
this will remove the java that does not work on low ram.

2. install the ibm jre
idk if these links will expire or not:
Ibm Jre x86
Ibm Jre 64-bit
if these don’t work, you will need to login:
http://www.ibm.com/developerworks/java/j…nload.html
download java se 6 for your architecture

3. install using yum localinstall –nogpgcheck filename
filename is the name of the ibm jre rpm package.

4. ln -s /opt/ibm/java-i386-60/jre/bin/java /usr/bin/java
or ln -s /opt/ibm/java-x86_64-60/jre/bin/java /usr/bin/java

i just found out you can also use a .bashrc alias:
cd ~
open .bashrc with your favorite text editor
add: alias java=’/opt/ibm/java-i386-60/jre/bin/java’
or
add: alias java=’/opt/ibm/java-x86_64-60/jre/bin/java’

5. its installed and ready to go!
java -version

now for minecraft, all you need to do now is java -jar minecraft_server.jar!

Advertisements

One thought on “Install a Minecraft Server on a VPS

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s