Raspberry PI – Minecraft Server Build

Install Raspian “Wheezy” and run initial setup program:

  • sudo raspi-config
    1. Set memory split to 16megs to the GPU
    2. Expand File system
    3. Overclock it

#reboot

  • sudo shutdown -r now

#update/upgrade raspian

  • sudo apt-get update
  • sudo apt-get upgrade

#Install Java

  • sudo apt-get install -y default-jdk

#create install location

  • cd /home/pi/
  • sudo mkdir minecraft
  • cd minecraft

#download minecraft server jar

#to start the server run the following:

  • sudo java -Xms128M -Xmx256M -jar /home/pi/minecraft/minecraft_server.jar nogui

#server will take a few minutes to create the world. After its done type stop to end the server. Edit the config file to fit  your needs and then start minecraft server again. ctrl-x to save.

  • sudo nano /home/pi/minecraft/server.properties

#to start the server on boot edit the rc.local file and add the above “sudo java…” line.

  • sudo nano /etc/rc.local

EOM

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s