Virtual machine management.
Why am I including the virtual machine management in Linux training?
Well, that's a very good question.
The reason I'm including this is because 80 percent of the corporate environment nowadays, they run
on virtual environment.
So whether virtual environment is running under VMware or Oracle virtualization or RedHat virtualization
or even if it's Microsoft virtualization, you will see that most of the machines that you're going
to be building Linux on will run on virtual platform.
That is why I'm including this as part of this training.
So you would know how you could change, add or remove resources from a virtual machine that you are
setting it up.
So, again, the virtual machine screen looks like this.
You are already familiar with this.
You already know how to configure or spin up a new war, a machine.
And if you want to add any more resources to it, when I say resources, what I mean is that you wanted
to add more CPU, you will add more memory, you will add more disk.
This is part of your job.
Then you will be doing system administration again.
Think for a second, this will be part of your job to add or remove resources.
So that is why it is important for us to go over this virtual machine management.
Now, as an example, you built a virtual machine and you install Linux operating system on it.
Awesome.
You done your perfect job.
But now, a month later, two months later, a user comes back to you and says, hey, my machine is
running hot all the time.
It's needs more resources.
Can we please get more memory, more CPU or has less disk?
Can we please get more disk?
So what do you do?
If it's a physical machine, then how do you added?
Well, it's very tough nowadays because you have to pull the whole machine out from the rack top, take
off the top of add more memory, physical memory or add more CPU.
Sometimes it's not even available to add more memory dimps to a server.
So it's not available.
You have to add more server Abyad use of inversion machine.
That's a beautiful virtual machine that you could add all the stuff on the fly.
So we will take our example of our own virtual machine environment or Oracle, and we'll go over a few
of the settings that you could change.
Right now, our virtual machine, the one that runs Linux, is powered off.
So sometimes, depending on the operating system, you could add those resources on the fly, meaning
hot add or hot remove.
So we go to a setting.
The first thing we have in the setting is the name, if you want to change the name of your washing
machine, this name is not the host name off the washing machine.
Again, what did I say?
This is not the name of the host name of this mission.
This is just a name that shows up right here.
This is the name.
So if you want to change its name change to something different, you could change it.
There are some other advanced option that if you want to create snapshots, snapshots are like a kind
of back up, but is not considered backup.
But if you are deploying a code in your virtual machine and your Linux machine and the code doesn't
work, you could always revert back to your snapshot.
So the location of the snapshot is specified.
If you do not like this location, you could change it.
Some other stuff.
You can look into it in more detail.
Drag and drop means if you want to copy something from your desktop while you have a virtual machine
running and you want to drag and drop inside of your virtual machine.
Right now it's disable.
You could have it host to guest or guest to host a bidirectional whichever way you like.
You could have changed.
So for now, I'll have it.
Bidirectional so this way when I start it up, if I want to copy something from my desktop to my virtual
machine, I could do that.
Then I have a description here.
What this virtual machine is done.
I could put some description like this virtual machine was created by Emran Absol on So and So date
then.
Do you want that machine to be encrypted, meaning all the transaction between your host Annushka machine
and each transaction going back and forth?
Do you want it encrypted?
So what is a host host?
Is your machine or your laptop where you are running?
This Oracle virtual box and virtual machine is something that you have built on top of this virtual
box.
And another example, this is our virtual machine.
So this is first setting journal setting.
Then we have a system.
If you want to change the memory of your system, then you could change it.
Right now, you see the memory of your off PA system is about 1200 1024, which is equivalent to one
gigabyte.
If you want to change to to get three gig, you could simply put that number here or click on these
scroll up and down.
It will add it the boot order of the machine.
It's going to go look for floppy, followed by optical, then hard disk and network.
If you want to be go straight to the hard disk skipping CD or a floppy, uncheck it.
Same thing.
If you have your hard computer meaning and you have a physical computer, you go to a BIOS and you do
all this setting so you could set it up here and some other extended features which you could look into
it in more detail.
Processor Right now we have one processor running your users saying I need to processor or my application
requirement is I need eight processor.
You could go ahead and change right here and acceleration some of the information hardware, virtualization
acceleration.
You could check it to make it enhanced, which we already have checked.
Next setting.
We have a display, the video memory we have right now.
Sixteen megabyte.
When you have when we go to a machine and start and and the images that come up, the graphical interface
or even terminal, sometimes you have the option to increase the resolution.
So if you have limited video memory, you cannot increase those resolution.
So you could change the memory here.
Remote display, same thing with all all of this related to the display information and configuration
of the machine.
Then go to storage.
Right now our storage is Atash as e empty, which is the disk is empty right now.
Controller is Stati and our disk space that is inside of our virtual machine is right here and it's
telling us the virtual disk size is 10 gigabyte and the actual size is four gigabyte.
What does it mean?
It means that even though you have allocated 10 gigabytes of space right now, the actual size that
is being used is only for gig.
So what happened to the remaining six gig?
Well, remaining six gig is not actually completely allocated to your machine.
However, if your machine does need more disk, it will automatically get it from your laptop or your
desktop storage audio, as if you have an external audio, anything, or you want to use the Windows
directly.
OS since I have Windows operating system running, you could change that here network.
We have only one network adapter at this point and we change the network adapter to a different way,
the one we have and.
Network, which is to communicate between our host, which is our laptop and our machine, same thing,
host only adapter, and there is a Bridgid adapter, which Burgett Adapter does, it's going to take
IP address from your own computer and then it will communicate to the outside world.
Right now, if you just connect host only, you cannot go outside on the Internet.
If you want to go to outside Internet, you select Bridgitte adapter and then you click, OK, so adapt
to we don't have it.
Adapter three and four.
If you want to assign more knick adapters to your virtual machine, you could go in and check this mark
serial port.
Any of the ports that you want to connect, you don't have it.
USB if you want to attach a USB to your laptop that will be read by a virtual machine, you enable this
any shareholder that you want to attach to this virtual machine and user interface, how does it look?
You wanted to show in full screen seamless are sure at a top of the screen or any way that you like
right here.
It shows you and you have virtual machine.
These very few operational keys are shown.
If you don't want them to be shown unchecked, so will cancel it since we don't want to add any resources.
So this is all about management of your virtual machine.
And believe me, most of the time all virtual machines setup is done just like that.
You pretty much do, right?
Click on the virtual machine and you do edit setting or setting depending on your virtual environment
and you could change the resources.
This video is important, especially for those who wants to get a job in Linux or get a job and sys
administration.
You will be asked sometimes the virtual questions because as I said in the beginning, 80 percent of
enterprise companies or organizations running their compute environment on virtual platform.
So I hope this lesson serves its purpose.
And you enjoyed it.
Wash this lesson again if you have to.