Now, you do have some understanding of how LVM works, which is, of course, for logical volume management,
and we will go through our Linux OS installation and we will configure LVM for the very first time while
we are doing our Linux installation.
So let's open up our package and attach our ISO image to our VM.
So let's go into our washing machine, click on new.
And this time put Elbaum Lennix over this.
It doesn't matter, you could pick any any name that you like, the type should be Lennix and the version
is the 64 bit.
But next, leave the memory as one gig.
Create a new virtual desk.
Next.
Even default for the virtual physical test.
This is the name of your folder where it will be created and this is the size of your desk of your hard
disk.
OK, so now you had two washing machines, one you have already running previously, and the second
one you just created.
So let's started.
OK, we have to specify where is our central west ISO image is?
And.
Click start.
OK, this is going to put the system in 54 second, the first one is installed, Santoya seven, the
SEC in one test this media and install OS don't pick that.
Click the upper key and forward install center a seven and.
The first thing that you will see during the installation is Welcome to Center was seven believe that
default is English and English.
And you click on Continue.
On the second page, you will see the date leave that default as America and New York time.
If you are in a different region, you could pick according to your region keyboard.
It will also listing getting the list of keyboards and I will have it set to default, which is also
going to be us English language support is English to the United States.
Again, the first one as the localization.
You should pick these settings according to your location.
The next one is a software installation source is the local media, which we have already attached to
this installation.
And on the right hand side you see software selection.
We will keep the software selection to minimum.
Which means there will be no GUI installed because this is just the demonstration of the LVM configuration,
Kadhum is enabled security policy.
Leave it as it is.
Let's pick the host name and network.
If you scroll down, the hostname is right here, I want you to pick any hostname that you like, I
will just pick post one, two, three and click on apply.
And you see on the right hand says this is current hostname post.
One, two, three, four.
Now, you believe the network setting as disconnected and turn off like turn.
Then go to installation destination.
This is where you would have to specify your desks, your partitions and what kind of LVM partitions
you will be configuring.
OK, we have our desk set to eight gig of memory to select that.
When you have this check, Mark will have the option table at the bottom and it is automatically configured
partitioning.
Now, this time you will check.
I will configure partitioning myself once you click on it and then go to click.
Done.
Once it is done, it will bring you to a page where it would pass you the new center, a seven installation,
and it says you have created an email points for your Santoso installation yet.
So we have to create it.
Of course, create new mom points by clicking the plus button right here before we click the button.
Last Neumi points would be those used to following petitioning scheme, which is LVM.
You could click standard petition, which will not be LVM related.
If you click on LVM and click plus sign, it will actually apply the LVM configuration to the petition.
And you pick the point.
For example, you want to have a home directory and pick two G meanings to give you wanted to give it
to your home directly.
Click And my point, as soon as you click add point on the right hand side, it will give you the points
that show the capacity that you have picked.
The device type will be LVM again.
You could change it if you want to, but we are working with LVM.
So relieved that as OBM, the group name is sent underscore hosta.
One, two, three.
This is the hostname.
A name that is being picked by the installation itself.
You can modify it if you want to give it a different name by clicking modify file system is except first
which is the most latest one.
And then you could pick a different path system if you desire to then the label you believe it as is.
And the name of course is home.
So you have given to get to this and you have left with 6k.
So let's pick another partition.
So click plus and this time you will pick wah wah.
I wanted to give to Google as well to cheat and click add nonpoint.
And same thing as we had before home, it is giving a small plane more to gig LVM S.O.S host on to a
three volume crew is the same God group that has the whole entire eight gig aside commodify to change
it again.
But anyway, now you see we have four get left.
Now, simply what you could do as you go click add here.
And if you wanted to add Schwabe, let's add swap swap as a virtual memory, which is just like a regular
memory in your desk.
But this will be used to.
To be available when the physical memory is run out of space, so you click on add point again and again,
there is no point for sure because it's just social memory.
Everything will be the same.
And now you had three Gigha left, so click plus again.
And this time you picked the rest, which will be slash everything else that is left on your desk space
will go to slash directory.
So if you see it has here three two zero six three nine seven, you could type all those numbers or
you could just simply type.
Or when you type all, it will take the entire display left and assign it to your last point, which
is slash and point.
And confirm that the configuration of the right hand side, the device type is LVM, the group is the
same as the name of that rotation is going to be Whoot.
And if you see, we only have nine nine two point five kilobyte this left.
So you could just leave it, as is the system.
You just needed to leave it out and now you could just click done.
It will just tell you the summary of all the changes that you have done, that it will create these
home directories.
That's OK.
Click accept changes.
And now it says error checking storage configuration.
This and this could come down again and just confirm one more time, everything looks good if everything
looks good.
So.
Let's go back again,
approaching Klick for details, Preston again to continue.
The boudoir system cannot be.
Of type of, yes, that is true, I forgot to pick, but also has to be picked.
So I will OK, so I will remove this first because we need to create room first.
So is the last prediction to slash that we were picking?
I remove that now and put first and I will give this as five hundred.
Make it just half a cake.
That is added the same thing, except for filesystem, now the rest.
I want to give it to filesystem and just assign all.
Everything is added, just make sure her messages click on Don.
So changes custom partition selected.
Everything here looks good and no red letters of error messages perfect.
Now begins installation of central password real quick.
And he was a creation.
If you want to.
You would have to click done twice, because the password that I have entered is weak password, so
it asks us to and click the done button twice just to confirm that you are you are aware that you have
their own password, the big password.
Anyway, if you notice at the bottom, you'll see they have 300 packages that it has to go through and
it is applying all those packages.
I will fast forward from here.
The installation has been completed successfully, as you see at the bottom, says CentOS is now successfully
installed and ready for you to use.
When come down, you'll see the option to reboot.
So just go ahead and simply reboot.
OK, the system has been rebooted and we've got to log login prompt, we'll go ahead and log in.
OK, now, Ron, D.F. Minds H, this command will give you all the protections that we have created
during an installation and we'll show you the size and they used space in available space.
The first line, if you notice, we have the root system and you see it is.
It has a file system starting with Dev Mapa, so anything that you have in LVM.
It will start with Dev Mapa.
Anything that is not with LVM or just as far of space does not have the protection of our system, so
on the right hand side you will see it is mounted on slash slash deve, which is the swap.
All of them are swapped.
The next one that you will see from the from the list is slash home slash war as flashpoint.
Those are all three petition's are mounted sorry only to home and war unmounted under LVM, whereas
buthe does not get mounted and the end Turner file system.
And let's look at our other Linux machine.
So the difference between with this machine and the machine is this machine is going either the one
we did not install the cool because we just wanted to cover how it is configured during installation.
So run of minus H in this one, you will see the first line right here.
It says Deve Mapper Slash Centaurus Dash Whoot.
Now, if you notice, this machine is also configured with LVM.
It did the configuration on its own because we did not partition it ourselves.
So by default, Lennix installation will create your file system under the LVM unless you specifically
tell it to use a standard partition.
But in this system, you see we don't have a slash boot sorry, slash wire slash home slash.
Oi, you don't have those partition because we actually included all those partition within the first
partition.
In this one, you could still have everything under one partition, sorry.
This one, you can have everything under one petition, which is slash.
But the reason we picked separate petitions, slash home slash war is just to cover this lesson.
So you will understand how LVM is configured for each mounted petition.