This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
user:jdavis34:portfolio:hpc0project3 [2012/05/01 18:56] – jdavis34 | user:jdavis34:portfolio:hpc0project3 [2012/05/01 19:03] (current) – jdavis34 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{ : | ||
+ | ======Project: | ||
+ | |||
+ | A project for HPC by Josh Davis during the Spring 2012. | ||
+ | =====Objectives===== | ||
+ | The objective here is obvious, to have a minecraft server installed correctly so that it runs and users are able to venture into their own world and create awesomeness. | ||
+ | =====Prerequisites===== | ||
+ | These are not required, but also not limited to: | ||
+ | |||
+ | * Have a working machine with a Linux based operating system installed. | ||
+ | |||
+ | * Know how to navigate within Linux so that required files are properly installed. | ||
+ | |||
+ | * Possibly if wanted you may have a working VM on the machine your working on to install this on. | ||
+ | |||
+ | * working Java on the machine you intend to install on ( will over this bellow) | ||
+ | |||
+ | =====Background===== | ||
+ | Beginning this class it was apparent the amount gamers attending. Being a game the majority of students and even the teacher enjoyed playing it was almost a obligation of us to establish this before the end of the semester came. For those of you who do not know what minecraft is, it can be looked at as digital legos, were the limits to what you create are only limited to your imagination. | ||
+ | =====Scope===== | ||
+ | |||
+ | =====Procedure Installation===== | ||
+ | ==1. First thing is first, assuming your logged into you machine ready to install this, your going to want to install Java if you have not done so previously.== | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | / | ||
+ | |||
+ | Once you are in this file make sure to add: | ||
+ | deb http:// | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | == 2. This step you want to create a directory for MineCraft and download the server file.== | ||
+ | |||
+ | | ||
+ | |||
+ | cd / | ||
+ | |||
+ | | ||
+ | mkdir minecraft | ||
+ | cd minecraft | ||
+ | |||
+ | | ||
+ | wget https:// | ||
+ | |||
+ | ==3. Now I have it what do I do with it? == | ||
+ | | ||
+ | free -m | ||
+ | <cli> | ||
+ | minty@minty-VirtualBox ~ $ free -m | ||
+ | | ||
+ | Mem: 2008 828 | ||
+ | -/+ buffers/ | ||
+ | Swap: 0 0 0 | ||
+ | </ | ||
+ | The important number to pay attention here is the 1664 and to not exceed that but allow the system to have RAM left over. | ||
+ | |||
+ | | ||
+ | java -Xms32M -Xmx1024M -jar minecraft_server.jar nogui | ||
+ | -Xms32M - This is the amount of RAM allowed for start up of the server. | ||
+ | |||
+ | -Xmx1024M - This is the cap at which it will allocate if more memory is needed. | ||
+ | |||
+ | This will result in a little slowdown whenever the allocation is done. So if you have enough RAM just give it that much on start up like so: | ||
+ | java **-Xms1024M** -Xmx1024M -jar minecraft_server.jar nogui | ||
+ | | ||
+ | =====Procedure Connecting===== | ||
+ | == 1. First step is to launch MineCraft== | ||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | **Notes** | ||
+ | * Unless you set a static IP for the computer that is hosting the game, the internal IP address can change. This affects port forwarding rules, and can make them invalid. | ||
+ | |||
+ | * You may also search "my ip address" | ||
+ | |||
+ | * Users within your network can connect with your internal IP address. | ||
+ | |||
+ | * If you are playing on the same machine on which the server is running, select the " | ||
+ | |||
+ | =====Misc Stuff Regarding Administration===== | ||
+ | == There is a good list of things listed here that you can use. I would write them up in here but there so well documented here there is no point in redundancy.== | ||
+ | http:// | ||
+ | |||
+ | == Here is another good list Item ID's that can be used to give yourself stuff == | ||
+ | |||
+ | http:// | ||
+ | (your going to need to give yourself OP to give yourself items.) | ||
+ | |||
+ | =====Reflection===== | ||
+ | |||
+ | =====References===== | ||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | http:// |