MY VPS host - (Plans for $4 a month)
DirectSpace http://directspace.net/eportal/aff.php?aff=482



Step One - Buy the VPS
- I will be using centOS 32-Bit for this tutorial.
- Other Flavors may be different.

Step Two - Login into the server
-Download PUTTy
-You will receive login details from your VPS host. You most likely will have root access.
-By default your Linux VPS will not have Java installed which is required to run the minecraft sever.

Step Three - Install Java
-Now after you log into your brand new VPS you will have a command line interface thanks to putty



yum install java-1.6.0-openjdk



This will be the command to install java. (yum install will only work on some flavors of linux CentOS is being used in this tutorial)



Step Four - Downloading Server
-To keep your server organised go ahead and make a new folder.



mkdir minecraft



-You can use what ever name you want.

-Then go into that folder.
Quote:

cd minecraft


-After the folder is created you must download the server files from Minecraft.net
Quote:




-The latest minecraft server has now been downloaded to your minecraft folder.

Step Five - Running the Server


-To run the server is very easy.

-Mark sure you are in the directory where you downloaded the server files.

-There are several different start up commands you can use but i am going to stick with 2 basic ones.


java -Xms512M -Xmx1024M -jar minecraft_server.jar nogui



**Be aware the values behind Xms and Xmx can be changed if your severs hardware supports it.**

-The other way to run the sever is to run it in a screen. I recommend doing it this way because you can close the putty window and the server can still be running.


screen -A -m -d -S minelifeserver java -Xms512M -Xmx1024M -jar minecraft_server.jar nogui



**Be aware the values behind Xms and Xmx can be changed if your severs hardware supports it.**

---------------------------------------------------------------------------------------------------------------------------------

Thats it i hope this helps. This is for the basic sever that is from minecraft it's self.