1 00:00:00,180 --> 00:00:01,080 Instructor: Welcome back. 2 00:00:01,080 --> 00:00:02,220 So in the last lecture, 3 00:00:02,220 --> 00:00:05,939 we downloaded our installer file for VirtualBox 4 00:00:05,939 --> 00:00:10,050 and we also downloaded the ISO image for Kali Linux. 5 00:00:10,050 --> 00:00:12,810 Now it is time that we combine these two together 6 00:00:12,810 --> 00:00:16,440 in order to create our first virtual machine. 7 00:00:16,440 --> 00:00:17,610 But of course, 8 00:00:17,610 --> 00:00:20,400 to do that we need to install VirtualBox first 9 00:00:20,400 --> 00:00:22,710 with this installer file. 10 00:00:22,710 --> 00:00:25,950 So double click on the VirtualBox installer file. 11 00:00:25,950 --> 00:00:28,740 It will require administrator privileges. 12 00:00:28,740 --> 00:00:31,380 Simply just input your admin password 13 00:00:31,380 --> 00:00:33,390 and it will open this window 14 00:00:33,390 --> 00:00:35,910 welcoming you to the VirtualBox. 15 00:00:35,910 --> 00:00:36,870 Now it says here, 16 00:00:36,870 --> 00:00:40,620 the Setup Wizard will install Oracle VM VirtualBox 17 00:00:40,620 --> 00:00:41,580 on your computer. 18 00:00:41,580 --> 00:00:45,780 Click Next to continue or Cancel to exit Setup Wizard. 19 00:00:45,780 --> 00:00:49,380 We want to proceed, so I'll just click on Next. 20 00:00:49,380 --> 00:00:51,660 Here under the custom setup, 21 00:00:51,660 --> 00:00:54,120 I personally won't be changing anything. 22 00:00:54,120 --> 00:00:56,010 You don't need to change anything as well. 23 00:00:56,010 --> 00:00:58,140 You might want to change location 24 00:00:58,140 --> 00:01:00,600 if you prefer a different location to this one, 25 00:01:00,600 --> 00:01:03,240 but I do advise that you leave this location 26 00:01:03,240 --> 00:01:07,050 and that you just proceed to the next step by clicking Next. 27 00:01:07,050 --> 00:01:09,360 And here we got a warning that says, 28 00:01:09,360 --> 00:01:12,780 installing Oracle VM VirtualBox Networking feature 29 00:01:12,780 --> 00:01:15,030 will reset your network connection 30 00:01:15,030 --> 00:01:18,030 and temporarily disconnect you from the network. 31 00:01:18,030 --> 00:01:20,460 Now, it's just a warning that says 32 00:01:20,460 --> 00:01:22,170 you might be disconnected from the network 33 00:01:22,170 --> 00:01:24,000 while installing VirtualBox. 34 00:01:24,000 --> 00:01:27,330 Now in my personal experience this has never happened, 35 00:01:27,330 --> 00:01:29,220 but it might happen for you. 36 00:01:29,220 --> 00:01:31,410 So if you're doing anything important 37 00:01:31,410 --> 00:01:33,570 over the network at the moment, 38 00:01:33,570 --> 00:01:34,770 wait for that to finish 39 00:01:34,770 --> 00:01:37,890 and then proceed with the VirtualBox installation. 40 00:01:37,890 --> 00:01:40,230 I'll just proceed with the installation right now 41 00:01:40,230 --> 00:01:43,140 by clicking on Next or on Yes. 42 00:01:43,140 --> 00:01:44,550 And it will tell me 43 00:01:44,550 --> 00:01:46,980 that there are certain missing dependencies. 44 00:01:46,980 --> 00:01:48,900 Now, in order to install them, 45 00:01:48,900 --> 00:01:50,470 you simply just click on Yes 46 00:01:52,020 --> 00:01:54,300 and you click Install to begin installation. 47 00:01:54,300 --> 00:01:55,833 So I'll just click on Install. 48 00:01:57,240 --> 00:01:58,800 This shouldn't take too long. 49 00:01:58,800 --> 00:02:02,580 It might take 30 seconds or up to a minute 50 00:02:02,580 --> 00:02:04,890 for installation to finish. 51 00:02:04,890 --> 00:02:08,699 And once it finishes, we will get this window prompt 52 00:02:08,699 --> 00:02:12,780 that says Start Oracle VMware VirtualBox after installation. 53 00:02:12,780 --> 00:02:14,343 Want to click on Finish. 54 00:02:16,110 --> 00:02:18,870 And in just a few seconds, here it is, 55 00:02:18,870 --> 00:02:22,560 we get VirtualBox window opened. 56 00:02:22,560 --> 00:02:26,520 Now in your case, the window will not look like this. 57 00:02:26,520 --> 00:02:29,280 I already have some virtual machines installed. 58 00:02:29,280 --> 00:02:32,670 You won't have any of these machines installed 59 00:02:32,670 --> 00:02:34,440 on the left side. 60 00:02:34,440 --> 00:02:37,770 Your window will look something like this. 61 00:02:37,770 --> 00:02:39,570 Now it should welcome you to VirtualBox, 62 00:02:39,570 --> 00:02:44,040 but once again, you won't have these machines installed 63 00:02:44,040 --> 00:02:47,190 or available on the left side, 64 00:02:47,190 --> 00:02:48,450 but more about that later 65 00:02:48,450 --> 00:02:50,520 once we install the virtual machines. 66 00:02:50,520 --> 00:02:53,940 For now on, we are going to pretend as these don't exist 67 00:02:53,940 --> 00:02:57,450 and we're going to create our first virtual machine. 68 00:02:57,450 --> 00:03:00,420 So to create our first virtual machine, 69 00:03:00,420 --> 00:03:03,540 we want to click on this New button. 70 00:03:03,540 --> 00:03:06,600 If I click on New, it'll open this window 71 00:03:06,600 --> 00:03:09,150 where it will ask me certain questions 72 00:03:09,150 --> 00:03:11,640 about the virtual machine that I want to create. 73 00:03:11,640 --> 00:03:14,100 The first question is name, 74 00:03:14,100 --> 00:03:19,100 so I'll just call it Kali Linux 2023. 75 00:03:19,410 --> 00:03:21,000 I'll just leave it at that. 76 00:03:21,000 --> 00:03:22,620 You can call it whatever you want. 77 00:03:22,620 --> 00:03:24,210 You can simply just call it Kali Linux. 78 00:03:24,210 --> 00:03:26,010 It doesn't matter. 79 00:03:26,010 --> 00:03:29,520 Now what matters is this ISO image, 80 00:03:29,520 --> 00:03:33,120 here we want to select the ISO image of Kali Linux 81 00:03:33,120 --> 00:03:34,530 that we downloaded. 82 00:03:34,530 --> 00:03:37,620 So since it says that it is not selected, 83 00:03:37,620 --> 00:03:39,120 I want to click on here. 84 00:03:39,120 --> 00:03:42,210 I want to click on Other and simply just navigate 85 00:03:42,210 --> 00:03:45,360 to where you have your Kali Linux ISO image saved. 86 00:03:45,360 --> 00:03:48,600 In my personal case, it is on desktop and here it is. 87 00:03:48,600 --> 00:03:51,210 I'll just click it and click on Open. 88 00:03:51,210 --> 00:03:52,860 And you can see right here 89 00:03:52,860 --> 00:03:55,473 it selected a path to the ISO image. 90 00:03:56,550 --> 00:03:59,730 Under type, want to have it set to Linux. 91 00:03:59,730 --> 00:04:01,920 And under the version, 92 00:04:01,920 --> 00:04:04,320 if you remember from the Kali Linux official page, 93 00:04:04,320 --> 00:04:07,740 it said that it was Debian-based operating system. 94 00:04:07,740 --> 00:04:12,540 So ideally here we want to find Debian operating system, 95 00:04:12,540 --> 00:04:14,040 which is right here. 96 00:04:14,040 --> 00:04:16,380 We can see that it has bunch of versions, 97 00:04:16,380 --> 00:04:20,519 but we can simply just choose the regular Debian 64-bit. 98 00:04:20,519 --> 00:04:24,240 Now of course if you downloaded the 32-bit Kali Linux image, 99 00:04:24,240 --> 00:04:26,700 if your host machine is 32-bit machine, 100 00:04:26,700 --> 00:04:29,550 you can simply just use Debian 32-bit. 101 00:04:29,550 --> 00:04:32,490 Since I'm on Windows 11 64-bit machine, 102 00:04:32,490 --> 00:04:35,103 I will select Debian 64-bit. 103 00:04:36,390 --> 00:04:39,390 Once we do that, we can navigate to unattended install 104 00:04:39,390 --> 00:04:41,790 and there is nothing that we need to change right here. 105 00:04:41,790 --> 00:04:43,770 We can proceed to hardware, 106 00:04:43,770 --> 00:04:46,500 and here is where it gets a little bit tricky. 107 00:04:46,500 --> 00:04:47,580 Remember that I said 108 00:04:47,580 --> 00:04:51,270 that virtual machines will use your hardware resources? 109 00:04:51,270 --> 00:04:55,590 Well, here we need to allocate those hardware resources. 110 00:04:55,590 --> 00:05:00,120 Here the first question that it asks us is the base memory 111 00:05:00,120 --> 00:05:03,840 or RAM memory that we want to give to our virtual machine. 112 00:05:03,840 --> 00:05:05,820 Now, this will be different for everyone 113 00:05:05,820 --> 00:05:07,710 depending on what RAM memory 114 00:05:07,710 --> 00:05:09,870 or how many gigabytes of RAM you have. 115 00:05:09,870 --> 00:05:12,810 In my personal case, I have 64 gigabytes of RAM, 116 00:05:12,810 --> 00:05:15,690 so I'll just allocate four gigabytes of RAM 117 00:05:15,690 --> 00:05:17,310 to my virtual machine. 118 00:05:17,310 --> 00:05:19,290 Now, if you have less than 16, 119 00:05:19,290 --> 00:05:22,890 I do advise that you lower this to two gigabytes of RAM. 120 00:05:22,890 --> 00:05:25,170 For example, if you have eight gigabytes of RAM, 121 00:05:25,170 --> 00:05:28,110 two gigabytes of RAM for Kali Linux will be more than enough 122 00:05:28,110 --> 00:05:30,330 for it to run properly. 123 00:05:30,330 --> 00:05:31,950 If you have four gigabytes of RAM, 124 00:05:31,950 --> 00:05:35,010 then you can proceed with either two gigabytes 125 00:05:35,010 --> 00:05:38,670 or you can even try lowering it to one gigabyte of ram, 126 00:05:38,670 --> 00:05:41,550 but two gigabytes will be ideal. 127 00:05:41,550 --> 00:05:43,890 Now, once again, I'll proceed with four, 128 00:05:43,890 --> 00:05:45,810 and under the processors, 129 00:05:45,810 --> 00:05:48,780 you can simply just leave it on one CPU core. 130 00:05:48,780 --> 00:05:51,120 No matter how many CPU cores you have, 131 00:05:51,120 --> 00:05:52,560 it will work just fine 132 00:05:52,560 --> 00:05:56,100 with one processor running for the VM. 133 00:05:56,100 --> 00:05:58,500 Now we go down to hard disk, 134 00:05:58,500 --> 00:06:00,840 and here we want to allocate space 135 00:06:00,840 --> 00:06:03,450 for Kali Linux virtual machine. 136 00:06:03,450 --> 00:06:06,780 Now, by default, it will set it to 20 gigabytes, 137 00:06:06,780 --> 00:06:08,370 but that will not be enough. 138 00:06:08,370 --> 00:06:09,690 You ideally want to have it 139 00:06:09,690 --> 00:06:12,990 between 30 and 40 gigabytes of free space 140 00:06:12,990 --> 00:06:14,700 for the virtual machine. 141 00:06:14,700 --> 00:06:17,850 I will leave it on 40 just like this. 142 00:06:17,850 --> 00:06:19,290 This should be more than enough 143 00:06:19,290 --> 00:06:21,270 for the virtual machine to run 144 00:06:21,270 --> 00:06:25,800 and all we have to do right now is click on Finish. 145 00:06:25,800 --> 00:06:27,570 And once you click on Finish, 146 00:06:27,570 --> 00:06:30,330 you will have your first virtual machine 147 00:06:30,330 --> 00:06:32,940 added right here on the left side. 148 00:06:32,940 --> 00:06:34,953 In my case here is the vertical machine 149 00:06:34,953 --> 00:06:38,460 that we just created, Kali Linux 2023. 150 00:06:38,460 --> 00:06:42,060 If you click on it, you can see all of its settings 151 00:06:42,060 --> 00:06:43,380 on the right side. 152 00:06:43,380 --> 00:06:44,880 We can see that we allocated 153 00:06:44,880 --> 00:06:46,860 four gigabytes of RAM right here. 154 00:06:46,860 --> 00:06:50,820 We used Debian 64-bit operating system. 155 00:06:50,820 --> 00:06:52,800 And you can see all the other settings 156 00:06:52,800 --> 00:06:57,420 that we used to create this virtual machine. 157 00:06:57,420 --> 00:06:58,890 Okay, awesome. 158 00:06:58,890 --> 00:07:01,230 Now that we created this virtual machine, 159 00:07:01,230 --> 00:07:02,190 in the next lecture, 160 00:07:02,190 --> 00:07:05,130 we're going to start it for the first time 161 00:07:05,130 --> 00:07:08,400 in order to install the operating system. 162 00:07:08,400 --> 00:07:09,800 See you in the next lecture.