‫-: Hi. Within this lecture we gonna see how to
‫install the Kali Linux.
‫So, if you downloaded Kali Linux
‫from the Kali.org, that is great.
‫Or if you download it from our custom OVA link
‫that is great as well.
‫It really doesn't matter where you downloaded it.
‫So, depending on the situation, you might come
‫across an OVA file or a standalone 7-Zip seven Z file
‫on your desktop or wherever you downloaded it.
‫Don't worry about it, I'm just gonna walk you
‫through to show you every step of it.
‫And again, in this course we are actually focusing on Linux,
‫so it really doesn't even matter
‫if you're using Kali Linux.
‫Obviously we are gonna learn Kali Linux
‫and we are gonna practice so much on it.
‫So after you complete this course
‫you will be actually affluent in Kali Linux,
‫but the actual aim is to get you comfortable
‫with all the Linux distro's.
‫So anyway, if you downloaded it from my link,
‫my custom link, then you have an OVA extension file
‫on your desktop or on your Downloads folder.
‫But if you downloaded it from the Kali.org,
‫then it may come as like a 7-Zip file, seven Z.
‫So this is a regular zip file.
‫You have to unzip it, okay?
‫So if you are on Mac, just double click on it
‫and Archive Utility will just take care of it.
‫It will unzip it and put it
‫in the desktop or wherever you are right now, okay?
‫It will just unzip the folder and you will see it.
‫But if you're on Windows, you will need an extra,
‫like a tool or a software such as WinZip, WinRAR,
‫So whatever you are using,
‫I bet you are using something right now, but if not,
‫you can just come over here
‫and search for WinRAR download for example.
‫This is for free.
‫You can just download the WinRAR and get along with it
‫or you can download 7-Zip, WinZip, whatever you want.
‫All you gotta do,
‫just right click on it and say "Unzip" or, "extract here."
‫So I did that already because it may take a couple
‫of minutes to unzip this because it's a big file, okay?
‫After you unzip it
‫you will see a folder like this on your desktop.
‫So, even though I hit Cancel, it's still goes on.
‫So it real doesn't matter.
‫Let me show you the folder.
‫So after you unzip it, you will see a folder like this.
‫Okay, let me just bring this down.
‫In this case you will see two files, like one vbox file
‫which is the vbox extension that we are seeing
‫and one vdi file.
‫So they are the same thing actually.
‫Even if you have OVA or vbox or vdi,
‫it really doesn't matter because it works the same.
‫I will show you how to work
‫with that and also the other one as well.
‫So, whether you download it
‫from our link or Kali.org, it doesn't matter.
‫So let me show you what I mean.
‫I'm gonna open the virtual box.
‫As you can see, I have many instances over here
‫and you will have when you complete this course as well.
‫Don't worry about it.
‫All I gotta do,
‫I'm just gonna open this vbox file or folder
‫and I'm just gonna double click on this vbox file, okay?
‫vbox extension and here you go.
‫It already added Kali Linux on the left hand side
‫and that's it.
‫That's all we gotta do.
‫Now you may think that, "Why do we have two files over here
‫like, one vdi file, what does it do?"
‫So vdi file is something like more than 10 gigabytes
‫and vbox file is only three kilobytes, right?
‫So this is a very small file
‫and it's actually a configuration file.
‫All it does is that when you double click on it,
‫it adds the virtual box on it.
‫Adds the Kali Linux to the virtual box, okay?
‫It's a configuration file and
‫if you've done that then it's great.
‫So let me show you how OVA file works.
‫Again, all I gotta do, just double click on it,
‫and you will see some kind of Settings page.
‫Don't worry about it, all you gotta do
‫is just hit import and it will
‫be appeared on the left hand side when it's done.
‫Now, it may take a couple of minutes
‫if you're doing this with OVA, it's okay.
‫And if you're doing it with this vbox file,
‫then it's just gonna pop up over there immediately.
‫And again, it's okay.
‫Now I'm gonna show you how it works
‫behind the curtains as well.
‫I'm talking about the vbox and vdi, don't worry about it.
‫But while we wait this, let me show you what we can do.
‫The other things like,
‫well the other options on the Kali.org.
‫So we have come over here
‫and we downloaded the virtual box from there and it's great
‫but also there is something called Bare Metal.
‫So Bare Metal stands for like,
‫installing the Kali Linux on the hardware itself, okay?
‫So we don't even have to install Kali Linux
‫as a virtual machine.
‫We can install it as the main operating system
‫or dual boot operating system on our hardware's,
‫on our computers.
‫For example, you can do stuff, something like,
‫when you open the computer it may ask you
‫if you wanna open the computer with Kali Linux
‫or Windows that is doable, or you can just delete
‫or erase the Windows and just go along with the Kali Linux.
‫However, we do not recommend that if you are a beginner,
‫because Kali Linux is actually a very
‫hard to use operating system, okay?
‫You may come across some kind of driver problems, such
‫as, maybe it won't to detect your keyboard,
‫it won't detect your speakers, or something like that.
‫And none of this happens on the virtual box, okay?
‫And if you're working with virtual box,
‫you can just break it, you can just do whatever you wanna do
‫and if you do something bad,
‫you can just delete it and install it from scratch.
‫It will just take a minute for you.
‫However, if you do that on the main operating system,
‫it will cause you many problems.
‫That's why we do not recommend that Bare Metal thingy.
‫However, it's also possible to download this
‫Bare Metal which gives you the ISO file
‫and turn that ISO into a virtual machine as well.
‫And we are gonna be talking
‫about it in the problem solving lectures
‫if you come across any problems.
‫If not, if you just can make it happen,
‫if you can make it run, then it's okay.
‫You can go along and never think about it again.
‫And you will see how to deal with that
‫in like a couple of minutes, don't worry about it.
‫Now, whether you have downloaded the OVA or the vobx file
‫it won't matter in a minute
‫because you will see it on the left hand side, okay?
‫Now I imported this and I also imported the vbox
‫or vdi file.
‫And as you can see now I see them both
‫on the left hand side.
‫Obviously you only need one,
‫so you don't have to do that.
‫I'm just showing you different kind of ways
‫of installing Kali Linux and it really doesn't matter.
‫If you see something on the left hand side as Kali Linux
‫then you are good to go.
‫Now we are actually ready to run this off,
‫but, I want to do something else before we do that.
‫What I wanna do, I wanna click on some Kali Linux, okay?
‫Any Kali Linux that you have installed
‫on the left hand side you're seeing over there,
‫just click on it and find the Settings button, okay?
‫Once you click on it, it will just appear
‫on the top or top of the virtual box
‫and we're gonna have to change some settings
‫of this Kali Linux in order to start this off.
‫Now it's powered off.
‫When we power it on, you will see what I mean.
‫Now I'm just gonna open the Settings and here you go.
‫First of all, we are in the General tab and
‫you can't even change the name of the virtual machine, okay?
‫You can just make it Kali Linux or something else.
‫In the type, it should be Linux, okay?
‫Not Windows, not Mac OS, or any other operating system.
‫It should be Linux.
‫Then, in the version, you have to choose
‫the Debian 64-bit, okay?
‫So if you're working on a 32-bit machine
‫then of course you can choose Debian 32-bit.
‫But if you're working on a third 64-bit machine
‫then you should choose Debian 64-bit.
‫Even if you're on a 64-bit machine,
‫if you cannot see the 64-bit versions,
‫if you're only seeing 32-bit versions,
‫then you have a problem.
‫Most probably you should enable virtualization
‫in your bio settings.
‫And in order to do that, please refer to the next lecture.
‫If you come across any problems during this
‫Linux installation, just refer to the next lecture, okay?
‫But if you see the 64-bit right now,
‫just go along with it.
‫And if you don't even see it right now
‫you can just do the rest of the settings as well.
‫But most probably it won't work in your case.
‫Then you're gonna have to do some problem solving
‫and I'm gonna walk you through it, don't worry about it.
‫But if you see the 64-bit, just choose it
‫and you have to choose the Debian, not something else
‫because Kali Linux is built on some distro
‫called Debian, okay?
‫Now of course this is not it.
‫We have a System tab here as well.
‫In here we have the base memory, which is actually the RAM.
‫Now in the RAM section, I allocated two gigabytes,
‫but I have 32 gigabytes on my host machine on my computer.
‫So I have plenty.
‫So I can actually allocate as much as I want.
‫But you are more
‫than welcome to give like one gigabyte over here.
‫Like, you can just write 1024 megabytes, okay?
‫So if you have four gigabytes of RAM for example,
‫then you can just allocate one gigabyte.
‫Kali Linux works perfectly with one gigabyte, but
‫if you have plenty like mine, then you're more
‫than welcome to just give two gigabytes.
‫Of course, I'm giving it less or giving it more
‫may verse in the things,
‫so you have to find this like Optimum thingy to
‫allocate over here.
‫So for the the other features, I'm not gonna change anything
‫and I suggest you do that as well.
‫Sometimes it doesn't work and we have to come back over here
‫and play with these features.
‫For example, in the APIC Enable IO APIC here,
‫APIC of feature over here, it should be enabled
‫but I have seen some cases when people disables this
‫it works, but when they enable it, it doesn't work.
‫So I recommend you don't change anything here, okay?
‫Just leave it as it is and if it doesn't work
‫for some reason, then come back and play with it.
‫Just disable it and try one more time.
‫Now for the System tab, again, I forgot to show you
‫the processor.
‫If you go to the processor then you can allocate processor
‫numbers as well.
‫So I have 16 CPUs apparently, and I have allocated two.
‫And again, you're more than welcome to just allocate it one
‫okay? It works good with one CPU as well.
‫But since I have plenty,
‫I'm just giving two and I'm not changing any other
‫features over here, like I said before.
‫And that's it.
‫So I haven't even changed anything,
‫I'm just using the defaults as you can see right now.
‫Now that is great and we have to actually look
‫over some of the other features here as well.
‫You're more than welcome to just come over here to display.
‫We won't change anything over here.
‫Most probably it's all fine.
‫But if you see video memory like zero megabyte, then
‫you're just gonna have to give some.
‫All the green values, all the green ranges are okay,
‫so don't overthink it.
‫In the storage case.
‫So remember the OVA or the vdi file that I have shown you?
‫So vdi is actually connected here
‫to the controller SATA section over there.
‫Now that is how it works, okay?
‫Now vdi is connected over here,
‫so most probably you will see that in this case.
‫So don't change anything over here, don't touch anything.
‫But if some reason, if you don't see it, okay,
‫for some reason, if it cannot be found over here,
‫let me show you what I mean.
‫I'm gonna detach it from here, okay?
‫I'm gonna detach it.
‫Don't do that, okay?
‫If you see something like that,
‫if this is empty or if there isn't anything over here,
‫then you're gonna have to connect it manually.
‫Now, there are two buttons over here,
‫one for optical drive for hard disc,
‫we want the hard disc one.
‫If you click on that, you can just add the file, okay?
‫Find the vdi file on your browser here and just
‫double click on it and choose it and it'll be connected.
‫And again, if you see it over there
‫you don't have to do anything 99% of the time
‫you don't have to do anything.
‫So just don't touch it.
‫But I'm showing you to let you understand
‫how this works, okay?
‫And that's it for the vdi, this is how they're connected.
‫For the audio we don't have to change anything.
‫And again, for the storage, if you're working
‫with the OVA file, it should be already there,
‫so just don't worry about it at all.
‫So for the audio, I'm not gonna change anything.
‫For the network, we are actually gonna change something.
‫So remember we have created a NATnetwork
‫when we set the virtual box up for the first time.
‫Then we are gonna have to just change it.
‫Like, right now it works in NAT.
‫We are not wanting NAT, we want NAT Network, okay?
‫So if you change the NAT network
‫you can just choose the name.
‫This is the name that you created before
‫from the virtual box settings.
‫And in the advanced settings,
‫make sure you change the Promiscuous Mode
‫to All Allow All, okay?
‫Right now it should be Deny.
‫Just find a lot from here and just change it.
‫So that is great. Allow All.
‫So I have changed, actually I only change this part.
‫Remember we already use all the defaults
‫in the General tab, System tab, Display tab, Storage tab.
‫I only change this, so I change this
‫from the NAT to NAT network,
‫and I hit okay and that is all.
‫So make sure you got everything right.
‫We're using all the defaults,
‫just make some changes if necessary.
‫But don't forget to change the network over here,
‫it should be NAT network.
‫And after you're done,
‫then all you gotta do is just hit the Start button.
‫Now when you hit the start button,
‫if you get a like an error message, don't worry about it
‫just go to the next lecture.
‫Sometimes it helps if you close it up
‫and try to open it from here,
‫like clicking on the little arrow over here and say,
‫"open headless", okay?
‫But we're gonna talk about it in the next lecture,
‫don't worry about it.
‫Right now, if you manage to run this Kali Linux,
‫then it is great.
‫Everything is working out for you.
‫Now we have to log in.
‫It asks us a username and a password.
‫So if you downloaded it from the Kali.org,
‫then your username is Kali, okay?
‫And the password is Kali as well.
‫Right now I'm writing Kali,
‫but if you're using something else like,
‫maybe a non-English keyboard,
‫it may not display the right keys for you.
‫So, for example, if you have something
‫like a very similar to "I" in your own alphabet
‫it may not be displaying the things,
‫so you have to just find the right "I" for you, okay?
‫Just hit on random elements on your keyboard.
‫But if you have downloaded the OVA from my link,
‫then the username should be "root"
‫and the password should be "T-O-O-R", okay?
‫So of course you have to write T-O-O-R in the password
‫and the route in the username section, but
‫I have just written it over here so you can see it.
‫But if you downloaded it from Kali Linux, Kali.org
‫then it should be Kali Kali.
‫And don't worry about the keyboard thing,
‫I'm gonna show you how to change your keyboard
‫and how to make it to your local keyboard as well.
‫But if you see the screen, that is great.
‫Everything is working out for you.
‫Now as you have seen, I made it
‫into a full screen and it works fine.
‫If it doesn't work fine for you, don't worry about it.
‫I'm gonna show you how to change the screen resolution.
‫I'm gonna show you how to change the keyboard settings,
‫and everything in the next section.
‫But right now what I wanna show,
‫I wanna turn this off, okay?
‫So I want to click over here
‫and say "Power of the machine."
‫It will just power off the machine
‫and we can start it again.
‫We can start it anytime we want from the virtual box itself.
‫This is great.
‫Now, if you have made it this far,
‫if you manage to run the Kali Linux, that is great
‫and you won't be dealing with any kind of problem solving.
‫But if you got any error, then you're gonna have to go
‫to the next lecture.
‫Depending on your operating system,
‫maybe even the next lecture and the lecture after that,
‫because we have different lectures
‫for Mac OS problem solving and Windows problem solving.
‫We have a documentation for problem solving,
‫you have to review that.
‫We have thousands of questions answered
‫before regarding the installation problems.
‫You have to review them.
‫Of course, if you cannot solve your problem anyhow,
‫then you're more than welcome to open a question
‫in the Q & A section.
‫But most of the time people just solve these
‫problems by looking at the following lectures. Okay?
‫So don't worry about the problems, You will solve this.
‫And beware that, we will be having like a,
‫full scale Linux introduction lecture
‫or sections in the upcoming section.
‫So if you're curious about how to use the Kali Linux,
‫then we are gonna see it.
‫Don't worry about it.
‫See you in the next one.