You will need a SD/SDHC card (2-8 Gb is plenty of space) as well as a computer with a card reader, and a Raspberry Pi (duh).
- Prepare SD card: If running Windows or Mac, download the SD Association's SD Formatter tool. This tool is recommended by almost any RPi guide worth their salt, and is very lightweight and fast. Excerpts from the official RPi guide:
- Windows
- Install and run the [SD Formatter] on your machine
- Set "FORMAT SIZE ADJUSTMENT" option to "On" in the "Options" menu
- Check that the SD card you inserted matches the one selected by the Tool
- Click the "Format" button
- Mac
- Install and run the [SD Formatter] on your machine
- Select "Overwrite Format"
- Check that the SD card you inserted matches the one selected by the Tool
- Click the "Format" button
- Linux
- We recommend using
gparted
(or the command line version parted) - Format the entire disk as FAT
- We recommend using
- Windows
- Download the latest NOOBS image, or pick your preferred distro.
- Unzip the Raspberry Pi image, and copy those files to the formatted SD card.
- Insert the SD card into the Pi and connect networking, USB keyboard, HDMI TV/monitor, power etc.
- NOOBS will boot up, so select your desired operating system, and hit
I
to install. - Go grab a drink, because this takes like 10 mins.
- Change font size: When it is finally done, you'll need a magnifying glass to see anything on the screen, which sucks. Firstly, you'll be greeted by the console-setup tool. Slog your way to the
update
command with your magnifying glass; when this is done, we will have the option to change font size. - You may need to log in to your Raspberry Pi at this point, the default username/password is
pi
/raspberry
. - Reconfigure the console-setup tool with:
sudo dpkg-reconfigure console-setup
- Follow the steps, and select a larger font (I personally like 16x32 on my 42" TV), but let's face it, we're gonna be SSH'ing into this puppy most of the time, so this is really just a backup solution, and that we won't get annoyed when we DO need to connect it to a TV.
- Change the default user's password: As in Unix systems, done via the
passwd
command, or create a new user altogether for better security.
sudo reboot
In a following article, I will detail setting up SSH access, and use a Raspberry Pi as an example of how to do this. A few final notes, once you can access your Pi via SSH:
Set up some useful aliases: I usually just uncomment the
ll
, la
and l
aliases in the ~/.bashrc
file. Reload your terminal profile to pull those aliases in:su - pi //where pi is my username; substitute if you changed yours.
Proper shutdown: Don't be a dumbass and systematically wreck your Pi by just pulling the plug to turn it off. Power it down properly, either while SSH'ed in, or directly via your plugged-in keyboard:
sudo shutdown -h now
No comments :
Post a Comment