Saturday, March 31, 2012

Where can I get a VPS Server?
Programs You Will Need 
PuTTy -
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
WinSCP - http://download.winscp.net/download/files/2012040102571b4f550870dc68f974d05c73560791d0/winscp506setup.exe

Preparing you VPS Server

After recieving your servers information, login to VePortal



Click OS Reload

Then select the system you would like your server to run on.

For this tutorial we will use centos-5.5-x86_64 as our operating system.
Now check the Confirm Reload box and click Reload VPS.
Yours should look as follows:






After clicking Reload VPS click return to vePortal Home Page

Putting your minecraft server on your VPS

Open PuTTy and type your servers IP under Host Name.
Now click open.
It will open a program asking you to login.
type "root" after login as: and hit Enter.
Now type in the password that was sent to your email.
(What you type for the password wont show up in PuTTy so you can copy and paste it into PuTTy)
It should now say [root@YOURHOSTNAME ~]#
Copy this to PuTTy to install Java

yum install java-1.6.0-openjdk

If installed correctly you can type "which java", hit Enter, and it should display this: "/usr/bin/java"
Next we need to create a folder for the Minecraft server files to be put in. This is done by using

"mkdir Minecraft"

(mkdir stands for MakeDirectory)
Now type "cd Minecraft". It is cap sensative so if you previously typed the m lower case then you will need to do so here too.

Here is where the actuall server is put onto the VPS

Depending on which type of server you want you will need one of two links.
========================================================================
*Normal Minecraft Server:
If you wish to get a normal server, copy and paste this into PuTTy

wget http://minecraft.net/download/minecraft_server.jar

*CraftBukkit Server:
For a CraftBukkit Server you will need to copy and past this into PuTTy

wget http://repo.bukkit.org/content/groups/public/org/bukkit/craftbukkit/1.2.4-R1.0/craftbukkit-1.2.4-R1.0.jar
========================================================================
Now type "yum install screen". Screen allows you to keep the server running even when you close PuTTy.
Type "Screen" and hit Enter.

*If your using the Normal Minecraft Server all you need to do now is copy and paste

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

Depending on your servers size you can change the value of M (MegaBites).
For example: "java -Xmx512M -Xms512M -jar minecraft_server.jar nogui"

Your server is now up!

To return to PuTTy's main screen, hold CTRL + a + b

Then to get back to your minecraft servers log, simply type

screen -r

*Although your server is up now, you should keep reading to see how to edit the files on your VPS. Such as the server.properties file.
_________________________________________________________________________________

For those using CraftBukkit you will need to open WinSCP.
Once in WinSCP type your servers IP under Host name:
Your username will be "root" and the password was emaild to you.
Leave the Port number as 22.
Now click Open.
Open your Minecraft folder.
The craftbukkit that was downloaded will have other characters behind it, rename it to CraftBukkit.
Example: craftbukkit-1.2.4-R1.0.jar would be renamed to CraftBukkit.
Now you can close WinSCP and go back to PuTTy or reopen it if you closed it.
Copy and paste this into PuTTy

java -Xmx1024M -Xms1024M -jar CraftBukkit.jar nogui


Again, M's varables can be change depending on your servers size.

Your server is now up!

If you have questions or need help, email me at VPStut@gmail.com