How to Install Linux

Video Activity

How to Install Linux This lesson covers an attended installation of Linux. In this lab-based class, participants learn step by step instructions in how to install Linux from a live CD environment, which allows for an attended installation. An attended installation allows you to view partitions and all the different settings.

Join over 3 million cybersecurity professionals advancing their career
Sign up with

Already have an account? Sign In »

6 hours 20 minutes
Video Description

How to Install Linux This lesson covers an attended installation of Linux. In this lab-based class, participants learn step by step instructions in how to install Linux from a live CD environment, which allows for an attended installation. An attended installation allows you to view partitions and all the different settings.

Video Transcription
Welcome to Cyberia. I t My name is Greg Stuart, and I'm your subject matter expert for Lennox. Plus,
you're in part two of module two.
We're going to be walking through an actual
attended installation of Lennox.
And for the installation, we're gonna be installing a bun to 14 dato four, which is the lt s version, which just stands for long terms or
lifetime support,
um, support for the entire span of the software Lifetime.
So they come out with new versions of Lennox fairly often. I want to say, gosh almost every six months or coming out of the new version of a bun, too, and it's labeled as such.
Um, if you dig into it more, you can see three idea behind what they're releasing and why they're releasing, et cetera, but we're gonna be installing a version of the bun to its 14 Dato four. Lt s,
It's a desktop version can. And I talked about in the introduction of this course that there's also a server version of a bun, too.
There's a couple other diversions that we're not gonna get into such a cloud,
but we're gonna focus mainly on desktop.
So let's go ahead and go to now again. If you want to download a bun, too, you just go to,
don't you? Don't you want to?
This is the safest place to get it done, too. If you google around, there's several different mirror sites that you can go and pull down a bunch of from. But
I really only ever trust downloading this destro of a bun, too. From
I'm sorry. That's destro of linens from the you Bunty website itself, which is owned by canonical, which runs on and develop soup onto. So what I do is I actually come here have gone to 12 dot com.
I'm going to go to appear in the the menu. There's desktop. You cook on desktop
right off the bat. It gives you a link to get a bun, too. Now
I want to go ahead and download the 64 bit version of a bun, too.
You can see it's 14 0 for one.
Ah, and what?
What I've done is I've actually already downloaded it, so I'm not gonna go through the process of downloading again. But you get the idea just clicking on the download button here. It'll download
profile for you,
then what you have to do is you have to mount it
as a nice Oh, so you have a couple options. You can actually
take the file. You downloaded it and burn it as an eye. So to a CD ROM's,
or if you go to virtual clone, Dr was just Google App.
If you know this already, hang tight, it's gonna walk through this for those that haven't seen it before.
Virtual Clone Dr is a bunch of different sized out there to believe I pulled mine down from Sly Soft.
Um, here you can go on download Virtual clone driving. When it does, it acts just like a CD DVD drive,
but it's just a virtual CD CD, DVD drivers and that you don't actually have to have it. So for some of us out there that are running,
um, you have these. These ultrabooks is really thin. Don't books are
Maybe you have ah,
you know, one of the Microsoft tablets. You can actually use this to act as a seedy Ron driving actually mount your file your ice so file as a CD wrong. That way you can install it. It's pretty easy to do.
There's a bunch of the software can get from this website, but it's pretty good. Slice off dot coms where you can get a virtual clone, Dr.
we can actually go to
being your workstation,
which is my hosted hyper visor, which is what I'm using to install my virtual machine
again we talked about in the induction introduction. You could be using a an actual stand alone on old del machine that you can pluck off Craigslist for a couple 100 bucks
to install it. Arnold laptop that you're not using to install it or a netbook
depends on what you're doing. But what I'm doing here is I'm working with the Amore workstation on my PC,
and I'm going to build the bun to machine as a virtual ashamed.
if you have the more work station you're following along, this is a good section for you because you can actually see if you've never used it, how we're gonna go ahead and do this. So this is your main humane screens is your home tab
and what you can do from home is pretty much the same thing you can do from the beside bar here, but we're gonna go ahead and create, click and create Click on, Create a new virtual, is she.
We quick that you have a couple of options. You can do a custom, which is advanced to give you a bunch of other options. That's just picking different kinds of sass adapters because the adapters
you can get really, really detailed with your installation of your virtual machine. The specifics of it, the amount of ram, the type of CPU, the old, different types of adapters involved.
We're not gonna go through that. We're gonna get straight into the installation. We're just gonna go to a typical to the recommended way of installing from the anywhere here.
It's just a quick, quick couple clicks to get through the actual installation so we could get to a virtual machine and actually
see what the installation of Lennox is like.
Someone quick next,
right off the bat
workstations. Pretty intuitive. It'll actually
find your if you have clone Dr Installed, it will actually find it already. It sees that it's mounted.
Um, undersea users. There's my name 1 to 14 hour four.
And so there there is. There's my actual ice. Oh, and it says it 1 to 64. Bit 40 Niner four is detected.
So that's that's perfect. It makes it simple. It goes out and grabs it for you just have to have a doorman mounted on Clone Clone driver actually on CD. Rob, Click Next.
You're gonna give your box of name here, and you're actually this this is for the purpose of the more work station
you're actually gonna go on. We install a bun to installer Lennox box. We're gonna actually go in and give it a name inside of clinics as well.
So what you're doing here is you're just telling me more work station what? You're going to name your box
and you're actually gonna give it a user name and password as well. But you're gonna end up doing again once you install it going to
on the actual Lennox side. So just for now, we'll give it a MME. Where you get your naming the user name here, so I'm just gonna make it cyber ery admin
again. Sye berry admin.
The password is just a simple password for this because I don't care if he gets acting and get hacked and blown up. There's nothing sensitive on it.
I just keep it is all lower case password.
It's important Thio is your learning with Lennox. I want to make it something simple because a lot of times when you go to install an application from the Internet, you try to pull it down with act get You have to know the root password
when you're building right here is you're gonna be building the root password, the admin or root password.
So when you do A when you go to pull down a package on line, it's gonna ask you for the root password, and this is the one you're gonna need. So try to make something you remember
otherwise. Going turn to a headache
when you're given a virtual machine. A name again. This is this virtual machine named giving it here strictly for being more workstations purposes and not actually the Lenox box. When you go into the installation,
we're gonna pick a virtual machine name for the for the the the installation for the limits side.
But we'll go ahead and I just keep it simple name of the same thing. I'm securing the area
3 a.m.
Actually its name, its library Lennox PM.
And here's the location tells you work is again. Remember, the virtual machines are basically just set of files. So this is where the actual virtual machine files they're gonna live.
In this director, you can always change to whatever you want. I just keep it. Default
makes it easier. You don't have to mess around trying to dig around, find where it is.
Click next.
We're gonna store a virtual machine, split the virtual virtual, distant multiple files.
Um, it's easier. Makes the performance better. And we're gonna give you the maximum this size of 20 gigs. We're just gonna keep this small
for the purpose of this class just to keep it nice and clean.
You could make it whatever you want. The recommended. It says here the recommended size for a bun to 64 bit is 20 gigs, so we're gonna give it 20 gigs. You can go as high as you want, but you have to remember new power on this virtual machine you're sharing. The physical resource is on your laptop,
so you have to be careful that you don't over commit yourself. You know, if you're especially if you're running with an SST. You
you've chosen to go with an SSD on your laptop or your desktop, and you've chosen one due to cost you chosen moments like 128 gigs
instead of like, a two terabyte spinning disc.
Well, you start toe carve out these virtual machines. You can take up a lot of space on those SST drives by creating large hard disk files. And that's
just something you want to stay away from, especially if you're just doing this for a lap purpose. Just make it the recommended 20 gig still going lower and that you should be flying.
So this next screen here is basically just going to give me
a summary of all the selections that I made. So I gave it a name, a location where the files are
again. This is strictly for Veum or workstations, purposes and knowledge that needs to know what it is, where it's gonna be
what kind of drive it is,
tells me I have one just standard one gig of Ram.
I'm using that just network address translation and just basically of sharing my
my virtual machines gonna be sharing my Internet connection on my laptop,
which is fine,
Um, and then it's also going to have some of the devices that are gonna be connected and presented to this virtual machine or the CD DVD. Drive the USB controller printer in a sound card
so you can go deeper. If you quit customized hardware, you could change it if you want instead of one gig, which is the recommended. You see the green check here
if you instead wanted to make it four Gigs of RAM. You could do that. However again, you've got to be careful. If this is a PM, you're gonna be sharing, your physical resource is so if you only have eight gig,
let's say you only have four gigs of RAM on your laptop and you power up this virtual machine that you've given it. Four gigs. Given a memory reservation of four gigabytes.
If you're running both your Windows machine and you're when Lennox Machine it's gonna choke pretty bad, it's gonna be really slow. You're gonna see major performance degradation, so try to just keep it the minimum. They're not going to see much of a performance. It at one gig
with stuff that we're gonna be doing in class anyways. Lab stuff.
So this just gives you a rundown. You can change. You can make it an air multi processors. We're just gonna keep it simple. Keep it at one different network adapters. You can change it to be host only. If you want to create a private network, you could change the host only. And it would only be shared, uh,
private network share with the host. Or you could land segments specify a specific virtual network.
We're just keeping it in that we're going to use the host i p address to get out. Well, Internet connectivity,
that's all we care about is to get out there in that connected these we can pull down packages, et cetera.
Not so much concerned about having our own Internet connection
separate from the host. So we're gonna keep it as is
on DDE
Close that and we're going to go to
you can leave. This checked their power on this virtual machine after creation. The unchecked this and you created it would just create the container with ever with it. Just basically be creating the container with all the settings
in the whole state.
So, actually, not until you turn on the virtual machine. Will it start installing? So if I was to uncheck this, it's just gonna install
the virtual machine on my laptop
That's gonna sit there with all the settings ready to go until you actually powerless. We're gonna leave that check so it powers on and kicks off our installation.
Then you're just gonna click finish,
Okay, So vi. And where it goes ahead and boots it
isil Lex.
we're gonna wait here. We're gonna look for something.
It's gonna tell us to quit the installation. We won't actually do unattended installation instead of, ah,
unattended here.
Let's give it a second to come up
and right reaches. Install with little X, really click that.
And when it says quit the installation of the question marks asking, Do you want to quit? Do you really want to quit the insulation? Now let's say yeah, I was going to quit it.
Well, that's gonna do is it's gonna quit the unattended installation of Lennox and it's gonna drop us into a live see the environment.
So let's wait for that to come up here a few seconds
we talked about in the introduction. Deacon Insult in several different locations. You can install it directly from a nice so
you can install Lennox from a live see the environment, and that's what we're gonna do is from a life CD environment. It gives us the option to do and attended installation, which is what we're gonna do
so you can see what gets work. It's partitioned. How big partitions are all the different settings.
So once he comes up, we'll go ahead and start that off.
Okay, so you can see now that we're actually into a what looks like a completely installed desktop. However,
this is what we're seeing here is just a live installation of a bun, too. Hasn't he actually even partitioned anything on the hard drive yet?
This is basically if you had a linen CD or if you downloaded the ice owned, burned it onto CD and popped it in your hard drive. You have the option of installing linen installing a bun, too.
We're just running the live version when you run the live version. Whatever you do, you can come in here and create files, etcetera, future If you would reboot the machine or shut it off, everything will be lost. It's not persistent. There's no persistency involved
in the live installation of a bun too.
But what it does is it gives us this desktop environment where we can actually go and click. Install a bun to this right here. This link
where we can walk through an attendant installation of a bun to linen so we can see what it is that we're actually configuring.
So I had double clicked on the install a bun, too,
and it gives me the installer here, and I'm gonna put this in full screen move. Here we go.
And just pretty much just like Windows is gonna walk you through step by step, we're gonna slip a language or go on, choose English.
Gonna quit. Continue. And what it does is it runs a little pre checker script. It tells you what you need to have an order for your best results in order to have the best results for installing bun too.
And the checks, you know, that you at least have six and 1/2 gigs of available Dr Space and that you're connected to the Internet. Those are just the two basic pre Rex that you need to install Lennox and we've got those kind of checked off fears. They have green check marks.
You have two other options. You can install third party software ***, which is,
you know, something that we're not going to do in this situation. But this is just one MP three kind of an MP three plug in.
You know, if you're doing this for your own personal environment, that's fine. But we're not gonna actually walk through that part because it'll take a lot of extra time
and then your other salute. The other selection is to download updates while stalling.
unless you're in a government environment, you have to stig your environment or your Windows box or your Lennox box.
I'm gonna leave this box unchecked because this could also taken extremely long time just for the purposes of the lab.
And the fact that I don't really care if this gets hacked are exposed to nowhere, because I could just blow it away. It's a virtual machine is completely segregated from my my laptop, my actual physical laptop. It's not gonna hurt anything,
so I'm not gonna worry about updates this point in time, and a later module will talk about updates. Kind of some system. Basic system maintenance.
That's well, that's We'll cross that bridge when we come to that. So we're just gonna leave this unchecked for now? Otherwise it would go out while installing. It would look out there searching for all the clinics, updates to a bun, too, which surely there's a lot of them since this is a brand new installation. So we're gonna skip over that Leavitt unchecked. But everything else looks good where we have a green light to go ahead
to continue.
So I'm gonna click. Continue
next is gonna take me to this screen here that asked that has talked about my installation type. So if you look at the top of the screen here and then in the in the text box, you have a nice little graphical representation screen bar. Here is SDA one, and you can see by default. It's pushing you to use the X t four
and then I hear the orange boxes. Small one over here is your swap file.
So remember I had my swap files one gig,
but my The amount of Ram I have is one gig also.
So So let's talk first before we do swap configuration
Dev sda So Device Dev is short for device
an SDA. Basically, this SDA right here is the raw devices, just the raw hard disk.
Um, at the lowest level, the most basic levels of the hard drives, the raw device.
So you have that underneath that on topple, actually, on top of that, you're gonna start building your partitions.
So your first partition of your route partition Your mount point is gonna be this last year in this forward slaw
is, uh is this is just universal for route. So it's actually gonna be your route partition.
When I talked about earlier, we're not gonna I'm not gonna I'm gonna stick to having it be e x t three nos defaulted t x t four.
It's for the purpose of the class and a stick t x t three.
And if you go to the drop down when you go back
right here where it says change If you highlight the item that you wanted to configure, you can go here and click change. You click this minus right here. Well, actually, delete that partition. We don't want to do that. We just wanna go to change.
And we're gonna use the use as drop down, and we're gonna select the E x t three journaling file system
Mount Point we're gonna keep it is root, cause that's what we want our route petition to be.
If I hit the drop down menu here, it gives me all the other possible mount points that I could have to install this partition.
Uh, I'm what I'm with the most important partition of Bill. This point time is the root partitions. That's what we're doing. I'm gonna keep that his route click. Okay.
Okay. You can see this now, Dev SDA one, which is our route. Partition is now e x t three.
You can see here that it's actually 20 gigs just a tiny bit over 20 gigs,
and then our swamp file right here is actually
one gig, and I'm actually I'm gonna leave that, as is, if you needed to. And if you wanted to, for your own purposes, you actually just going to change and I actually go through and you could change the fire. You could change the size of the swamp, vital to be whatever it is that you want. But for now, we're just gonna leave it as it is, because again, I'm not going to be doing a whole lot on this.
The only time you want to add more is if you're gonna be doing more.
Pushing it with a really noisy application that require a ton of
memory Resource is so we're gonna leave it as is, since this is gonna be a pretty baseline installation of Lennox. But here's where in the very beginning you can change it now. Also, take note that you can change the swamp file size at any point in time throughout the life of your machine. So if you feel like you need to bump the swamp file up,
you can always do that. I should say this one portion of swap partition
so you can always do that or you can do it now. Either way, you can do in this and it's fine, but really leave it as is for now.
So now that's all good. We're gonna go ahead and click install. Now we have our to our main partitions.
You can go ahead and stole a bunch of other partitions here if you want specific ones and name them. But for this
for this purpose with class. Really? Leave it as is
I'm gonna click Install now
again, Some other basic configuration is gonna ask you Where are you? Um, it's grabbed my internet connection, so it knows that I'm on the east coast of in Eastern time.
Eso it says New York for Eastern time.
And I want to go to continue
get a second here,
and then it's gonna ask me now what it's done is being your workstations, backfield. A little bit of it.
So my name is gonna keep My name is Sai Berry and men that's gonna be my user, my administrator or route user name.
And for my computer's name, it's put in here.
No, she was put cyber ery admin virtual machine. I don't want sale that. I want it back out the virtual machine parts
and just put,
uh, Cyberia
Lennox VM.
That's why I named in workstation. That's one living here.
Pick a username. Keeping it is my administrator password on my administrator name, which is strawberry admin in my password again. It's just gonna be password old or case Easy to remember.
Easy Thio use when I have to go and switch to the route user all the time. I'm just gonna keep that way
Now you have a couple options here if you click logging automatically when you're done with your installation, it's just going along you into the desktop. It's not gonna prompt you for using a password.
Obviously, that's a way less secure than having it requires a password to log on the user name and password.
So we're not gonna use that unless you're building a box for your kids. And you just want to make it simple, something they can get on there and bang around on.
Otherwise, you wouldn't always make sure that you check the radio box here. That's just require my password to log in
to take it. One step further is a check box here. Encrypt my home folder. If there's some stuff on your home folder, you want to make sure that it's encrypted.
If you're a little paranoid, if you have some stuff that sensitive some work stuff, it's sensitive. You can give encrypt your home folder so that it requires key exchange to actually decrypt. So we're gonna We're not gonna deal with that. So we're leaving unchecked. That's definitely an option. You have installing lyrics.
I'm gonna click. Continue.
And what it will do is kick off installation. So now that I've giving it everything, you can actually go here as it's installing. This is what this is basically the same box you would see on an unattended installation of Lennox.
But since we've gone through and set it up, we skipped all through the most of the steps or we're gonna do is you go here where this dropped honors. If you click it,
it will actually show you from a command line interface. What's going on? All the commands they're taking place to build out your limits machine
and it's gonna go. It's gonna go for a little while,
and we're actually going to skip ahead to the point where it's gonna give us our log in,
and then we will see
what to do next. So I'm gonna go and minimize this
to get a full screen mode here,
And it's got some nice little sliders where you can see some of the high highlights some of the features. There's the iTunes like,
um MP three library that you can play with. It's called Rhythm, Bach's music player.
We'll get into that Maurine the using Lennox part. There's some photo editing you can do
and then a little bit of the Web
Web topics
and then an entire office suite. All of this comes free with Lennox,
and then it gives you an option to go ahead and click here for support, which
you shouldn't need any support. At this point, time has been pretty straightforward,
but you always have the option of contacting a bunch of for support or just going to Google on booking for Lennox or in a bun to community.
So I'm gonna go ahead and pauses while it's continuing, and then we'll pick up when it's ready. Thio Ray first log in.
Okay, so here we are now at the actual log in screen. It's gone through the old process of installing,
and I just went ahead and skip to you, having a watch and sit there and watch it creep across the, uh, the update Bar Progress Bar. So
once it's done installing what it's gonna do, is gonna drop into this screen right here and what's going to go full screen on it.
And when you're working inside of via more work station or humor fusion of the and you've installed, you're a bunch of machine,
it's gonna look like this little on a first little small little box of the log in screen. Once you actually log in and picks up the display settings and it'll go full screen.
So again, this brings you to the page and as you can see you right off the bat. If you've never looked at Lenox before, there is no control of the week.
It just gives you this nice little gooey the law again
and kind of the same is, ah, same kind of set up. As you see on the Mac, there's no control of the week. You're just logging in
is just user name. Whoever is there now, if you click this guest session with the guest session will do won't ask for a user name or password. It will just drop you into a live CD like environment where there's zero persistence persistency so you can't you can create documents,
surf the web and do stuff. Hair. If you try to save anything, will lie to save,
and then when you log out of that guest session, it'll completely wipe it. So it's almost like a
like a virtual desktop situation where
that's non persistent. So anything you do in there, it will just get wiped away once you log out. So that's that's That's a good thing for guest. If you have them that you want to log in Oran situation
where you just need ah consul for maybe for virus scanning, you can do that and have, ah,
the consul where people could drop in their CD ROM's by our scan in the long out and wipes everything.
So that's that's not used as much. But that's just it's a good option to use it. Here. You have guests, otherwise you're gonna use your log in that. So right off the bat, remember, we were created the user of cyber ery admin. This is also gonna be this guy's gonna have my root level permissions.
Obviously, the actual root account is route, but for cyber ery admin, he has route like access. He's a super user,
so I'm gonna go ahead in law again.
And the password. All lower case. Fast forward.
I don't know. It's a long game is gonna kick up the display settings.
Give me a second here.
She's branded with the bun to 14. I know for a T s.
Here we go.
Right off the bat. Gives you some some tips from help.
Shortcuts, keyboard shortcuts. Go ahead and,
uh, sit here.
But I wanna do is go to our display,
changed that stop background
and thus change it. There we go. So now we have a full displace picked up.
So again there's a bunch of different wallpapers you can use. Like you stick with this Grady in color.
And so here we are. We're at the desktop.
If you look on the left, there's a bunch of stuff here. Bunch of icons you can use, which will go through a talk. We touched on it a little bit in the introduction. What about what Lennox waas?
a couple of important things I want to point out again is if you go to hear, you can click on this. This is like your
on your mac. Your spotlight. Right. This will search.
You click here. You can search anything if you just type in.
Most important tool we're gonna use threatens classes Terminal.
What that does is gonna launch your terminal. It's gonna drop you right into your user. Um,
user working directory. Okay.
And this is this is basically it's so from here, we're going to do everything throughout the entire course.
We're gonna touch a networking. Really? See how sitting up printers is how had, uh,
navigate the file system and some common command lined commands. We're gonna go through all that and we're gonna do from this kind of desktop. So hopefully at this point time, you got a chance to create your own and install your own new bun to or limits like Lennox Destro sent us
fedora. Any of those
you can use to actually follow along, it's gonna be slightly different. I would suggest that you stick with the bun, too.
But as long as you have something to fall along with you find that your your investment, your return on investment,
the time that you spend in this class will be much greater if you actually can follow along and do your own play around, create things break things. It's the best way to learn.
So that's it. In a nutshell that's installing Lennox, and that is an intended insulation from a graphical user interface. We're not gonna cover an actual command line interface installations just too involved, and you won't be tested on the exam of actually installation from a command line.
So that's it for this module and stay tuned for the next module and we will pick up in.
Up Next
Fundamental Linux Administration

An open-source operating system modelled on UNIX, first released by Linus Torvalds in 1991. Why do I need this Certification? With the increasing popularity of cloud based systems and data centers, organizations need system administrators

Instructed By