Installing free Pi version of Minecraft on Raspberry PI

#Login to the raspberry from the console. (Ok i guess you could do all the installing from ssh, but you will want to be at the console for the final command)

#Start up the gui session

  • startx

#Open a web browser to http://pi.minecraft.net and copy the link to the download file.
#Open terminal window

  • sudo wget <paste>

#unzip that thing

  • sudo tar -zxvf mine<tab will auto-fill the file name you downloaded>

#Look for the new folder name

  • ls -l

#Go into the new folder

  • cd mcpi

#Start the game

  •  ./minecraft-pi

Go play some free minecraft!

Star-Made – Ubuntu Server Install

starmade-screenshot-0000

Star-Made (star-made.org) is a Minecraft style game in space where you create spaceships and explore the universe. It is currently in alpha and is free to play. And like Minecraft it runs on java, so it works on most operating systems. This tut is for installing and running the server, but the single player client files are also installed so you could play it also in that mode if you wanted.

Note 1: this will not run well enough to use on a raspberry pi, at least not without a lot of tweaking. Note 2: These instructions are based off my installing on Ubuntu Server 12.04, 32b version.

#As always update/upgrade your server before hand

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

#Install java

  • sudo apt-get install -y openjdk-7-jre

#Create directory to hold games files

  • cd
  • mkdir games
  • cd games

#download jar file

  • sudo wget http://files.star-made.org/StarMade-Starter.jar

#Run Jar to expand game files

  • sudo java -jar StarMade-Starter.jar -nogui

#make .sh file executable

  • cd StarMade
  • sudo chmod ug+x StarMade-dedicated-server-linux.sh

#startup server for first time to create server.cfg file

  • sudo ./StarMade-dedicated-server-linux.sh

#After first load, stop server and configure settings

  • cntrl-c
  • sudo nano server.cfg

#Get server IP and start Star-Made

  • ifconfig
  • sudo ./StarMade-dedicated-server-linux.sh

Startup the client and connect to it

http://star-made.org

starmade-screenshot-0003starmade-screenshot-0002starmade-screenshot-0001

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 – Xbox Motion Cam Setup

#Update and Upgrade your Raspberry PI

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

#Plug in Camera directly to raspberry pi or into hub and check to see if it is detected

  • lsusb

#install the Motion software. Motion Software Guide

  • sudo apt-get install -y motion

#Find and change settings

  • sudo nano /etc/motion.motion.conf

Daemon=ON

webcam_localhost=OFF

#Start Motion Service

  • sudo service motion start

#Browse to the webpage on your pc to see the camera feed

http://yourRaspberryIP:8081

#to access the pictures directly from your windows computer, use a program like WinSCP to ftp into /tmp/motion and copy the files to your desktop.

http://winscp.net/eng/download.php

#example pictures taken with the default picture settings 320×240 jpgs. Around 15k per picture.

Xbox Motion Capture Test 02 Xbox Motion Capture Test 01

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