MineOS – Awesomely Easy Minecraft server

Just thought i would let you know about a cool OS you can get for free. It just works. Download the Live disc and boot up on any old pc you have. It installs the base Linux system and a cool front end to make it super easy via HTML to startup and edit your server at any time. You still have access to command line, ssh and ftp. I have been running a craft bukkit server at version 1.6.4 of minecraft for a few months now with no problems.

http://minecraft.codeemo.com/

Raspberry PI – FreeCiv Server install

From freeciv.org:

Freeciv is a Free and Open Source empire-building strategy game inspired by the history of human civilization. The game commences in prehistory and your mission is to lead your tribe from the Stone Age to the Space Age…

These instructions are for installing and running a freeciv server on the raspberry pi. It works surprisingly well.

#Install the files

  • sudo apt-get install -y freeciv-server freeciv-client-gtk

#Start the server

  • freeciv-server

#done. no really, thats it.

Server options: http://freeciv.wikia.com/wiki/Server_Manual

#now grab a game client and connect to the PI’s ip

http://freeciv.wikia.com/wiki/Download

connect to freecivplayer listgame is working

Raspberry PI – Cacti Install and Monitor Qnap NAS w/SNMP

Pibow Case 04
#edit settings

  • sudo raspi-config
    1. Expand File system to use entire SD card
    2. Memory Split to 16
****NOTE: From here down, the instructions are not Raspberry Specific. Should work on Debian, ubuntu, etc

————————————————–

#Update/Upgrade

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

#install Cacti

  • sudo apt-get install -y cacti

#Set a password for mysql if you want or leave it blank
#Hit ok a couple times

#Which kind of web-server should be used by cacti?

Apache2

#meanwhile back on the qnap…

On your pc:

  1. http://QNAP_NAS_IP:8080
  2. Go to Network Services and Select SNMP Settings
  3. Enable SNMP Service
  4. Enter your raspberry’s IP in Trap 1
  5. You can leave the Community field or change it. This is your snmp “password”. You will need to enter it in the Cacti page.

qnap snmp settings

#Back at the Raspberry pi, eventually you will be asked if you want to “configure database for cacti with dbconfig-common” on the raspberry.

<YES>

#When it is done it will drop you back to the command prompt. You are now done with the PI.

#Back at your computer:

Cacti Installation - Next

  1. http://Raspberry_PI_IP/cacti
  2. Next >>
  3. Next >>
  4. Finish

first cacti login

  1. LOGIN!
  2. Admin / Admin
  3. Make a new password
  4. success!

#Add the Qnap in the Cacti webpage

  • Choose Devices
  • Click on ADD
    • Description: Some name
    • Hostname: IP or Hostname of NAS
    • Host Template: Linux Server
    • SNMP version 2
    • SNMP community: whatever you entered in the QNAP above
    • CREATE

device add

  • If successful you should see some info at the top like the picture below:

device add succesfull

#Now its time to make some graphs

Select Create Graphs in the top right

You will see a list of things you can monitor. You probably want CPU, memory, eth0, and the disk partitions. Select the things you want to monitor and “create”

make graphs

#Now we just need to add it to the Graph Tree

On the left, select Graph Tree and than Default Tree

default tree

Click Add on the right.

Change Item type to HOST and find your Device Name

add host

Click CREATE.

#No go to Graphs on the top and open the Default Tree to verify that it is showing up. It will take 5-10 minutes to show any graphs.

graph tree list

#Take a break

final graphs

I have a fever and the only cure is more cacti

Raspberry Pi – WordPress Install

#Upgrade and Update

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

#Install LAMP

  • sudo apt-get install -y apache2 php5 mysql-client mysql-server tomcat6 vsftpd

#Setup MYSQL

  • mysql -u root -p
  • dpkg-reconfigure mysql-server
  • CREATE DATABASE wordpressDBname;
  • GRANT ALL PRIVILEGES ON wordpressDBname.* TO ‘wordpressusername’@’localhost’ IDENTIFIED BY ‘wordpresspassword‘;

#install wordpress

#Open your browser

  1. http://yourRaspberryIP/wordpress/wp-admin/install.php
  2. Fill in Database Name, User Name, and Password the same as entered above.
  3. Run the install and than browse to your new wordpress site
  4. http://yourRaspberryIP/wordpress/

Pi Press Screen capture

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