Instructor: Getting internet access
to your virtual machine.
Now, in this module we will cover
different components of networking.
We will learn a little bit about
how networking works in a Linux environment.
So before we get into the network,
we do need to allow access to our Linux machine.
And in order to allow access,
we have to make certain changes to our Virtualbox Manager.
Basically, we have to go to the network setting
and change its network adapter to Bridged Adapter.
So this way it will get its network through your laptop
or through your desktop.
So let's go into right into the change.
This is our VM that is running.
I want you to go to the setting,
network, and change this attached to Bridge Adapter.
Once you change it, leave everything default.
Click okay.
Once it's set, let's go to our virtual machine,
and then here we will try to do ping.google.com.
And right now it's telling me that it has,
the service is not available.
So it's become root.
And then just simply reboot the machine.
And to reboot is init zero or just type simply reboot.
(keyboard typing)
Let's open up the terminal.
And this time I want you to run command if config
and pipe it to more.
And you will see here the IP address has changed.
It is given the IP addresses of the same network
that you have set up at your home.
Audio: Please use IPA command
if you are on a newer version of Red Hat or Santos system.
Instructor: So now when you try to ping www.google.com,
you should get the response.
See, it's getting the 64 bits response back from the server.
Ping is the command that is used
to communicate to other servers.
So now we know that our machine is ready.
It's on the network.
We could download the packages.
We could install the packages, anything that we want.
It has ability to go on online.