All right, time to get into the fun part.
To go over how to configure virtualization.
Now what's so ironic is that,
we're using a virtual machine
to create another virtual machine.
So we're going to walk through really quick
and just go through
how to install a virtual machine,
and use the CentOS 7 version of VM manager.
And we're just going to go through
some configurations for this.
Now this is going to be very lengthy here.
And I have mine installed already.
So just make sure you type everything in correctly.
And also remember,
if you're following before,
make sure you disable your internal repo,
or a local repo.
So it won't look for that in the default.
You can find all these repositories that are remote.
Okay? So we'll get started here.
All right, it's pretty lengthy.
Let's give this a go.
Okay.
Again, as I said earlier,
I have all these packages installed.
But for you, it's going to go
to download everything.
But just make sure you copy everything correctly
that I typed in earlier.
So we wanted to go and start the KVM service.
Okay.
System control.
All right. Then we'll enable this as well,
to make it persist through reboots.
I did the last command just to see
if the KVM is running in the Linux kernel module.
Sometimes you'll get that information.
Sometimes you won't,
on depending on the virtual machine
or processor you're using.
But we're going to continue.
All right, next we're going to go ahead
and create the virtual machine.
Okay. Make sure you have a ISO
of the CentOS 7 in a root folder.
So don't put it in your home directory,
'cause you incur some errors.
So make sure you have it in,
something in the route directory.
So the system can access it.
'Cause it doesn't matter if you change your permissions,
it still will not allow you to install
if it's under your home directory.
So many processes.
Memory's going to be 248 megabytes.
This is the location in the drive
where your ISO file is.
It's going to give this a 12 gigabyte hard drive.
Variant's on the rhel7,
'cause CentOS is a rhel7 product.
Okay.
All right, we're going to save this install.
We'll come back to it later.
Okay.
Now, next we're going to import a VM
by using the Gooey virtual machine manager.
Okay? So we're going to go here, system tools.
And it'll be towards the bottom here.
Virtual machine manager.
All right, enter your password.
Okay, so we have our test VM here.
We're just going to go ahead
and create a new virtual machine.
Okay? We're going to import existing disk image.
Browse.
Okay, now we're going to do local.
And now I'm using the Ubuntu latest version ISO image.
All right, and I have that under my images folder.
Remember that's under the root.
So root, images, ubuntu iso.
All right, go forward here.
Yes.
I said this to at least 2048.
Okay.
Ubuntu-vm2.
So I have one already.
All right.
All right, restart.
Okay, we're just going to try out Ubuntu.
Install it all the way.
Okay.
Now this looks a little bit more colorful
than the CentOS 7 that we're used to.
Again, things are very similar.
Check out the settings and network settings.
Again, very similar.
Background settings, change the picture.
But I like the little Jaguar.
I love dark mode.
Change that around.
Now, some things you should be familiar with.
How to look up logs, right?
So in this flavor of Ubuntu,
we're just got to type it in, okay?
And since we installed it,
it's not going to have
all of the information that we need,
but this is how you would reach it.
Okay? So we have important application logs,
security logs, hardware logs, system logs.
And also, another way to pull up different software.
The software store, the Ubuntu Software.
'Cause you know, previously we used YUM rules
dealing with CentOS 7.
And for Ubuntu, we deal with APT or dpkg.
But you can also just go here
just like a regular Gooey,
and just whatever you need,
click, download.
See what's currently installed on the system.
And feel free to play with this Ubuntu.
Again, it's very rich in features,
and a lot different than typical Windows and MacOS.
But hey, that's why we're here,
to get different perspectives.
Okay.
Also just a note,
when I installed this,
I had to use the virtual box itself,
because my specific machine doesn't support
virtualization inside of virtualization.
So if you run into that issue,
just create another virtual machine
and install Ubuntu directly on that.
Now, if you are working with a server directly,
you wouldn't have any issues
with using the virtual manager that's inside of Linux.
But since you're using a virtual machine
inside of a virtual machine,
you're going to need special type of processor
and different type of settings configured,
in order to have that type of virtualization nesting.
So there's something to keep in mind.
All right, we went over
how to configure virtualization using KVM settings.
A little bit how the virtual machine manager
looks inside of Linux.
and how to play around with different distributions,
more specifically Ubuntu.
And we just played around
with a few features for that.
So thank you for sticking with this lesson,
and I'll see you in the next walkthrough.