Post Reply 
[EASY TUT]How to install a Minecraft server on your VPS!
11-14-2011, 04:24 AM
Post: #1
[EASY TUT]How to install a Minecraft server on your VPS!
So, you just got your VPS server from here and you want to run a minecraft server?
Well first you need to have ssh connection to your server! Use putty and login
once you have logged in

Do this code in order

1. yum install java-1.6.0-openjdk (uses less ram than java)
2. which java (if it shows up with something like usr/bin/java(i forgot how it is like) then it is correctly installed) BTW press y when it says y/N
3. yum install screen (so that minecraft will run even if you exit PuTTY)
4. cd / (to get to root)
5. cd var/games (get to games folder)
6. mkdir minecraft (make minecraft folder/directory)
7. cd minecraft (to get to the folder)
8. wget http://minecraft.net/download/minecraft_server.jar (download server)
9. chmod +x minecraft_server.jar (chmod it to be accessed)
Now for why we installed java and screen
10. screen (to start running screen)
11. java -Xms512M -Xmx512M -jar minecraft_server.jar nogui (to run the server, remember to change the 512 with the amount of RAM your server has. make sure you are still cd minecraft.)
12. Ctrl + A + D (to exit safely with minecraft still running)

Congratulations you now have your server up and ready!
If you want to change the settings and stuff get filezilla and sftp to it and go to var/games/minecraft and edit the files there!

Now go and play on your server!

If you liked my tutorial then rep me +1 Smile

VPS 25 by http://FREEVPS.US
Akshay Productions - Technology Tips, Tricks, Tutorials, and more!
[Image: mybbsig.php]
User Tools
Quote this message in a reply


11-14-2011, 05:29 AM (This post was last modified: 11-14-2011 05:29 AM by dmmcintyre3.)
Post: #2
RE: [EASY TUT]How to install a Minecraft server on your VPS!
You don't want to set the ram limit to the amount of ram your server has. I have my MC server ram limit set to 800MB and it uses 1.25GB.
User Tools
Quote this message in a reply
11-14-2011, 06:15 AM
Post: #3
RE: [EASY TUT]How to install a Minecraft server on your VPS!
don't you have to set a minimum and maximum though?

VPS 25 by http://FREEVPS.US
Akshay Productions - Technology Tips, Tricks, Tutorials, and more!
[Image: mybbsig.php]
User Tools
Quote this message in a reply
11-14-2011, 06:56 AM
Post: #4
RE: [EASY TUT]How to install a Minecraft server on your VPS!
-Xmx sets the maximum heap size not the total amount of ram Java can consume.
-Xms sets the initial heap size.
User Tools
Quote this message in a reply
11-14-2011, 07:13 AM
Post: #5
RE: [EASY TUT]How to install a Minecraft server on your VPS!
What are heap sizes?

VPS 25 by http://FREEVPS.US
Akshay Productions - Technology Tips, Tricks, Tutorials, and more!
[Image: mybbsig.php]
User Tools
Quote this message in a reply
11-14-2011, 07:25 AM
Post: #6
RE: [EASY TUT]How to install a Minecraft server on your VPS!
This isn't the best page on the subject, but it should get the point across
http://blog.java-hoster.com/2011/java-co...heap-space
User Tools
Quote this message in a reply
11-14-2011, 08:59 AM
Post: #7
RE: [EASY TUT]How to install a Minecraft server on your VPS!
oh yeah, now i understand it

VPS 25 by http://FREEVPS.US
Akshay Productions - Technology Tips, Tricks, Tutorials, and more!
[Image: mybbsig.php]
User Tools
Quote this message in a reply
11-14-2011, 03:49 PM
Post: #8
RE: [EASY TUT]How to install a Minecraft server on your VPS!
Why not use ibm's jre?
User Tools
Quote this message in a reply
11-14-2011, 10:05 PM
Post: #9
RE: [EASY TUT]How to install a Minecraft server on your VPS!
(11-14-2011 03:49 PM)Aquambush Wrote:  Why not use ibm's jre?

Maybe he has a VPS with a large ram and does not need it... ... Just saying

[Image: sig.php?id=3863]
User Tools
Quote this message in a reply
11-15-2011, 01:29 AM
Post: #10
RE: [EASY TUT]How to install a Minecraft server on your VPS!
Yeah but most vps's here don't have a lot of ram so using ibms jre just sounds like it would be more helpful for the ppl with low ram vps's
User Tools
Quote this message in a reply
Post Reply 


Forum Jump:



User(s) browsing this thread:
1 Guest(s)