Part 2 - Image Raspbian, Basic Settings and Updates
Archive note: This page documents the January 2016 Raspbian Jessie setup. Read the compatibility and security warning in Part 1 before using any of these commands on a current system. The Jessie image used here had the old default pi account. Raspberry Pi OS stopped creating that account automatically in April 2022, so the login steps below belong specifically to this historical image.
First off we need to get an operating system onto the MicroSD card. We will be using the official image from raspberrypi.org. At the time of writing the most recent version was Raspbian Jessie Lite (November 2015). To restore this onto a 4GB or larger MicroSD card, we used one of the following depending on the computer running the guide:
- Win32 Disk Imager for Windows
- ApplePi Baker 1.81 for OS X
ddfor Linux
Once imaging has completed, insert the MicroSD card into the powered-off Raspberry Pi, then connect it to power and ethernet.
For this 2016 setup, I recommended at least a 10 watt (5 volt, 2 amp) power adapter. Using a USB port on your computer probably won’t have enough juice. Ordinary USB 2.0 data ports offer up to 2.5 watts (5 volt, 0.5 amp), while USB 3.0 data ports offer up to 4.5 watts (5 volt, 0.9 amp). Charging ports can differ. It might cut it, but a dedicated power supply is the better move, with plenty of amperage left over.
Use something like Angry IP Scanner to help locate the Raspberry Pi on your local network if it is headless. Otherwise, check the output on an attached HDMI screen. Note down its IP address, in the dotted form xxx.xxx.xxx.xxx, because we’ll need it to connect remotely over SSH. No, not that type of xXx!
Pick up an SSH client. OS X and Linux already have one built in:
Log in to the Raspberry Pi remotely with the IP address you noted earlier:
ssh pi@xxx.xxx.xxx.xxx
You are now logged in to the Raspberry Pi remotely. Congratulations!
Next up we need to run the basic setup options:
sudo raspi-config
For this Jessie-era setup, I used:
- Expand Filesystem, to fill the MicroSD card
- Overclock, set to None because there was no need for it here
- Advanced, Hostname, changed to WebServer
- Advanced, Memory Split, set to 16 MB
After completing these it will ask to reboot. Once it has rebooted, log back in over SSH:
ssh pi@xxx.xxx.xxx.xxx
The update command used throughout this Jessie-era setup was:
sudo apt-get update && sudo apt-get upgrade
Once the updates have installed, reboot for good measure:
sudo reboot
Sources
- Raspberry Pi - An update to Raspberry Pi OS Bullseye
- Microchip - Universal Serial Bus (USB) Technology
Advance onward to part 3 or head back to the table of contents on page 1.