Time
41 minutes
Difficulty
Intermediate
CEU/CPE
1

Video Transcription

00:01
Hello. My name is Dustin, and welcome to virtual ization and operating systems.
00:06
All right, now that we've got virtual box installed and our first guest machine added normally, what would like to do here is optimized our settings and install guest editions, which, if you remember, is designed to be installed in sight of the virtual machine. After you've got your gassed os installed
00:24
in the guest additions consistent device drivers system applications,
00:28
Um, that optimized the guest os for a better performance and usability things like your mouse pointer integration, shared folders, display settings. The resolution is correct. And it's not all messed up. And that shared clipboard
00:42
because we built our Callie machine from that O V A. It was built with guest editions already in there, so we don't have to worry about that now. Um, but we do have a nice, clean, uh oh s install, and we've updated it. So what we're gonna need to do now
00:58
is create a snapshot, and this will allow us to restore us to this clean version
01:03
in case anything happens along the way. So let's go ahead and hop back in our lab now
01:10
as you can see, this is the main screen when you start Oracle Virtual Box and here's R O V. A. I did rename it to Cali, Lennox O V. A clean, and we're going to click the little settings button right here.
01:22
And as you can see, you've got an option for snapshots. So there is nothing now, so let's go ahead and take a snapshot. It's pretty easy. Click the take
01:30
and we're going to name this
01:34
clean snapshots
01:37
and then click okay
01:40
and boom! It saves that clean snapshot. So if anything happens, um, say something breaks or you're trying to update and something's miss configured, and you just can't get it to boot anymore or just completely broken. You don't want to spend the time fixing it. You go back to the settings snapshots,
01:59
and then here's our clean snapshot and you can click restore right from there.
02:04
Another thing you can do here is actually clone. So took loan. You just click the clone button
02:09
and you named the clone so you can name it whatever you want. Um, I usually just keep it the default, and we will do everything, and you could do a full cone or a link to clone. Typically, what you want to do is a full clone,
02:23
and you can just hit clone
02:25
and it will run through that. It does take a little bit of time. So I'm actually not going to do that right now, since this is just a kind of a lab one to play with,
02:36
but that will allow you to actually clone the full V m. And so if you're hard driver that anything dies, you can actually restore it from the, um the cloned VM.
02:49
So now that we've shown me how Thio take a snapshot, restore and clone with hopping R V M will make sure everything is up to date.
03:07
I mean, through this back on this screen, all rights, we can see what's going on. Open it up,
03:16
we will let it load.
03:27
And I'm just going to show you how the restoring from snapshots work. So we're just gonna create some files here?
03:36
Oops, that was usernames, Username, roots roo T
03:42
and tour
03:53
What?
03:58
All right, so let's go ahead and move here,
04:00
and I'm just gonna create a file on the desktop that we can see that it's actually going to restore on that file shouldn't exist anymore. So let's if you take a P W D.
04:11
That is the print working directory that'll tell us where we're at
04:15
and we are on the route. So let's go ahead and change to the desktop.
04:19
We're just gonna create an empty file. You could do that by using the Touch Command, and we'll just name it and D
04:29
filed on 60.
04:31
All right, so you can see it did pop up right here on our desktop.
04:38
So let's go ahead exit as well. Open it up just to show you that it is just an empty file.
04:44
Empty file. Empty text document.
04:46
So let's go ahead and power off the machine.
04:54
Real power it off.
04:58
All right, so now what we'll do is we will actually restore from this clean snapshot.
05:02
So again, if you're at the means, things used the details, you click the VM that you'd like to restore from,
05:11
like the three settings button here and go to snapshots. And let's go ahead and restore from our clean snapshots. Who does give you a little warning, letting you know exactly what's going to happen? It will be
05:25
if you restore and you don't back it up pewter, you'll actually override it, Which is fine, since we didn't really do anything here. So let's unchecked that we're not gonna create another snapshot we're just going to restore directly from this clean one.
05:41
It worked,
05:43
All right, so this should be restored.
05:46
So let's go ahead and double click it to start it
05:56
way are starting.
06:15
You can see actually up in the top that it is restored from that clean snapshot.
06:21
So let's go ahead. And logging
06:24
league tour
06:28
in that file should no longer be on our desktop, since he restored to a point before it was there.
06:41
And as you can see, it's no longer there. So snapshots, like I said, are really, really good. I like to create them if I know I'm gonna make any changes or do anything that may break it, that when you could just restore back to it. I don't have to go through all the troubleshooting steps and spend a lot of time to get that working again. I can just boom restore from the snapshot,
07:00
and I'm ready to go

Up Next

Virtualization and Operating Systems Fundamentals

In this course we will cover the fundamentals of virtualization and its relationship with operating systems. More specifically, we will cover the common use cases and discuss implementation on the common computing systems used in the industry today.

Instructed By

Instructor Profile Image
Dustin Parry
Network Security Engineer
Instructor