Instructor: Install Oracle Guest Edition
which are the Oracle virtual machine tools.
Now, exactly what is Oracle Guest Addition
and why do we need them?
Well, Oracle Guest Additions are the tools
that are associated with the Oracle,
Oracle WA box.
You know, we have a Linux machine
that runs on Oracle box or an Oracle environment
but if we want that virtual machine
to run more efficiently
with it's in an output features.
And also some people want to have the mouse,
especially, the mouse to be not trapped
inside a virtual machine.
What they do is they install
the Oracle Guest Addition tools.
So what you would have to do
is if you are inside of a virtual machine,
then you don't have to do the right control key
to get out of the console trap.
You could just freely move your mouse
from your machine to your desktop.
So that's one of the advantage in there.
Other many advantages.
Well, so in this lesson, this is what we are going to cover
on how we could install Oracle Guest Addition tools
in our virtual machine
and specifically in our Linux virtual machine.
So what we are gonna do is
first the instructions that we are gonna follow
are is that first we make sure
that you are running the latest kernel.
So to see if you are running the latest kernel
is either by your look online
and see what the latest (clears throat), excuse me,
what the latest kernel version is out there.
Or you could just simply do zoom update kernel
which most likely we will do.
And then install the following packages
which is to do the rpm.
And there is this package
called EPL,
latest release 7.rpm.
Oh, by the way, I'm sorry, this AFDA,
just ignore that.
It's just a mistype.
The whole HTTPS column ends at .rpm.
Then install evolving packages
which is gcc kernel-devel kernel-headers dkms
make bzip2 and perl.
And of course, at the end, once everything
all the requirement, all the basic necessities
for Oracle Guest Additions are done,
then Mount the VirtualBox Guest Additions
is by going to the console and clicking on device
insert Guest Addition CD images, and then simply run it.
So let's go ahead and follow this procedure.
So this way we could do the installation
of Oracle Guest Addition.
So for this procedure,
I will go through my console.
I already have my console open.
I am logged in as myself.
My directory is my home directory
and my host name is the current or the right host name
which is MyFirstLinux machine.
To do the jump update for the kernel, I have to be root.
Now I would have to update my yum install kernel
and asterisk,
but of course make sure before you run this command
make sure your computer has Internet connectivity.
If you do not have Internet connectivity,
first enable the wireless
or ethernet cable attached connectivity to the Internet.
I have the internet connectivity
I have confirmed it as well.
I could do ping www.google.com
and you'll see I'm getting a result back.
So that's how I know I have Internet connectivity.
Anyway, you do yum install kernel*.
Hit enter, it'll go out to all the repositories
that is available to me
for this version that I'm running.
And it will find all the packages
that I need to do the update.
And you'll see here is the dependency resolve
and list of installing packages that are out there
telling me install total eight packages
and total of eight packages that need.
It will be upgrading it,
but of course it depends on your system,
your Linux machine,
your output could be different from my output.
So just don't look exactly the same output as mine.
It could be different depending on your system
when it was installed, when it was patched
or when it was upgraded.
So simply go ahead and yes
what this is going to do
is this is going to download all the packages
that are associated with the name kernel
and there are a total of seven packages
that it is going to download.
As you could see,
it's going to one, two, three, four, five, six, seven.
It's up to seven right now.
And once the download is complete,
then it will go through the installation process.
It's just the same way as if you are installing something
on your Windows machine
where you would first download the executable
after downloading it,
then you double click on the package itself,
then it goes through the installation process.
So same way it works here.
So now it's telling me that it has downloaded
and now it's updating the two packages
that it was talking about.
You see it has right here it says upgrade two packages.
So the first thing it did
it updated those two packages.
Perfect. So now after the upgrade,
now it has eight packages to install.
For those eight packages,
these are the eight packages that it will install.
See one, two, three, four,
five, six, seven and eight together.
And the two packages that it will update are one and two.
So anyway, update is completed
installation is still in process.
So once the installation is completed
then you could see there is this repository
that I would have to install that repository
or that rpm would allow me to also do the install
of other rpm packages.
Okay, so let's give it a couple of minutes.
And what I could do
is I could just simply fast forward from here,
so this way it doesn't waste your time.
And by the time it finished doing the installation
then we'll come back to it.
Okay, on my machine the installation
or the yum update for the kernel has been completed.
The next step I would have to do is run this command
which is to download another rpm package.
By the way, this instruction I will add
to one of the notepad
and then you could download from the resources
from the same lesson
and you could just simply copy and paste.
Once I run this rpm, I'll install this rpm package.
Then I would have to install this list of all the packages
with the command yum install gcc kernel-devel
kernel headers dkms make bzip2 and perl.
Once all these packages are installed
then we'll go to the last part where we will do
the Mount VirtualBox Guest Addition.
And this is what I'm gonna show you now
how you could attaches the device,
insert Guest Addition CD images
from the Linux or from the virtual machine console.
Okay, so once all the required rpms
or packages are installed or kernel is updated,
then all you have to do is come to this console of a VM.
Whether it's a virtual machine for Linux or Windows,
you go click on Devices,
and click on Insert Guest Addition CD image.
So when you click on it
you'll see a disc image that will show up here.
It means it is being attached
and it will ask you to run it.
So just go ahead and click run.
Once you run it, it will open up a window
and I'll ask you for route permission.
So put in a route password
and then it will run that automatically.
So it says, "Do you wish to complete?"
I have already been through this, I don't have to do that,
so simply go ahead and do install
and it should take care of your Guest OS tools
where your mouse will not be trapped inside
of your console virtual machine console.
All right, thanks.