Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
minecraft_server_notes [2011/12/13 23:51]
Joel Dare
minecraft_server_notes [2011/12/14 17:18] (current)
Joel Dare [512M of RAM]
Line 1: Line 1:
 +====== Minecraft Server Notes ======
 +
 +I'm messing with Minecraft to see if I can setup a server for my Daughter. ​ These are a few notes about the setup.
 +
 +===== Installing the Java Runtime Environment (JRE) =====
 +
 +My VPS is running Debian. ​ Here's the command to install Java from the nonfree repository (which was already in my /​etc/​apt/​sources.list file).
 +
 +  sudo apt-get install sun-java6-jre
 +
 +===== Install Directory =====
 +
 +I've installed minecraft in the following directory.
 +
 +  /​opt/​minecraft
 +
 +I believe that's the correct place to put it, based on the Filesystem Hierarchy standard.
 +
 +===== 512M of RAM =====
 +
 +My VPS only has 512M of RAM.  This is well below the recommended amount (2GB) for Minecraft. ​ The following command starts the Minecraft server with 32M of RAM and allows up to 448M total (leaving 64M for other things).
 +  ​
 +  java -Xms32M -Xmx448M -jar /​opt/​minecraft/​minecraft_server.jar nogui
 +  ​
 +You can also run it through nohup with the following command.
 +
 +  nohup java -Xms32M -Xmx448M -jar /​opt/​minecraft/​minecraft_server.jar nogui
 +
 +Or through screen with the following.
 +
 +  screen -dmS minecraft java -Xms32M -Xmx448M -jar /​opt/​minecraft/​minecraft_server.jar nogui
 +
 +If you have run it through screen you can see (reconnect to) the minecraft server'​s command prompt with the following command.
 +
 +  screen -r minecraft
 +
 +The server gives the following error on startup. ​ For now, I'm ignoring the error because I don't want to pay for a server with 2G of RAM.
 +  ​
 +  [WARNING] **** NOT ENOUGH RAM!
 +  ​
 +===== Conference Setup =====
 +
 +Although it's not specific to Minecraft, I would also like to setup a way for players to chat with headsets. Mumble might be the option.
 +
 +===== Subdomain =====
 +
 +Connections can be made to the following URL.
 +
 +  x.joeldare.com
  
 

comments powered by Disqus
minecraft_server_notes.txt ยท Last modified: 2011/12/14 17:18 by Joel Dare