welcome in this video I'm going to be going over the initial setup of Raspbian
Buster Lite on a Raspberry Pi and this is a setup for the like console or
character line interface I'll probably do a future video on doing it with the
desktop version if you're interested in my other Raspberry Pi videos I'll put a
link below to the playlist also put a link to the hardware I'm using on Amazon
and if you use that link it helps me out a little bit and doesn't cost you anything
extra so the first thing you want to do is go to the raspberrypi.org website
and then go to downloads and then download the Raspberry Pi Imager for
Windows Mac or Ubuntu depending on what system you're using
so I've downloaded and installed the Raspberry Pi Imager for macOS software
then if we scroll down we can hit click on Raspbian and here if we scroll down
here we see there's three versions of Raspbian so the Raspberry Pi Imager
software you downloaded can download these images and install them directly
to the SD card but I like to download the packages themselves and I can reuse
them and move them around on different machines and stuff so this video I'm
going to be using the Raspbian Buster Lite version it's the bottom version and
you can download a zip or the torrent then they have two desktop versions they
have the full one and then the one with less software so when you download this
you'll get a zip file so it will look like this so you don't have to unzip
this the Raspberry Pi Imager software will automatically unzip it when it
writes it to the drive so it's really nice because it stores it and a smaller
file on your computer so once you've downloaded this and then installed the
imager software I'll switch over to it the first thing you do is choose your OS
so like I said you can download the Raspbian image here you can do the other
which would be the Lite version and the smaller version I think of the desktop
one and then I like to go down to the bottom and I say use custom and then I
choose the Raspbian Buster Lite image I'll hit open and next I'll stick my SD
card in one thing to point out is that this will overwrite the SD card using
this software so you want to make sure you don't have anything on the SD card
before you do this and it'll say choose SD card and I'll choose my card reader
and I'll hit write it'll ask for my password and then it will write this and
then verify it okay so that's finished so we can click
continue and then I'll remove the SD card so next you want to stick the card
in the Raspberry Pi while it's powered off and then turn it on if you have a
switch or plug it in to give it power okay so this has booted up we're at the
login interface we see some kind of boot commands here if you hit enter you'll
see the login prompt we want to type 'pi' for the username and then 'raspberry' for
the password so the things I'm typing here on the terminal I'll put a link
below to my website where I'll have these commands so you can look at it on
the screen instead of trying to type it from the video and to help with that the
first thing I'm going to do here is make the font bigger so this is optional I
tend to not make the font bigger if I'm using it for myself but when I do a
video I like to make the font bigger so it's easier to read in the screen
capture so to do that I'll type sudo space dpkg - reconfigure space console -
setup I'll hit enter I'll leave the default of utf-8 I'll hit OK
I'll keep this default of guess optimal character set I'll hit OK and then here
I want to change the font to terminus now you can mess around with this and
try these other fonts I'll hit OK and then I'll go to the bottom one here
which is 16 by 32 frame buffer only and I'll hit OK
and now we have a larger console font so I'll clear my screen to continue with
the theme of optional things I'm going to set up a proxy for the package
management system app and I'll probably make a future video on setting up an app
proxy on Raspberry Pi I've made one in the past on an Ubuntu system but I
really should make a Pi specific one so to do that I'll type sudo space nano
space /etc/apt/apt.conf.d/ 00aptproxy
I'll hit enter and then here I'll type acquire and I'll type colon colon HTTP
colon colon and then proxy and always do the capitals on here I'm not actually
sure if it's case sensitive but this seems to work so then I'll do a quote
now this is where I run into a problem because I haven't set up the system yet
if I type shift quote I get an @ symbol because it's not using the u.s. keyboard
that I need so what I want to do is do shift 2
and that will give me a quote and then I'll type HTTP colon slash slash and
then the IP address of my proxy server and then quote and semicolon I'll hit
enter and then I'll type ctrl o to save ctrl X to exit so now I'll type sudo
space raspi-config and if you're very new to command-line if I start typing
something I can hit tab and I hit it twice here and it shows me everything
that starts with RA so we'll try and complete the whole line if it can so if
I type looks like SP and hit tab again then it puts an I in there if I tab
again it's going to show me the choices here if I hit - there's only one option
here that has a dash in that location so if I hit it again it'll run the whole
command so if you see people doing command line stuff and they're typing
super fast a lot of times they're using the tab completion to make it faster so
I'll hit enter and the first thing I want to do is change my user password
and I made a recent video on changing the password and changing the host name
of a PI on the command line so typically you wouldn't use a tool like this on a
UNIX system or a Linux system so that link is in my playlist if you want to
see it so I'll hit enter here and then I'll type in my new password and it says
the password was changed I'll hit OK next I'll go to the network options and
you'll see the host name here and it tells us which characters we can use so
I'll hit OK so I'll type Raspberry Pi Rick I'll hit OK so to move between these
fields I just want to hit tab or I can use the arrow keys so when you see this
flickering on and off I'm pressing up and down and I'm pressing tab here so
I'll hit OK I'll go back down to network options I'll go to Wi-Fi and I'm hooked
up to Ethernet right now but I'll go through what you need to do with the
Wi-Fi so I'll type U and that gets me down to the use and then I can go down
here to us I'll press the right arrow key to send me - ok I'll hit OK
it says the Wi-Fi country is set to us I'll say ok now it wants me to enter the
SSID so here you could enter the SSID of your Wi-Fi network and then it will ask
for the password but I'm not going to be using Wi-Fi on this so I'm going to
cancel out of here so I'll go down here to Boot Options this gives you the
option to boot into the desktop environment or command line and this
also allows you to login without a password so if you don't need any
security and you just to just login you can change that
here so I'll go back next I'll go to localization options the first is change
locale so I'll hit enter here and I'm in the US so the easy way to get to us here
is to hit page down until you see en because we're actually looking for
English so you want a en us and I like the utf-8 so I'll press spacebar here
I'll press tab to go to the ok I'll hit enter and now I'll press down to go to
English u.s. utf-8 I'll hit OK I'll go back into localization options so I head
in here quite a few times go to a timezone then I'll go down to us I'll
hit OK I'll go down to central and I'll hit OK I'll go back to localization next
I'll go to a keyboard layout so this change Wi-Fi country we're skipping over
this because we did this in the network section but I'll go to change keyboard
layout I'll hit enter I'll leave this as default I'll go to ok I'll go down to
other and you can just hit the end button on your keyboard to go to other
then I'll say ok then I'll go down one space to English us and I'll hit OK and
then I'll hit home to take me to the top of this list where it says English us
and I'll hit OK and then I do the defaults for these next couple things so
I hit OK ok and that's done next we'll go to
interfacing options from my initial install I usually will install SSH so
I'll hit enter here and I'll say yes and I'll say ok if I go to Advanced Options
I go to overscan here and that says would you like to enable compensation
for displays with overscan and I say no so right now I have a black box around
my screen and this will get rid of it I'll hit OK and then also under here
it has expand file system you used to have to do that manually but now it does
it automatically you can change the memory split to allow more memory to be
used for GPU you can change the audio here to go out through HDMI or a 3.5
millimeter jack I think it's set to auto let me look yeah and I have an HDMI
monitor plugged in with speakers you can change the screen resolution screen
blanking pixel doubling GL driver compositor PI video output and overlay
FS overlay FS is kind of cool because it allows you to have a read-only system
and I've done some other videos on that so I'll go back then there's this update
option here and you could do this to update the PI
but I like to do it on the command line and it's good to learn how to do it on
the command line so you don't have to come into this tool every time so I'll
go here to finish it's gonna ask if I want to reboot typically I would say yes
but I'm going to go over how you do that from the command line so I'll say no so
I'll clear my screen here so the modern way to reboot on these systems is to
type systemctl and then reboot the other option if you want to shut it off
as systemctl and say poweroff so I'm going to reboot it now when we get back
from the reboot I'm going to go over how to update the system okay the system is
booted up I'll type in my username and password I'll clear my screen you can
see here that my host name has changed because it says Raspberry Pi Rick here
so now I want to update the system so now the proxy I entered in first thing
will come into play so I'll type sudo space apt space update
I'll hit enter this will download all of the it's like a list of software that's
available but it doesn't actually do any updating of the system so now that
that's that I can type sudo space apt space upgrade I'll hit enter it's going
to show it's what needs upgrading I'll hit yes and now this will download those
and it's going to download it from the cache on the system so you see it
downloaded at 47 megabytes per second so now that the system is finished updating
I would typically reboot this and then the system is ready to go so I might
install their software on it I might just use it for whatever so that's where
I'm going to conclude this video if you have any questions please leave them in
the comments if you have any suggestions on doing this or anything you thought I
missed or you want more information on drop a comment below on that too if you
like this video please click like if you haven't subscribed to my channel
appreciate if you do that and thanks for watching until next time goodbye