Raspbian Quick Start Guide
Follow these steps to get up and running with a fresh install of Raspbian Lite, all ready for the temperature-machine.
- Download the image of Raspbian Stretch Lite
- On Mac, use Etcher to flash a new SD card with the image. Refer to raspberrypi.org for other platforms.
-
Setup your wifi by inserting your new SD card to your machine and creating a file
wpa_supplicant.conf
under/boot
. Mine looks like this (thescan_ssid=1
is only needed if you’re using a hidden network). On Mac, it’s under/Volumes/boot
.ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="ssid" scan_ssid=1 psk="plain text password" }
- Whilst you’re there, add
dtoverlay=w1-gpio
to the/boot/config.txt
file. - Also run the following
touch ssh
against theboot
folder (e.g.touch /Volume/boot/ssh
on Mac) - Unmount and stick the card in the Pi. Power up.
- On the Pi (
ssh pi@raspberrypi.local
), runraspi-config
to:- Set the hostname to the room name (
garage
,study
etc) - Expand the file system
- Set the hostname to the room name (
- Reboot. Follow the install steps.
Extras
You may want some optional extras:
-
To disable the activity light, add the following to
/boot/config.txt
(tested on the Pi Zero only).# disable the activity LED (intended for the Pi Zero) dtparam=act_led_trigger=none dtparam=act_led_activelow=on
-
Share the disk with Mac OSX
sudo apt-get install netatalk
-
Set the timezone (for UK)
sudo cp /usr/share/zoneinfo/Europe/London /etc/localtime
-
Fix
vi
being weirdecho 'set nocompatible' > ~/.vimrc