From their FAQ: “The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard”. The RasPi is an ultra-cheap, energy-efficient Linux computer.
Preparing the SD card on Mac OS X
- Get a supported SD card for the OS installation (I’m using a Kingston 8GB class 4 SD card)
- Download the Raspbian ZIP-file from http://www.raspberrypi.org/downloads (I use the most recent Raspbian “wheezy”, 2012-12-16), unzip to get at the .IMG file
- Open Terminal on OS X
- Insert the empty SD card and determine it’s disk name (my card was mounted at /dev/disk4s1; use “df” before and after inserting to determine the name)
- Run “sudo diskutil unmount /dev/disk4s1″ to unmount any partitions on the SD card
(verify that disk name!)
- Run “sudo dd if=2012-12-16-wheezy-raspbian.img of=/dev/rdisk4 bs=1m” to write the image to the raw disk device
(again, verify that disk name!)
- Run “sudo diskutil eject /dev/rdisk4″ after the image is written to SD card.
- Remove the SD card from your Mac – done!
The Raspberry Pi lives!
Insert the SD card into your Raspberry Pi. Connect a monitor (I use an HDMI-to-DVI cable), USB mouse and keyboard. Optionally, connect it to the network. Once you power on the Raspberry Pi, you should be greeted with a familiar Linux boot sequence. After answering a couple of questions you should see a graphical desktop environment. It has a web browser, terminal etc. just like any other Linux computer.
Since I’ll be using the Raspberry Pi mostly as a small headless server, I’ve used “raspi-config” to disable the desktop and enable SSH.
Software updates and additional packages
To install any available software updates, run “sudo aptitude update; sudo aptitude upgrade”.
If you want to use the I/O pins (for your electronics projects), you will want the WiringPi and WiringPi-Python libraries installed.
sudo apt-get install git-core
git clone git://git.drogon.net/wiringPi
sudo apt-get install python-setuptools
git clone https://github.com/WiringPi/WiringPi-Python.git
git submodule update --init
sudo python setup.py install
You can now access the GPIO pins using Python, or using the ‘gpio’ commandline tool.
Here’s to a happy and healthy 2013.
Oh, and to a year with hopefully a bit more time to play with geeky toys like the Raspberry Pi and JeeNode
Our recently installed FreeNAS on an HP ProLiant MicroServer N40L is currently being used for backing up VMs (CentOS 6.0 KVM).
The web-based GUI is quite easy to work with, and the filesystem (ZFS) is quite resilient as we found out after a couple of power failures caused by accidentally tripping our ground protection fault / RCD switch…
Still, I’ve ran into some issues that will hopefully be resolved in the next Beta-release:
- Remote syslog does not work due to an error in the startup script (Ticket #1433)
- Transmission PBI configuration does not work, always reset to defaults (Ticket #1477, Ticket #1512)
The syslog configuration can be fixed manually in /etc/rc.conf. The Transmission PBI needs more fixing before it can becomes useful; at the moment it insists on saving downloads into the jail’s root directory, which has limited quota.
Overall verdict so far: FreeNAS is a great piece of software, ZFS snapshots are awesome, still a couple of rough edges but hey, it’s a BETA
Vandaag viert Koetje alweer haar tweede verjaardag – de tijd vliegt.
Ze hangt wel eens in de gordijnen, soms probeert ze Bommel te vangen maar eigenlijk is ze heel lief. Blacky en Koetje kunnen het heel erg goed vinden, dus het is een gezellige beestenboel met onze 3 katten…
Hier is ze in de weer met een duivenveer die ze in de tuin gevonden heeft – blijkbaar héél interessant!
♫ Happy Birthday to Koe,
Happy Birthday to Koe… ♫
I recently stumbled upon another Nagios plugin that no longer works with SELinux under RHEL / CentOS 6.2: check_linux_raid.
Just like the check_disk plugin, it has the nagios_checkdisk_plugin_exec_t SELinux type. As of May 2012, this problem has not yet been fixed.
The workaround is simple, as with the check_disk plugin:
chcon -t nagios_unconfined_plugin_exec_t /usr/lib64/nagios/plugins/check_linux_raid
Or, for 32-bit systems:
chcon -t nagios_unconfined_plugin_exec_t /usr/lib/nagios/plugins/check_linux_raid