In my regular job, I manage a network security engineering team for a Fortune 50 company with over 200,000 employees. We work hard to develop standard processes so that we work smarter and more efficiently. These standards allow us to do the same thing the same way every time. It also helps keep the complexity of our operating environment as low as possible. For instance, by following our processes and adhering to established standards my engineers can log into a device in Tokyo and know its basic configuration is identical to that of the same type of device we have installed in New York, London, or Los Angeles.
By and large, most Raspberry Pi owners have them for personal use. Even though they aren’t running the network for a large company or even a small company it doesn’t mean that they can’t benefit from standard processes. Those processes don’t need to be a collection of 40-page peer-reviewed documents. They can be a few simple checklists.
For instance, here’s my checklist for installing a new Raspbian image and performing the initial configuration.
- Install the image on an SD card from my Mac.
- After the copy is complete, make sure the boot partition on the card is mounted.
- Make a backup copy of the
- Edit the config.txt file and make sure the video settings are configured to accommodate my monitor setup.
- Save the file and eject the SD card form the Mac.
- Insert the SD card in the Raspberry.
- Attach the monitor cable.
- Attach the Ethernet cable.
- Attach the USB cable to my IOGear USB switch (for keyboard and mouse) or insert the dongle for my iPazzPort wireless keyboard/trackpad, depending on my needs at the moment.
- Insert WiFi dongle.
- Attach the power cable, wait for the boot sequence to complete and open raspi-config.
- Expand the filesystem.
- Enable boot to text console.
- Change system locale to
- Change timezone to
- Change keyboard layout to:
- Generic 101-key PC
- English (US)
Control+Alt+Backspaceto terminate the X server
- Enable SSH.
- Login as
rootuser with “
sudo su -“. NOTE: I know steps 21 and 22 could be accomplished with a single “
sudo passwd” command. However, in my 23+ decades of experience with Linux and other Unix operating systems I have found that on some systems this will change the password of the account in use when issuing the
sudocommand. By changing to
rootdirectly you can avoid this and be confident that it’s actually the
rootpassword you are changing. This is one of my personal standard processes. 🙂
- Change the
rootpassword with “
Ctrl+Dto return to
- Update the
aptpackages repository data with “
sudo apt-get update“.
- Update all packages with “
sudo apt-get dist-upgrade“.
- Reboot with “
- Configure WiFi. (This has its own checklist)
- If this card is not going to be used right away, shutdown with “
sudo shutdown -h now” and unplug from power when shutdown is complete. Remove the card and file it in its proper place.
Some of the items in this checklist may have checklists of their own, e.g. WiFi configuration, and I will provide those in future posts so be sure to check back.