Step 1 – Install Raspbian

raspos.png

Note:

The steps below are executed on an OS X system.

 

Open a terminal, then run:

diskutil list

Screen Shot 2016-02-28 at 20.22.03.png
Identify the disk (not partition) of your SD card e.g. disk5 (not disk5s1).

Unmount the partition:

Bills-MacBook-Pro:Downloads vassilis$ sudo diskutil unmount /dev/disk5

Password: (you will be prompted by OS X to enter your password)

Volume xxxxxxxxxxx on disk5s1 unmounted

You may get an error as the one below… follow the lines…

disk4 was already unmounted or it has a partitioning scheme so use “diskutil unmountDisk” instead

Bills-MacBook-Pro:Downloads vassilis$ sudo diskutil unmountDisk /dev/disk5
Bills-MacBook-Pro:Downloads vassilis$

Copy the data to your SD card:

sudo dd bs=1m if=image.img of=/dev/rdisk<disk# from diskutil> in our case “5”

Bills-MacBook-Pro:Downloads vassilis$ sudo dd bs=1m if=2016-02-09-raspbian-jessie.img of=/dev/rdisk5

3125+0 records in

3125+0 records out

3276800000 bytes transferred in 640.209222 secs (5118327 bytes/sec)

Bills-MacBook-Pro:Downloads vassilis$

Use the SD in your raspberry pi to boot into raspbian OS and configure accordingly

Please make sure that you configure the timezone according to your location and that you configure the pi with a static IP (see below for the static IP)

The method of configuring a static IP address on Raspberry Pi has changed with the release of Raspbian Jessie. Static address settings are no longer made through the /etc/network/interfaces file, but are instead made through the /etc/dhcpcd.conf file.

  1. Use the nano text editor to modify the /etc/dhcpcd.conf file with the following command: sudo nano /etc/dhcpcd.conf
The nano text editor will open and display the contents of the /etc/dhcpcd.conf file.
  2. Press Alt + / to move to the last line of the file.
  3. Add the following lines to the end of the file:
  4. interface eth0
  5. static ip_address=192.168.1.XXX/24
  6. static routers=192.168.1.1
  7. static domain_name_servers=192.168.1.1

Adjust the values to suit your network environment.