Instructor: In this video we will learn the download
and installation of Linux operating system
distribution, CentOS version 8.
Now if you want to go with CentOS version 9
then you could simply skip this entire video
and go to the next one.
Or if you wanted to go with CentOS version 7,
then you could go one video back
where I have all the installation instructions
on that video.
Alright, so if you decided to go with CentOS 8, that's fine.
What we will cover in this video is we will create
a virtual machine, download CentOS 8 stream ISO
from CentOS.org website,
and then we will attach install CentOS 8 stream.
Going back to our lab diagram,
we have our laptop or desktop running Windows or Mac.
We have installed virtualization software
and we had two options, either VMware player
or Oracle Virtual Box.
Then we created our virtual machine
or we will be creating our virtual machine
and we will install a Linux.
And of course we are going with a flavor
or distribution of CentOS version 8 in this video.
Alright, let's go to our Firefox
and let's go to Google
and type download CentOS 8.
Pick the first link, go to CentOS OS Stream,
and by default it'll go to 9.
So pick 8.
Now if you do not see version 8, then just simply go
with the most recent version of CentOS Stream.
Okay, let's click on version 8
and then click on x86_64.
Click on the first mirror or any mirror of your choice
and then it will bring you to one of these links.
So you have to pick the one that has the size,
the highest size, right here it says 10.7 gig dvd1.iso,
click on that and it will start downloading the iso.
Now I'm gonna cancel it
because I have already downloaded it to save some time.
If you have not, you could pause the video right now,
let the download complete and come back.
Alright, assuming we have downloaded it, now let's go ahead
and create our virtual machine.
Alright, so this is the virtual machine we created earlier
for users who want to go with CentOS 7.
All right, so let's create a new virtual machine
and let's name it CentOS 8.
Or if you don't have CentOS 7,
you could pick the same name we picked right here,
my Linux VM.
All right, so type Linux version Red Hat.
I want you to change that to right here.
Linux 2.6/3.x/4.x.
Alright, so the reason I did not pick Red Hat,
because it has some kind of compatibility issue
with Oracle Virtual Box.
And if you pick that version anyway,
you pick this generic version, that's fine.
Click next, memory 1 gig.
By default it picks 8 gig of memory.
That's fine, we'll change that right now.
Just leave it as is.
Create.
Hard disk file type, leave it default, VDI.
Storage on physical hard disk
dynamically allocated.
Right here is the file size
or disk size 8, we're gonna change it to 20.
You could pick 30, 40, 50 depending on the size
that you have or disk space you have on your computer.
So go ahead and click create.
This has created the virtual machine
and now I want you to go to the setting
and go to the network
and change attached to NAT from NAT to bridge adapter.
This will allow us to connect to the internet
if you pick bridge adapter.
Click OK.
Now the virtual machine is done.
Now if we have already downloaded the ISO image,
now go ahead and click on start.
All right, so it's asking you where is the operating system
ISO image or disk.
By default is picking host drive,
which is the D drive, DVD Drive.
We don't have that.
We have ISO image, so we are gonna click on
this little folder.
Alright, and then I have already added
or attached the CentOS 8 previously.
If you do not have attached,
then you could simply click on add
and then you could click on the folder
where you have your ISO image located.
I had it right here.
I clicked on this and I clicked open.
So once you click open, it will show up here.
Then you select that ISO and click choose,
and then you click on start.
Now when you get to this point, click inside the window
and then move your arrow key up and hit enter.
And this will start the installation wizard
and your mouse will be captured inside.
If you want to release your mouse,
click the right control key, which is on the right hand side
of your keyboard, click on that
and it would release your mouse.
By the way, wherever it needs some time
to bring up the installation
or the installation process could take time,
I am going to fast forward from that point.
So if you see my screen going really fast
and yours going slow,
not because your computer slow,
it's just that I have fast forwarded the video.
All right, you could go ahead and cancel this.
This is just telling you
that your mouse is captured and stuff like that.
So welcome to CentOS Stream 8 stream
English and the language here where you are located,
depending on your region, pick that one,
click next or continue.
Let's minimize the Oracle virtual box manager
from the background.
All right.
Okay, so installation summary.
Right here on the installation summary, the keyboard,
it will select based on where you are.
I'm in United States, so it picked English, US.
Installation local media, which I have attached.
Installation destination.
Click on that, pick the 20 gig.
It's already check marked, so you just have to click done.
So it is done.
Language support, English, United States.
Software, server with GUI that it should be selected.
If you do not have that, select on it
and then pick this one server with GUI and click done.
Alright, KDUMP is enabled,
that's a kernel dump.
Time and date.
America, New York time zone.
I'm in New York Time zone.
Wherever you are, it should pick up based on your location.
Network, and host name.
So right here I want you to pick the name
of your host or your operating system.
Let's pick my Linux VM.
And as soon as you click apply,
you're gonna see current host name is right now localhost.
It will change.
So click apply.
See right here has changed.
Now I want you to just click here and enable
or turn on the networking.
So as you clicked on ON, you're gonna see
that it's gonna pick an IP address
and it's gonna pick the default route
and based on your router.
Alright, so it's good, click done.
Alright, now click on root password.
This is the root password,
which is an administrative password of your Linux machine.
So please enter the password that you could remember.
Now, if you have picked a weak password,
it'll tell you it's weak, but that's okay,
it will ask you that it's based on a dictionary
or whatever the reason,
you'll have to press done twice to confirm it.
That's fine, one, two.
Alright, so that is done
and you could just simply move this down
and then you'll see right here it says user creation.
Let's click on that.
Let's create a regular user,
which is your name.
So full name,
I'm gonna go with my name, Imran Afzal
and automatically the username is my first name initial
full last name.
Make this user administrator.
That's fine.
Require a password to use this account.
That's fine.
Let's put in the password.
Again, remember the password,
you could pick the same password
that you picked for root
or you could pick a different one, that's fine,
but whatever you pick, please remember it.
Again, same thing if you have picked the weak one
or if it's based on dictionary,
you have to press done twice.
One, two.
All right, so everything is selected.
You see there is no warning sign anymore.
Beautiful.
Now go ahead and click begin installation.
Alright, so this is starting to install,
go through the installation, it's gonna collect the number
of packages that are needed, configuring file system,
and a lot of other stuff.
Now this could take anywhere from 10 to 25 minutes
or even 30 minutes depending on your system speed.
So I'm going to fast forward and once your system
or once your installation is done
and it's completed, then we'll start from there.
I'll see you in a little bit.
Okay, so the installation has been completed.
Go ahead and click on reboot system.
All right, here, you have to accept the license.
Just click on I accept the license agreement and click done.
You could close this one again
and click on finish configuration.
All right, you have a login screen.
You could either log in with your regular name
or you could click on not listed.
Then enter the username as root,
and then on the next screen,
once you click next, enter the password.
But we'll go ahead and log in as ourself.
All right, once you are on this screen,
you could go and click on activities
and click on the terminal.
And here you have the terminal, which we will use
to run all the Linux commands
and learn everything about Linux.
That's it.
Congratulations on completing
the Linux installation version CentOS 8.