Preparing an SD card

To prepare an SD card, follow the sequence of actions as described:

  1. Download the latest Raspbian LITE image (available at https://www.raspberrypi.org/downloads/raspbian/).
  2. Connect your SD card to a computer and use Etcher (https://etcher.io/) to flash the Raspbian .img file to the SD card.
  3. Enable SSH:
cd /Volumes/boottouch ssh
  1. To enable Wi-Fi, create wpa_supplicant.conf with the following content:
network={ ssid="YOUR_SSID" psk="YOUR_WIFI_PASSWORD"}
To create a file in a Linux console, you can use the GNU nano editor. It is pre-installed in most Linux distributives. All you need is to run the nano FILE_NAME command and follow the displayed instructions.
  1. Create the /home/pi/hub folder.
  2. Create the /home/pi/hub/package.json ...

Get Industrial Internet Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.