Upload
digital-media-technologies
View
37
Download
0
Embed Size (px)
DESCRIPTION
This worksheet is about the different distributions of Linux which can be used on the Raspberry Pi. It should help to decide for the most useful one, if a user has never used a Raspberry Pi before. Overview: How to install an OS on your Raspberry Pi Useful Resources
Citation preview
handson.dmt.fh-joanneum.at
© Carelse, Pauger, Pilz 1
RASPBERRY PI
Workpackage: Distributions
Description: This worksheet is about the different distributions of Linux which can be used on the Raspberry Pi. It should help to decide for the most useful one, if a user has never used a Raspberry Pi before.
Difficulty (1-10): 2
Overview: How to install an OS on your Raspberry Pi
Useful Resources
Requirements: Hardware: PC with SD-Card-Slot SD Card (min. 4 GB) Raspberry Pi Power Supply Monitor (HDMI or Television with Chinch) Keyboard and Mouse Network Cable or Wireless Stick
Software : Linux-Distribution(s) from http://www.raspberrypi.org/downloads Win32 Disk Imager from http://sourceforge.net/projects/win32diskimager/ SD Formatter from https://www.sdcard.org/downloads/formatter_4/
Instructions handson.dmt.fh-joanneum.at
© Carelse, Pauger, Pilz 2
DISTRIBUTIONS This worksheet is about the different distributions of Linux which can be used on the raspberry Pi. It should help to decide for the most useful one, if a user has never used a Raspberry Pi before.
On www.raspberrypi.org/downloads there are always the latest versions of the most used distributions.
If a user does not know exactly what he wants to do with his/her own Raspberry Pi it is recommended to download the “New Out Of Box Software” which contains a collection of the most popular distributions: Raspbian, Pidora and two different Versions of XBMC.
In this project and the following worksheets we will use Raspbian because it is the official recommended distribution of the Raspberry Pi Foundation.
Pidora is also a Linux Disturbution which was specially developed for the Raspberry Pi. It contains software packages form the Fedora Project. But at the moment the latest Version of Pidora it is about 6 months old.
XMBC is a Home Theatre Software and can only be used to provide Media over the network but is not thought to be an OS on which you can develop or access the GPIOs of the Raspberry Pi.
Instructions Prepare SD card In the first step you should format your SD card. Later it will be the storage on which we install the OS and save other data. If you have different partitions on your SD Card use the SD Formatter (find link at ‘Useful Resources’) to clean it from every data.
Flash Distribution to SD After (or during) that you should download your chosen distribution. In my case I use the 2013-09-25-wheezy-raspbian.img.
Then you can start the Win32 Disk Imager (find link at ‘Useful Resources’), select your SD-card and your image and click on ‘Write’.
This will take a few minutes. After that you can insert your SD-card in the SD-slot of your Raspberry Pi and connect it to the power supply. As soon as the Raspberry Pi is connected to the power supply it will start.
First Startup At the first startup there are some possibilities to configure your Raspberry Pi as expanding root partition to fill SD card (if image was smaller as space on your SD-Card), setting keyboard layout and other things.
If you have a German Keyboard it is important to change the keyboard layout. Otherwise you will have problems in finding the right keys for typing in the default password (raspberry) and other things.
Update your Raspberry Pi After finishing the raspi-config the Raspberry Pi will start by default in the console. There you have to login with the user pi and password Raspberry Pi first.
It is recommended to configure network settings so that you can upgrade programs which are pre-installed on Raspbian. sudo apt-get update
sudo apt-get upgrade
Now your Raspberry Pi is up-to-date and you can start working with it. If you want to develop on it, continue with worksheet “Node.js on Raspberry Pi”.
Useful Resources handson.dmt.fh-joanneum.at
© Carelse, Pauger, Pilz 3
Useful Resources Quick-Start-Guide
http://www.raspberrypi.org/wp-content/uploads/2012/04/quick-start-guide-v2_1.pdf
Raspbian Documentation http://www.raspbian.org/RaspbianDocumentation
Durchstarten mit Raspberry Pi – Erik Bartmann http://books.google.at/books?id=aIw2XsuYEKsC&printsec=frontcover&hl=de&source=gbs_ge_summary_r&cad=0#v=onepage&q&f=false
Linux-Distribution(s) from http://www.raspberrypi.org/downloads
Win32 Disk Imager from http://sourceforge.net/projects/win32diskimager/
SD Formatter from https://www.sdcard.org/downloads/formatter_4/