WEBVTT

00:00.080 --> 00:05.540
The very first step before using the Raspberry Pi is to flash an operating system on the SD card you

00:05.540 --> 00:07.670
have and do some configuration.

00:07.670 --> 00:13.580
In this lesson, I will show you how you can easily install the Raspberry Pi OS on your micro SD card,

00:13.580 --> 00:19.790
but also how to set up the Wi-Fi and an SSH connection so we can get access to the Pi.

00:19.790 --> 00:24.650
And first of all, you can go to the Raspberry Pi Dotcom website here okay.

00:24.680 --> 00:26.540
And you will click on software.

00:26.540 --> 00:29.450
So slash software in the URL.

00:29.450 --> 00:32.810
You can easily find this page we are going to download.

00:32.810 --> 00:34.670
So we are going to install Raspberry Pi OS.

00:34.670 --> 00:40.790
But to install that on the SD card we are going to download the Raspberry Pi Imager software.

00:40.820 --> 00:45.230
Okay so here I am on windows I'm going to click on download for windows.

00:45.230 --> 00:49.730
If you are on macOS or ubuntu you're going to click on those buttons here.

00:49.730 --> 00:51.590
So download for windows.

00:51.620 --> 00:54.020
Let's wait a bit so that it's downloaded.

00:54.020 --> 00:55.490
And now we can install it.

00:57.020 --> 00:58.970
So let's install it.

00:58.970 --> 01:00.410
So you might have a pop up.

01:00.410 --> 01:01.850
You click on yes.

01:01.850 --> 01:04.790
And then let's install.

01:05.870 --> 01:06.110
Okay.

01:06.140 --> 01:08.540
And when it's done you can just run it.

01:08.630 --> 01:10.400
So or not.

01:11.210 --> 01:18.770
And then if you just search on the bar here search Raspberry Pi Imager, you can easily find it.

01:18.800 --> 01:21.140
The first time I have to press.

01:21.320 --> 01:26.780
Yes, I have a pop up so that I can allow the software to run with the correct permissions.

01:26.900 --> 01:27.350
Okay.

01:27.380 --> 01:30.200
And that's the Raspberry Pi imager.

01:30.200 --> 01:34.130
So I have installed the 1.8.5 here.

01:34.160 --> 01:40.730
You don't necessarily need to have the exact same version, but make sure that you have at least 1.8

01:40.760 --> 01:41.300
now.

01:41.300 --> 01:48.020
And before you do anything with the SD card, make sure first that your computer here is connected to

01:48.050 --> 01:48.920
the Wi-Fi network.

01:48.950 --> 01:50.960
You want to use for your Raspberry Pi.

01:50.990 --> 01:55.220
So here what I've done is I have set my smartphone as a hotspot.

01:55.250 --> 01:55.640
Okay.

01:55.670 --> 02:00.770
And I have named the network your Wi-Fi network to make it easier for the course.

02:00.770 --> 02:06.990
So this is the network that I'm using for this computer and that I'm going to set also for the Raspberry

02:06.990 --> 02:07.410
Pi.

02:07.440 --> 02:07.800
Okay.

02:07.830 --> 02:13.710
Very important to have the same, because if your Raspberry Pi is not in the same network as your computer,

02:13.710 --> 02:15.840
you simply won't be able to find it.

02:15.870 --> 02:16.200
Okay.

02:16.230 --> 02:21.360
So first make sure that this is the Wi-Fi network you want to use for the Raspberry Pi and connect your

02:21.360 --> 02:22.560
computer to it.

02:22.590 --> 02:29.370
Then go back to the Raspberry Pi Imager, and what you can do now is to insert the SD card into your

02:29.370 --> 02:29.910
computer.

02:29.910 --> 02:31.230
So micro SD card.

02:31.260 --> 02:36.330
Maybe you need an adapter, maybe you need an SD card adapter or a USB adapter.

02:36.360 --> 02:38.910
But put your SD card into your computer.

02:38.910 --> 02:44.340
What we will do now is click on Raspberry Pi device, choose device here and you will choose.

02:44.340 --> 02:47.040
So here I am using the Raspberry Pi five.

02:47.070 --> 02:51.450
But if you were to use the Raspberry Pi four then you would click on that one okay.

02:51.480 --> 02:54.090
And you can see you have other versions as well.

02:54.090 --> 02:59.910
So I'm going to click on Raspberry Pi five because I'm installing Raspberry Pi OS on the five.

03:00.240 --> 03:00.720
Okay.

03:00.750 --> 03:05.730
Then you choose an operating system and we are going to choose simply the first one.

03:05.730 --> 03:07.200
So Raspberry Pi OS.

03:07.230 --> 03:09.540
We're going to take the 64 bit here.

03:09.570 --> 03:13.770
That's Debian Bookworm okay that I'm installing here.

03:13.770 --> 03:16.260
So let's click on that one.

03:16.260 --> 03:19.860
And then the storage is going to be the.

03:19.890 --> 03:21.570
So you can see here the SD card.

03:21.570 --> 03:26.880
So here I have 16GB the SD card that you have just mounted on your computer.

03:26.910 --> 03:27.270
All right.

03:27.300 --> 03:31.350
Once you have those three settings you can click on next.

