‫Instructor: Hi, within this lecture
‫we're gonna see how to install Kali Linux to the VirtualBox
‫using the ISO file
‫that we have downloaded in the previous one.
‫So if you have the Kali Linux working,
‫then you should skip this lecture
‫because this is only for people experiencing problem
‫in the OVA file.
‫So as I said before, sometimes OVA is great.
‫So most of the times it's great,
‫but sometimes it does not work.
‫So if you want to, you can remove the OVA,
‫deleting all the files, okay?
‫It will just completely remove the virtual machine
‫that you have created and you can even empty the trash.
‫And then, you can just go ahead and install the ISO file
‫to have a working copy of Kali Linux.
‫Okay, again, if your Kali Linux is already working,
‫then you shouldn't do that.
‫Now I'm gonna go to New,
‫and I'm going to name this virtual machine Kali Linux.
‫Okay.
‫So I'm gonna add ISO,
‫so that I can keep track what's going on
‫inside of my VirtualBox.
‫You can name this anything you want.
‫However, type will be Linux
‫and version will be Debian 64-bit
‫as the previous one as usual.
‫So I'm gonna allocate one gigabyte of RAM.
‫And as you know, we can change this afterwards.
‫And I'm going to come over here to the hard disk part.
‫And in the hard disk part, I'm going to say
‫as you can see, there are a couple of options,
‫I'm gonna say create a virtual hard disk.
‫So this virtual hard disk will be saved
‫to this file location.
‫I don't think you can change or you should change that,
‫if you want, you can always change that.
‫For the file size, I'm gonna allocate 40 gigabytes, okay?
‫This will be used by the Kali Linux.
‫This will be deducted from your own hard drive.
‫And again, if you delete it later on, it'll be free.
‫Don't worry about it.
‫You shouldn't change anything over here
‫for the hard disk file type,
‫I'm gonna go with the VDI
‫and dynamically allocate it.
‫Obviously it creates the virtual machine,
‫but we are gonna have to go into the Settings
‫and adjust something.
‫Because we haven't even connected with the ISO yet.
‫So what I'm going to do, I'm gonna go into the System,
‫and if you want you can change the processors,
‫the memory and stuff.
‫And obviously, I'm gonna take it to the NetNetwork,
‫and allow all to the promiscuous mode
‫as we have done before.
‫Don't forget to do that please.
‫But this time, we're gonna go into the Storage,
‫and make sure the ISO is connected.
‫So this controller thing,
‫Kali Linux ISO.vdi thing the virtual machine hard drive
‫that we have created in the previous step.
‫But right now we have to make sure that
‫ISO is also included in this machine.
‫As you can see,
‫if you come to this empty controller over here, okay,
‫the disk over here, empty disk over here,
‫you can click on the choose a virtual optical disk icon
‫and choose a disk file, okay?
‫Then you're gonna have to find the ISO
‫that you have downloaded.
‫Mine is on the desktop and just choose the ISO.
‫That's all you got to do
‫to connect the ISO with your Kali Linux virtual machine.
‫So remember, this is where we have downloaded that, okay?
‫So make sure your ISO has been finished downloading
‫and then say OK.
‫Great, now I can just start this.
‫The obvious reasons
‫why we are not preferring the ISO over OVA
‫in the first place is that
‫because we're gonna have to install it manually.
‫As you can see, Kali Linux starts with this screen,
‫and if you don't choose anything or if you just hit Enter,
‫it will guide you through the installation process,
‫which will take a little bit of time.
‫Now, as you can see, it asks you to select the language.
‫I'm gonna go with English,
‫but if you want,
‫you can choose your own local language as well.
‫I generally don't want to change this language.
‫But for keyboard, for example,
‫I'm gonna go with the Turkish keyboard
‫because that's what I'm using.
‫But over here I'm just gonna leave it as English
‫and I would suggest you to do so if you speak English, okay?
‫Because it's much more clearer in menus,
‫in like error messages, and something like that.
‫And for the location,
‫hackers don't tend to give out their location,
‫don't wanna do that many times.
‫So I'm gonna just go with the United States.
‫Of course, we are not gonna do anything illegal,
‫so you can choose your own country as well.
‫So for the keyboard, I'm gonna look for the Turkish one,
‫because I'm using a Turkish keyboard right now
‫with the Q layout.
‫So I'd suggest that you choose your own keyboard over here
‫rather than only English.
‫So what I'm gonna do, I'm gonna wait,
‫because this will just go for like a half an hour
‫just to install this stuff.
‫And in the middle of the process and between the process,
‫it will ask you for some questions like,
‫where to install it,
‫what kind of selections that we want for installation.
‫I'm gonna walk you through all of them.
‫But to keep in mind,
‫I'm just going to go with the default selections every time.
‫Okay?
‫Just over here,
‫it asks us to give like a host name for this system.
‫And as you can see, this is like a single word, okay?
‫It should be a single word that identifies our system.
‫So I'm just gonna make it Kali.
‫And for the network, this is the domain name.
‫Okay, it's asking for a domain name.
‫If you're working for a company, for example,
‫like Atil Sec company for example,
‫you should come over here and write atilsec.com,
‫or anything like that.
‫I'm just gonna give it my name, okay, .com, okay?
‫So you can do that as well.
‫Give it your name .com,
‫or you can just give like kali.org or something like that.
‫It doesn't matter at this point.
‫What I'm gonna do,
‫again I'm going to give like my name .com, atil.com.
‫So this is important,
‫It's gonna ask us for a user and a password.
‫So remember we are using Kali, Kali.
‫Now I'm gonna use my name Atil
‫and again it's asking for a username.
‫I believe the previous one was our full name,
‫so it doesn't matter, I'm just gonna go with Atil, okay?
‫You should write your own name obviously
‫over here for your username.
‫And this is the username that you're going to be using
‫in order to log into the Kali from now on.
‫Because we are, since we are using this for the first time
‫installing this for the first time,
‫we get to actually choose our username and password.
‫Okay, right now it's asking for a password.
‫And as you might remember
‫the password is either T-O-O-R or Kali.
‫I'm just gonna give some password over here.
‫I'm choosing my own password.
‫I'm choosing my own username.
‫I'm going to use them to log in.
‫So make sure you don't give something
‫that you wouldn't remember later on.
‫So I'm just gonna say continue.
‫It's asking for the time zone, for the clock,
‫I'm just gonna go with default option.
‫I don't care about the time on my Kali Linux.
‫And here you go.
‫Now it's going to take some time
‫and it's gonna ask some questions like,
‫here we go.
‫It says that if you wanna use the entire disk,
‫and by entire disk,
‫it means that 40 gigabyte disk that we have created.
‫I'm just gonna say yes
‫and I'm just gonna say Continue.
‫I don't wanna create like
‫different partitions for any of the hard drives.
‫So I'm just gonna go for all files.
‫And as you can see, I'm not even changing anything, right?
‫I'm just choosing the default options.
‫So here we go.
‫It says that write the changes.
‫Yeah, I should have changed that one.
‫I should have said yes.
‫If it's asks for write the changes,
‫then we're gonna say yes.
‫And just continue.
‫And by writing the changes it means that,
‫it's gonna use the hard drive that we created,
‫It's gonna install everything into that hard drive
‫and we will be using it.
‫Okay, that's not something that we should say no to.
‫But for the other options, as you might have witnessed,
‫I haven't changed a single thing.
‫So if you see some kind of,
‫I don't know, funny option that you don't see here,
‫then you should go for the default one anyway.
‫And many of these options can be changed later on.
‫Okay, and remember that this is just a virtual machine.
‫I like deleted and installed virtual machines
‫like thousand times now.
‫'Cause it's a virtual machine, don't get attached to it.
‫You may wanna delete it and just reinstall it
‫for some reason later on.
‫Okay, so it asks for what kind of software selection
‫do we want to install to the Kali Linux.
‫I'm just gonna go with the default ones, okay?
‫We are already going to see how to use the package manager
‫to install what we need during this classes.
‫So our username and password will be different
‫than what we have seen before like Root or Kali,
‫and it doesn't matter.
‫We're gonna see what kind of things,
‫what kind of problems we may run into,
‫if you are using different usernames
‫and what kind of permissions they have.
‫We're gonna learn how to use Linux, don't worry about it.
‫So here you go.
‫It says that Enter device manually,
‫or choose your own device.
‫Yeah, I'm gonna choose only one,
‫there's only one option anyway.
‫So make sure you choose it and hit Continue.
‫And for some reason my mouse does not seem to work,
‫so I'm just gonna hit Tab and hit Enter to continue.
‫Here you go.
‫And we are going to, I believe we're coming to the end.
‫Okay, we are finishing the installation..
‫We've been doing this for like more than 10 minutes
‫and I even pause that sometimes
‫so that I can just wait for installation to be completed.
‫Again, it's going to take like a half an hour for you.
‫Don't worry about it. It's the normal way.
‫So let's wait until it asks something more.
‫Here you go.
‫It says that, yeah,
‫if you wanna finish the installation, just hit Continue.
‫Hit the Continue.
‫Of course we wanna finish the installation.
‫And I believe it's going to reboot once it's done.
‫Yeah, here you go.
‫Now it's rebooting and it will just take us to the Kali.
‫Here you go.
‫This is exactly the same thing that we have seen
‫when we installed the OVA
‫because it was working for me anyway.
‫Great.
‫Now it's going to ask us for our username and password.
‫And over here you should give your username and password
‫that you have created while installing this.
‫Great.
‫Now I'm going to log in with my username and password
‫And let's see if we can see the background,
‫if we can see the desktop.
‫Here you go.
‫Everything seems to be working.
‫Once you make this big screen by the way,
‫if it doesn't go full screen, don't worry about it.
‫I'm gonna show you how to change it later on.
‫But right now, you can just close it down
‫and you can just go with the next lectures.
‫And again, if it didn't work out for you,
‫if the ISO didn't work out for you,
‫then just refer to the solution documentation.
‫Maybe you can see something different over there.
‫Just make sure your virtualization is enabled,
‫otherwise it wouldn't work.
‫Make sure you try different options
‫and make sure you try VMware as well,
‫if nothing else works for you.
‫And most important,
‫don't forget that hundreds of thousands of students
‫solve those issues,
‫you can too.