03:31.350 --> 03:37.500
And here before you click on yes would you like to apply customization settings.

03:37.500 --> 03:40.140
You're going to click on Edit Settings.

03:41.160 --> 03:44.790
And well let's go through all the settings that we need.

03:44.790 --> 03:48.540
So first I don't know if those maybe are not checked.

03:48.540 --> 03:50.850
So you can check set hostname.

03:51.030 --> 03:53.400
Um maybe just put a Raspberry Pi okay.

03:53.430 --> 03:56.790
So we have this that we can easily find on the network.

03:56.790 --> 04:02.730
And a quick note is that if you are installing Raspberry Pi OS on a few Raspberry Pi boards.

04:02.760 --> 04:05.850
Maybe choose a different hostname for each board.

04:05.880 --> 04:07.740
But as for now, we just have one.

04:07.770 --> 04:09.210
Let's just keep it simple.

04:09.210 --> 04:10.500
We name it Raspberry Pi.

04:10.530 --> 04:14.460
Okay, then you're going to set a username and a password.

04:14.490 --> 04:15.780
This is very important.

04:15.780 --> 04:20.730
This is the well this is the user you are going to use to connect to the Raspberry Pi.

04:20.730 --> 04:24.000
So the username is going to be pi by default.

04:24.000 --> 04:25.110
You can just write this one.

04:25.110 --> 04:26.400
And then the password.

04:26.400 --> 04:32.010
Let's just write a custom password here and make sure that.

04:32.010 --> 04:34.860
So make sure that you write the correct password.

04:34.860 --> 04:40.470
Because if you make a typo here and then you try to connect to the Raspberry Pi, well if the password

04:40.470 --> 04:43.590
doesn't match, you will need to reinstall the OS again.

04:43.590 --> 04:47.520
Then you can click on configure the Wi-Fi.

04:47.520 --> 04:52.350
And you can see here it has automatically detected your Wi-Fi network.

04:52.350 --> 04:56.070
So that's the one that I'm connected to here okay.

04:56.520 --> 05:00.810
And this is the one we're going to use for the Raspberry Pi and for the password.

05:02.880 --> 05:06.000
I'm just gonna write the password just in case.

05:06.030 --> 05:06.270
Okay.

05:06.300 --> 05:08.250
For this Wi-Fi network.

05:08.250 --> 05:10.200
So make sure that you have the correct password, okay?

05:10.230 --> 05:11.520
You can also show the password.

05:11.520 --> 05:13.260
So I have also named my password.

05:13.290 --> 05:15.030
Your password to make it easier.

05:15.060 --> 05:15.360
All right.

05:15.390 --> 05:20.760
So very important here so that the Raspberry Pi can connect to the Wi-Fi network.

05:20.760 --> 05:26.610
And then you can go down and set local settings okay with the time zone.

05:26.610 --> 05:30.240
And if you have a keyboard layout that's different from a Qwerty.

05:30.270 --> 05:34.440
So US keyboard you can also check it here.

05:34.470 --> 05:34.800
Okay.

05:34.830 --> 05:37.740
And once you have set all of that you can go to services.

05:37.740 --> 05:42.090
And if it's disabled you enable SSH with password authentication.

05:42.090 --> 05:43.530
That's all you need to do.

05:43.530 --> 05:46.770
And then on options we don't have anything else to do.

05:46.800 --> 05:48.660
You can just keep those options.

05:48.690 --> 05:49.170
Okay.

05:49.170 --> 05:56.250
So to recap we have those four settings here with the hostname the username password the Wi-Fi and the

05:56.250 --> 05:58.800
locale plus the SSH.

05:58.830 --> 05:59.130
Okay.

05:59.160 --> 06:00.810
Those are the important settings.

06:00.810 --> 06:06.310
Then we click on save and then we click on yes to apply those custom settings.

06:06.850 --> 06:10.900
And you can see that, well all existing data will be erased okay.

06:10.930 --> 06:15.850
So everything that's on your SD card will be erased and replaced by the operating system.

06:15.850 --> 06:19.960
So make sure you don't have any file that's important that you want to keep.

06:19.990 --> 06:20.170
Okay.

06:20.200 --> 06:24.250
So back up your SD card if you ever had some stuff on it.

06:24.250 --> 06:26.140
And then you can click on yes.

06:26.170 --> 06:31.420
This is going to write the OS on the SD card and also to verify it.

06:31.420 --> 06:32.920
So it's going to take a few minutes.

06:32.920 --> 06:36.850
You can take a coffee break and come back for the following of the installation.

06:37.840 --> 06:39.910
So the writing is completed.

06:39.910 --> 06:42.460
But now it's going to also verify.

06:42.460 --> 06:44.710
So you have to wait a bit more.

06:45.640 --> 06:46.180
All right.

06:46.180 --> 06:50.740
And now the Raspberry Pi OS has been successfully flashed onto your SD card.

06:50.740 --> 06:54.340
So you can see you can click on, well continue.

06:54.340 --> 06:58.390
And you can remove the SD card from your computer.

06:58.390 --> 07:03.580
In the next lesson we are going to use this SD card and boot the Raspberry Pi for the first time.
