1 00:00:00,000 --> 00:00:03,480 Hello everyone, let's get into the fun part where 2 00:00:03,480 --> 00:00:06,840 we will do the Linux download and installation, and 3 00:00:06,840 --> 00:00:08,909 for the installation that I have picked is a 4 00:00:08,909 --> 00:00:12,899 CentOS operating system. CentOS operating system 5 00:00:12,899 --> 00:00:16,860 is just like a Red Hat operating system, and it's a 6 00:00:16,860 --> 00:00:20,430 free, and I will definitely recommend you using 7 00:00:20,430 --> 00:00:23,639 CentOS for this course because a lot of companies 8 00:00:23,639 --> 00:00:26,370 are out there that use a Red Hat for the corporate 9 00:00:26,370 --> 00:00:28,979 environment. Now for the version part I am using 10 00:00:28,979 --> 00:00:33,029 CentOS 7, there's also a version 8 that is 11 00:00:33,029 --> 00:00:35,729 out there already. If you want to use version 12 00:00:35,759 --> 00:00:39,330 8, you can, that is perfectly fine because my 13 00:00:39,330 --> 00:00:41,759 course follow both 7th and 8th. But my 14 00:00:41,759 --> 00:00:44,009 recommendation is that you stick with 7 15 00:00:44,220 --> 00:00:47,970 because a lot of companies, I would say 95 to 99% 16 00:00:47,970 --> 00:00:50,909 of them, are still using older version like 5, 17 00:00:50,909 --> 00:00:54,869 6, and 7. So it will take them at least three 18 00:00:54,869 --> 00:00:57,630 four years to get on to 8. So if you're in the 19 00:00:57,630 --> 00:00:59,909 job market or you want to get into job market I 20 00:00:59,909 --> 00:01:03,180 would recommend you that you stick to 7. Now 21 00:01:03,180 --> 00:01:06,150 for those who wants to go with the Red Hat 22 00:01:06,180 --> 00:01:09,690 8, or CentOS 8, perfectly fine. You could 23 00:01:09,690 --> 00:01:12,690 skip this lecture, and go to the very next lecture 24 00:01:12,690 --> 00:01:16,470 which has CentOS 8 instructions for download 25 00:01:16,470 --> 00:01:19,110 installation. Alright, without further ado, let me 26 00:01:19,110 --> 00:01:22,410 get into the download part. So for the download, 27 00:01:22,410 --> 00:01:24,419 what you have to do, you have to go into your 28 00:01:24,419 --> 00:01:27,480 browser whichever browser you like, go to Google or 29 00:01:27,480 --> 00:01:32,339 any search engine, and type CentOS download 30 00:01:32,370 --> 00:01:35,309 ISO. Now by default, it will give you the first 31 00:01:35,309 --> 00:01:39,269 page which will have the link to a CentOS 8. We 32 00:01:39,269 --> 00:01:41,610 don't want 8, again we want 7, so let's go 33 00:01:41,610 --> 00:01:44,459 back and I want you to type specifically CentOS 34 00:01:44,459 --> 00:01:48,569 7 download ISO, and go to the second link which 35 00:01:48,569 --> 00:01:52,349 says Index of /centos/7/, click on that. Now 36 00:01:52,349 --> 00:01:57,480 click on x86_64 bit. Now again, every 37 00:01:57,510 --> 00:02:00,000 image if you click on it, you're probably going to 38 00:02:00,000 --> 00:02:03,180 get different links of the mirrors. You could pick 39 00:02:03,180 --> 00:02:07,410 any one that gives you the CentOS 7, but 40 00:02:07,410 --> 00:02:09,720 doesn't really matter. I'll go to the second one 41 00:02:10,258 --> 00:02:12,960 and click on the 64 bit, your architecture has to 42 00:02:12,960 --> 00:02:17,160 be 64 bit, if you're 32 search for 32 bit. Then 43 00:02:17,160 --> 00:02:19,500 click on any mirror that you like and it will 44 00:02:19,500 --> 00:02:23,070 start to download it so you go into this ISO, 45 00:02:23,399 --> 00:02:27,479 CentOS-7-x86, 1908. Doesn't matter which 46 00:02:27,479 --> 00:02:29,910 version or which build it has, maybe you have a 47 00:02:29,910 --> 00:02:32,729 little later one, maybe you have an older one, it 48 00:02:32,729 --> 00:02:35,009 doesn't really matter, what matters is it's CentOS 49 00:02:35,009 --> 00:02:38,850 7. So go ahead and click on ISO and save. I 50 00:02:38,850 --> 00:02:41,669 will not save it because I have already saved it 51 00:02:41,699 --> 00:02:45,179 earlier, to save time, save your time and save my 52 00:02:45,179 --> 00:02:47,820 time. So I'm going to go ahead and Cancel. So 53 00:02:48,119 --> 00:02:51,360 anyway for your case, once you 54 00:02:51,360 --> 00:02:54,179 click on OK, it will start downloading and it will 55 00:02:54,179 --> 00:02:57,000 show up here if you're using Firefox. Once it's 56 00:02:57,000 --> 00:03:00,089 downloaded, completed, then you need to go to your 57 00:03:00,690 --> 00:03:04,500 Oracle VM VirtualBox. Now if you do not have 58 00:03:04,500 --> 00:03:08,009 VirtualBox that is the latest version, this one 59 00:03:08,009 --> 00:03:10,800 the one I have is 6.0. If you do not have 60 00:03:10,800 --> 00:03:14,100 6.0, I would recommend that you upgrade it to 61 00:03:14,100 --> 00:03:17,339 the new version. So now I will go ahead and create 62 00:03:17,339 --> 00:03:21,960 a new virtual machine, I'll click on New. And the 63 00:03:21,960 --> 00:03:28,169 name that I'll pick is MyFirstLinuxVM. That's 64 00:03:28,169 --> 00:03:31,529 just the name of this virtual machine on the 65 00:03:31,529 --> 00:03:34,979 VirtualBox. You could pick any name, but if you 66 00:03:34,979 --> 00:03:37,710 want to go along with me pick that name. By 67 00:03:37,710 --> 00:03:39,960 default you'll see is picking up Linux type 68 00:03:39,960 --> 00:03:42,630 because I typed in the name as Linux, and the 69 00:03:42,630 --> 00:03:48,319 version it's giving up as Linux 2.6 / 3.x / 4.x(64-bit). 70 00:03:48,319 --> 00:03:51,839 If you do not see 64 here, you see 32 71 00:03:51,839 --> 00:03:55,529 bit, then you'd need to change your BIOS 72 00:03:55,619 --> 00:03:59,460 configuration. When you start up 73 00:03:59,460 --> 00:04:03,210 your own laptop or PC, you have to go to your BIOS 74 00:04:03,210 --> 00:04:06,750 setting, and enable the virtualization. If you need 75 00:04:06,750 --> 00:04:10,559 instructions, I have included instruction, I have 76 00:04:10,559 --> 00:04:14,070 given the the link to an article which will walk 77 00:04:14,070 --> 00:04:16,588 you through one by one as how you could enable 78 00:04:16,829 --> 00:04:20,010 that virtualization in your BIOS. So anyway, if 79 00:04:20,010 --> 00:04:22,380 you, if it is showing 64 bit, perfect, go ahead and 80 00:04:22,380 --> 00:04:28,353 click Next. The Memory size is 1 gig, 1024 megabytes, 81 00:04:28,353 --> 00:04:30,329 which equates to one gigabyte 82 00:04:30,329 --> 00:04:34,230 that's good, leave as default. Next, create a 83 00:04:34,230 --> 00:04:37,109 virtual hard disk. By default it is telling me the 84 00:04:37,109 --> 00:04:41,910 recommended size is 8 gig, you could leave it 8 85 00:04:41,910 --> 00:04:43,829 gig, or you could change it. We will change in the 86 00:04:43,829 --> 00:04:48,029 next one, in the next slide. So Create a virtual 87 00:04:48,029 --> 00:04:53,309 disk now, click Create. VDI which is the default one, 88 00:04:53,309 --> 00:04:54,959 leave a default, click Next. 89 00:04:56,369 --> 00:04:59,549 Dynamically allocated, yes leave a default, click 90 00:04:59,549 --> 00:05:02,399 Next, and now the size. By default, it is set, it's 91 00:05:02,399 --> 00:05:05,940 clearly giving you 8. But for for this lab, I 92 00:05:05,940 --> 00:05:11,070 want you to type 10, and click on Create. Now our 93 00:05:11,070 --> 00:05:13,079 virtual machine is created as you could see, it's 94 00:05:13,079 --> 00:05:18,570 right here saying MyFirstLinuxVM. So let me go 95 00:05:18,570 --> 00:05:22,200 back in here, and this way I have a clear 96 00:05:22,200 --> 00:05:24,630 background. Alright, so now what you need to do is 97 00:05:24,630 --> 00:05:28,004 once your VM is created go ahead and click on Start. 98 00:05:28,004 --> 00:05:32,776 [No audio] 99 00:05:32,776 --> 00:05:35,369 Alright, so once you start it, by default it 100 00:05:35,369 --> 00:05:38,339 will ask you, I do not have any operating system of 101 00:05:38,339 --> 00:05:41,459 course, this is just an empty shell or empty 102 00:05:41,459 --> 00:05:45,690 virtual machine. Now I need to attach an ISO image 103 00:05:45,690 --> 00:05:49,019 to it and that ISO image is the same ISO image 104 00:05:49,019 --> 00:05:52,440 that we downloaded earlier that is CentOS 7 105 00:05:52,440 --> 00:05:55,230 ISO image. So go ahead and click on this little 106 00:05:55,230 --> 00:05:59,309 folder. And now it will ask you where is your ISO 107 00:05:59,309 --> 00:06:03,000 image located? My ISO image is located in my 108 00:06:03,000 --> 00:06:07,890 personal folder and in my ISO, and I have right 109 00:06:07,890 --> 00:06:11,609 here say CentOS-7. So go ahead and select that 110 00:06:11,609 --> 00:06:13,044 and now click on Start. 111 00:06:13,044 --> 00:06:16,991 [No audio] 112 00:06:16,991 --> 00:06:18,510 Okay, and on this page by 113 00:06:18,510 --> 00:06:22,079 default, it will come on this option which says 114 00:06:22,109 --> 00:06:25,709 Test this media & install CentOS 7. I do not want 115 00:06:25,709 --> 00:06:28,890 to test. Sometimes this option is good if you are 116 00:06:28,890 --> 00:06:32,040 installing with the actual CD ROM, the physical one, 117 00:06:32,040 --> 00:06:35,010 the CD, because sometimes it has scratches, and it 118 00:06:35,010 --> 00:06:38,369 could impact your installation. So that's why you 119 00:06:38,369 --> 00:06:40,350 should always test that media before you do the 120 00:06:40,350 --> 00:06:43,380 installation. But since we did the ISO image 121 00:06:43,380 --> 00:06:49,079 download, and I am very hopeful, and I'm sure that 122 00:06:49,320 --> 00:06:52,470 the installation or sorry, the download was not 123 00:06:52,470 --> 00:06:55,410 corrupted. So I'm going to use my up and down 124 00:06:55,410 --> 00:06:57,929 arrow key and I'm going to select the first one 125 00:06:57,929 --> 00:07:00,899 which says, Install CentOS 7, and I'm going to 126 00:07:00,899 --> 00:07:06,059 hit Enter. Now what it's going to do now is it's 127 00:07:06,059 --> 00:07:12,269 going to read the content of the ISO, it will copy 128 00:07:12,269 --> 00:07:15,779 the content of the ISO, the ones that it needs to 129 00:07:15,779 --> 00:07:18,570 start installation, it will bring it into the 130 00:07:18,570 --> 00:07:23,279 memory and then it will start an installation 131 00:07:23,279 --> 00:07:26,970 wizard. That's called Anaconda. That's, 132 00:07:26,970 --> 00:07:31,470 just a name of the wizard that CentOS uses, it 133 00:07:31,470 --> 00:07:35,730 will start and it will help us going through the 134 00:07:35,730 --> 00:07:38,730 installer process from one step to another. 135 00:07:40,019 --> 00:07:42,329 Alright, so right here, you're gonna see it says, 136 00:07:42,329 --> 00:07:44,489 The Virtual Machine reports that the guest OS 137 00:07:44,489 --> 00:07:47,160 supports mouse pointer integration. This means 138 00:07:47,160 --> 00:07:50,250 that you do not need to capture the mouse pointer. 139 00:07:50,489 --> 00:07:53,489 That is fine, you could go ahead and cancel that. 140 00:07:53,760 --> 00:07:57,839 By the way, if your mouse is stuck 141 00:07:57,869 --> 00:08:01,619 inside of this window, then you could use the 142 00:08:01,619 --> 00:08:03,779 right click, you see right here this little thing 143 00:08:03,779 --> 00:08:07,589 says a Right Ctrl key. This is a control key on 144 00:08:07,589 --> 00:08:10,559 your key keypad and that is on your right hand 145 00:08:10,559 --> 00:08:13,350 side. So once you press that key, then it will 146 00:08:13,350 --> 00:08:16,470 release your mouse but if it is your mouse is 147 00:08:16,470 --> 00:08:19,320 really going outside perfect. Anyway, let's get 148 00:08:19,320 --> 00:08:22,260 into it. Now what language would you like to use 149 00:08:22,260 --> 00:08:24,929 during the installation process, I am in United 150 00:08:24,929 --> 00:08:27,660 States and of course English speaker. So I'm gonna 151 00:08:27,660 --> 00:08:30,510 go ahead and pick English, and the English for the 152 00:08:30,510 --> 00:08:33,239 United States. If you are in a different country 153 00:08:33,239 --> 00:08:35,520 depending on your preferred language, you could go 154 00:08:35,520 --> 00:08:39,179 ahead and select the desired language. Now go 155 00:08:39,179 --> 00:08:40,500 ahead and click on Continue. 156 00:08:40,500 --> 00:08:45,148 [No audio] 157 00:08:45,148 --> 00:08:48,268 Alright, in the next page it says INSTALLATION 158 00:08:48,268 --> 00:08:52,049 SUMMARY. And this is us is basically the keyboard 159 00:08:52,049 --> 00:08:54,688 that has been selected, you don't need to click on 160 00:08:54,688 --> 00:08:56,908 that, the first thing you need to click is DATE & 161 00:08:56,908 --> 00:09:01,799 TIME. So date and time is by default, for me it is 162 00:09:01,799 --> 00:09:06,689 already selected. My US time, I am in New York, it's 163 00:09:06,689 --> 00:09:09,388 already, it actually, I didn't actually recognize that, 164 00:09:09,388 --> 00:09:11,758 so I'm gonna leave that as default. And I'm going 165 00:09:11,758 --> 00:09:15,028 to click on Done. Then it's gonna say LANGUAGE 166 00:09:15,028 --> 00:09:18,179 SUPPORT, and as I said previously, we selected 167 00:09:18,208 --> 00:09:21,299 English, and for the English (United States). Go 168 00:09:21,299 --> 00:09:23,068 ahead and click Done, if you want to change it you 169 00:09:23,068 --> 00:09:26,638 could change it here as well. By default it picks 170 00:09:26,638 --> 00:09:30,028 up my keyboard as United States English keyboard. 171 00:09:30,059 --> 00:09:32,189 If you are again in different country you could 172 00:09:32,189 --> 00:09:35,729 pick according to your requirement. Now comes to 173 00:09:35,729 --> 00:09:38,369 the part, let's scroll down on the right hand side 174 00:09:38,758 --> 00:09:42,539 by grabbing the scroll bar, and then it says the 175 00:09:42,539 --> 00:09:44,999 next one it says SOFTWARE, INSTALLATION SOURCE, 176 00:09:45,268 --> 00:09:48,539 which is Local media, which is our ISO image that 177 00:09:48,539 --> 00:09:51,328 is attached to this VirtualBox so you can leave 178 00:09:51,328 --> 00:09:55,648 that as is. SOFTWARE SELECTION, this is Minimal install, 179 00:09:55,648 --> 00:09:58,318 when you pick Minimal install it will not 180 00:09:58,318 --> 00:10:02,398 install the GUI, it will only install the text 181 00:10:02,638 --> 00:10:05,879 way or command line on your operating system. But 182 00:10:05,879 --> 00:10:08,158 for this lab, I want you to go ahead and click on 183 00:10:08,158 --> 00:10:12,898 it. And I want you to select Server with GUI. This 184 00:10:12,898 --> 00:10:15,359 way you will have the server with the graphical 185 00:10:15,359 --> 00:10:20,789 user interface. And you will see certain things 186 00:10:20,789 --> 00:10:24,148 that you could add, remove using the GUI. But 187 00:10:24,148 --> 00:10:27,989 again, I would say about 80% of the corporate 188 00:10:27,989 --> 00:10:34,049 environment, do not use GUIs, they always use a 189 00:10:34,049 --> 00:10:37,049 command line interface because GUI takes a lot of 190 00:10:37,049 --> 00:10:40,828 resources. And it could also make your system little 191 00:10:40,828 --> 00:10:44,698 vulnerable for the security threats. So if you are 192 00:10:44,698 --> 00:10:47,848 in production, or corporate environment, check 193 00:10:47,879 --> 00:10:50,968 with your company policy, and then you should 194 00:10:50,968 --> 00:10:55,468 select the SOFTWARE SELECTION. Also, if you are 195 00:10:55,468 --> 00:10:58,559 building a server, for different purposes, you're 196 00:10:58,559 --> 00:11:02,309 going to see that the servers have a lot of add-ons 197 00:11:02,309 --> 00:11:04,648 that you could do. So when you go to Minimal 198 00:11:04,648 --> 00:11:06,958 install, you're going to see it has Security 199 00:11:06,958 --> 00:11:10,768 Tools, Smart Card Support, System Administration 200 00:11:10,768 --> 00:11:14,848 Tools, and you go to Compute Node, it has all the 201 00:11:14,848 --> 00:11:19,289 other add-on selected tools and software that are 202 00:11:19,289 --> 00:11:23,458 available to you. Again, it depends on what kind 203 00:11:23,458 --> 00:11:26,398 of application you will run on this operating 204 00:11:26,398 --> 00:11:30,749 system. Based on that you could select any tools, 205 00:11:30,838 --> 00:11:34,109 or any add-ons, tools or application that you 206 00:11:34,109 --> 00:11:37,198 want. Similarly, when you go to Infrastructure 207 00:11:37,198 --> 00:11:39,299 Server, you probably heard of many of these 208 00:11:39,299 --> 00:11:42,629 servers like FTP server, NFS, server, DNS server, 209 00:11:43,018 --> 00:11:45,059 all that stuff, if you want to have them 210 00:11:45,059 --> 00:11:48,568 installed, you could actually select them here, so 211 00:11:48,568 --> 00:11:52,229 it will install the package. But anyway, if you do 212 00:11:52,229 --> 00:11:55,439 not select any package right now at this point, 213 00:11:55,708 --> 00:11:58,559 and you remember later on that you need to install, 214 00:11:58,828 --> 00:12:01,768 not to worry about, you could just simply do the 215 00:12:01,768 --> 00:12:05,189 yum install command, which we will cover later in, 216 00:12:05,518 --> 00:12:09,778 in other lectures that I will show you how you 217 00:12:09,778 --> 00:12:13,138 could install the add-on selected, add-on 218 00:12:13,169 --> 00:12:17,158 packages. Again, that File and Print Server will 219 00:12:17,158 --> 00:12:20,519 give you different options Basic Web Server, 220 00:12:20,519 --> 00:12:22,619 I do want you to go through them one by 221 00:12:22,619 --> 00:12:26,278 one, I don't want you to select any of them. But 222 00:12:26,278 --> 00:12:28,078 again, if you want to select that's perfectly 223 00:12:28,078 --> 00:12:31,348 fine. But I just want you to get familiar with 224 00:12:31,348 --> 00:12:34,169 what are the options that are available on this 225 00:12:34,169 --> 00:12:37,588 menu. But for this lab purposes, for this training, 226 00:12:37,588 --> 00:12:41,008 I just want you to select the Server with GUI. And 227 00:12:41,008 --> 00:12:43,439 now I want you to go ahead and click Done. 228 00:12:44,789 --> 00:12:48,028 Now it's actually checking the software from the 229 00:12:48,028 --> 00:12:50,848 ISO, it's basically the SOFTWARE SELECTION is 230 00:12:50,848 --> 00:12:54,778 going to the ISO and asking, hey ISO, I've 231 00:12:54,778 --> 00:12:57,598 been asked to select Server with GUI. Do you have 232 00:12:57,598 --> 00:13:00,088 the required package. So that's why it's kind of 233 00:13:00,088 --> 00:13:02,518 like going back and forth and checking. So anyway, 234 00:13:02,518 --> 00:13:05,309 while it's checking, we'll go into the next one 235 00:13:05,309 --> 00:13:09,229 where it says SYSTEM, and it says INSTALLATION DESTINATION. 236 00:13:09,229 --> 00:13:11,429 By the way, it's finished and it 237 00:13:11,429 --> 00:13:15,448 worked. It came back and says yes, I do. The next 238 00:13:15,448 --> 00:13:18,208 one is INSTALLATION DESTINATION, meaning 239 00:13:18,208 --> 00:13:21,299 where do you want to install this operating system, 240 00:13:21,299 --> 00:13:24,388 which disk. You remember, we picked it 10 gig of 241 00:13:24,388 --> 00:13:27,299 disk, so we'll go ahead and select this one. And 242 00:13:27,299 --> 00:13:31,289 by default, it has already selected 10 gig, then 243 00:13:31,318 --> 00:13:34,828 it has checkmark on it. And Other Storage Options, 244 00:13:34,828 --> 00:13:38,429 it says Partitioning. It says, Automatically 245 00:13:38,429 --> 00:13:41,848 configure partitioning. So we are not going to 246 00:13:41,848 --> 00:13:46,708 partition it ourselves. We will let Linux pick the 247 00:13:46,708 --> 00:13:49,588 partitions for its own which is a default 248 00:13:49,588 --> 00:13:53,789 partition for the 10 gig disk, and now we go ahead 249 00:13:53,818 --> 00:13:59,129 and click on Done. Now INSTALLATION DESTINATION is 250 00:13:59,129 --> 00:14:02,309 done. KDUMP is when if there's something goes 251 00:14:02,309 --> 00:14:05,908 wrong with your system, and it crashes, it has to 252 00:14:05,908 --> 00:14:09,568 log something that why it crashes. And that kind of 253 00:14:09,568 --> 00:14:12,958 kernel dump is when you, if you have it enabled, 254 00:14:13,169 --> 00:14:15,958 then it will actually spit out all the information 255 00:14:16,619 --> 00:14:19,859 to a log file. So when you have it enabled, that's 256 00:14:19,859 --> 00:14:23,578 only when you have it, and it will spit out logs 257 00:14:23,578 --> 00:14:26,566 only when you have it enabled. Okay. So 258 00:14:26,566 --> 00:14:30,239 NETWORK & HOST NAME. So that's where we need to define 259 00:14:30,359 --> 00:14:32,848 the network and the host name of the operating 260 00:14:32,848 --> 00:14:36,749 system. So you go ahead and click on it. And host 261 00:14:36,749 --> 00:14:38,484 name right here you see the host name is 262 00:14:38,484 --> 00:14:42,239 .localdomain, I want you to highlight the entire entry 263 00:14:42,239 --> 00:14:48,838 and type in MyFirstLinuxVM, and click on Apply. 264 00:14:48,838 --> 00:14:50,848 As soon as you click on Apply, as you see right 265 00:14:50,848 --> 00:14:53,218 here says, Current host name which is localhost 266 00:14:53,249 --> 00:14:56,278 which what it had before. So once you click on 267 00:14:56,278 --> 00:15:00,456 Apply, it will change it right here MyFirstLinuxVM. 268 00:15:00,456 --> 00:15:02,848 So you'll probably notice that I put an 269 00:15:02,848 --> 00:15:07,528 uppercase, the first letters, and it changed it to 270 00:15:07,528 --> 00:15:13,318 lowercase. Because remember, Linux is a case 271 00:15:13,318 --> 00:15:16,468 sensitive operating system, meaning it matters if 272 00:15:16,468 --> 00:15:19,919 you put in uppercase and lowercase, but it prefers 273 00:15:20,068 --> 00:15:23,549 that you always use lowercase letters. Alright, so 274 00:15:23,549 --> 00:15:26,758 now let's go into the network where it says 275 00:15:26,758 --> 00:15:30,359 Ethernet(enp0s3). Right now, this is 276 00:15:30,359 --> 00:15:34,243 the network port that is assigned on your VirtualBox. 277 00:15:34,243 --> 00:15:37,109 So right now you see it has a Hardware, which 278 00:15:37,109 --> 00:15:40,648 is the MAC address, it has a Speed of one gig, and a 279 00:15:40,648 --> 00:15:44,458 Subnet Mask is, it's picking up its local 280 00:15:44,458 --> 00:15:47,638 IP. So what we need to do is, we need to click on 281 00:15:47,758 --> 00:15:50,098 Configure because you see right now it's turned 282 00:15:50,129 --> 00:15:53,848 off. Let's go ahead and click on Configure. And 283 00:15:53,848 --> 00:15:56,429 the only thing I want you to pick in Configure is 284 00:15:56,429 --> 00:16:00,749 go to General, and click on Automatically connect to 285 00:16:00,749 --> 00:16:04,169 this network when it is available. Now what this 286 00:16:04,198 --> 00:16:11,189 does is, it actually start your network or pick up 287 00:16:11,189 --> 00:16:14,039 an IP whenever your computer or your operating 288 00:16:14,039 --> 00:16:20,008 system restarts, go ahead and click on Save. And 289 00:16:20,008 --> 00:16:22,799 you're going to see right away it picked up. And 290 00:16:22,828 --> 00:16:25,169 by the way, this is going to be your Wi Fi network 291 00:16:25,169 --> 00:16:29,489 adapters that is given to you by your VirtualBox. 292 00:16:29,669 --> 00:16:34,318 So now go ahead and click on Done. Alright, the 293 00:16:34,318 --> 00:16:37,379 last part is security profile. So we do not have 294 00:16:37,379 --> 00:16:40,018 any security profile. But if you are doing this 295 00:16:40,018 --> 00:16:42,208 installation for your company, check with your 296 00:16:42,208 --> 00:16:45,479 company and check with your security folks. See if 297 00:16:45,479 --> 00:16:48,059 they have any security that they use or any 298 00:16:48,059 --> 00:16:50,758 template then you could attach it here, which will 299 00:16:50,789 --> 00:16:53,218 apply all the security settings. But anyway, this 300 00:16:53,218 --> 00:16:55,468 is lab and this is something we're going to be 301 00:16:55,468 --> 00:16:58,198 learning later on. So now I want you to go ahead 302 00:16:58,198 --> 00:17:02,908 and click on Begin Installation. Alright, in this 303 00:17:02,908 --> 00:17:05,729 next page, you're going to get two options. While 304 00:17:05,729 --> 00:17:08,788 it's going to run the pre configuration or pre 305 00:17:08,788 --> 00:17:11,818 installation checks and stuff, it is 306 00:17:11,818 --> 00:17:14,818 asking us to create a ROOT PASSWORD. So go ahead 307 00:17:14,818 --> 00:17:18,239 and click on ROOT PASSWORD. By default, root is a 308 00:17:18,239 --> 00:17:21,239 system administrator password in Linux. So I want 309 00:17:21,239 --> 00:17:22,739 you to pick a Root Password. 310 00:17:22,739 --> 00:17:26,519 [No audio] 311 00:17:26,519 --> 00:17:29,249 I picked a weak password that it what it's saying 312 00:17:29,249 --> 00:17:30,868 this yellow thing at the bottom it says the 313 00:17:30,868 --> 00:17:33,417 password you have provided is weak. The password 314 00:17:33,417 --> 00:17:36,118 fails the dictionary check - it is based on a 315 00:17:36,118 --> 00:17:39,328 dictionary word. You will have to press Done twice 316 00:17:39,328 --> 00:17:41,999 to confirm it. So if your password is weak, right now 317 00:17:41,999 --> 00:17:44,999 as what I have my password is weak, so you would 318 00:17:44,999 --> 00:17:48,779 have to select it Done, and another time you have 319 00:17:48,779 --> 00:17:53,869 to click Done, twice. Second option is your USER CREATION, 320 00:17:53,869 --> 00:17:56,533 I want you to go ahead and click on USER CREATION. 321 00:17:56,533 --> 00:17:59,009 And this is a regular user, not a root, or 322 00:17:59,009 --> 00:18:01,918 not an administrative user. So I am going to 323 00:18:01,918 --> 00:18:05,729 create my account, I'm going to pick my name, Imran Afzal, 324 00:18:05,729 --> 00:18:07,889 and the User name by default it'll pick 325 00:18:07,889 --> 00:18:11,279 my first initial followed by the last name and the 326 00:18:11,279 --> 00:18:14,609 Password, leave the other setting as default. 327 00:18:14,609 --> 00:18:18,479 [No audio] 328 00:18:18,479 --> 00:18:20,519 Again, my password is weak. So now I have to 329 00:18:20,519 --> 00:18:25,139 select Done twice. One, two. All right. So now you 330 00:18:25,139 --> 00:18:27,958 notice right here it's saying, installing gome- 331 00:18:27,958 --> 00:18:30,568 user-docs, and installing this and that, these are 332 00:18:30,568 --> 00:18:33,568 all the packages that it needs to install to 333 00:18:33,568 --> 00:18:36,989 complete my installation. And the packages, total 334 00:18:36,989 --> 00:18:42,208 packages in this install is 1353, and so far it 335 00:18:42,208 --> 00:18:47,068 has installed 58. Now, this whole process could 336 00:18:47,068 --> 00:18:51,269 take anywhere from 10 minutes to half an hour or 337 00:18:51,269 --> 00:18:54,568 45 minutes depending on the speed of your 338 00:18:54,568 --> 00:18:57,598 computer, where you are running this VirtualBox. 339 00:18:58,139 --> 00:19:01,619 What I will do is from this point on I am going to 340 00:19:01,619 --> 00:19:05,609 fast forward this entire installation. So if you 341 00:19:05,609 --> 00:19:08,098 are sitting now I will ask you to go ahead 342 00:19:08,098 --> 00:19:11,369 and take a break, take a coffee break, or get a get 343 00:19:11,369 --> 00:19:14,759 some something to eat. And once it's done, we'll 344 00:19:14,759 --> 00:19:16,889 start right from there. So I'm going to fast 345 00:19:16,889 --> 00:19:19,438 forward right away and see you under the side 346 00:19:19,438 --> 00:20:04,859 [No audio] 347 00:20:04,859 --> 00:20:11,760 Alright, so congratulations, the installation 348 00:20:11,790 --> 00:20:14,189 has been completed, as you could see at the bottom 349 00:20:14,189 --> 00:20:16,770 right here says, CentOS is now successfully 350 00:20:16,770 --> 00:20:19,739 installed and ready for you to use. Go ahead and 351 00:20:19,739 --> 00:20:22,709 reboot to start using it. And also a little 352 00:20:22,709 --> 00:20:24,900 message at the bottom it says, Use of this product 353 00:20:24,930 --> 00:20:29,339 is subject to license agreement found at this 354 00:20:29,339 --> 00:20:32,099 location. But anyway, you will get the license 355 00:20:32,459 --> 00:20:35,969 confirmation that you can read through and accept 356 00:20:35,969 --> 00:20:38,579 it once it reboots. So go ahead and 357 00:20:38,579 --> 00:20:39,503 click on Reboot. 358 00:20:39,503 --> 00:20:42,540 [No audio] 359 00:20:42,540 --> 00:20:46,349 Again, this message appears, you could go ahead 360 00:20:46,380 --> 00:20:47,699 and close this. 361 00:20:47,699 --> 00:20:54,390 [No audio] 362 00:20:54,390 --> 00:20:56,910 Since it is starting the first time, your operating 363 00:20:56,910 --> 00:20:59,310 system is starting the first time, it could take us 364 00:20:59,459 --> 00:21:02,670 a little while for it to start back again. But 365 00:21:02,670 --> 00:21:05,069 that's fine, perfectly fine. Now licensing 366 00:21:05,069 --> 00:21:07,170 part. I want you to go ahead and click on 367 00:21:07,170 --> 00:21:09,719 LICENSING INFORMATION. It says, License not 368 00:21:09,719 --> 00:21:13,199 accepted. Go ahead and click on it. And right here 369 00:21:13,199 --> 00:21:16,739 read through it and click I accept the license 370 00:21:16,739 --> 00:21:22,829 agreement, and click Done. NETWORK & HOST NAME, we 371 00:21:22,829 --> 00:21:25,619 already configured that earlier so you don't need 372 00:21:25,619 --> 00:21:30,221 to configure it again, now click on FINISH CONFIGURATION. 373 00:21:30,221 --> 00:21:33,675 [No audio] 374 00:21:33,675 --> 00:21:36,089 Now it is going to start the GUI, 375 00:21:36,300 --> 00:21:40,439 the CentOS operating system GUI now. 376 00:21:40,439 --> 00:21:46,109 [No audio] 377 00:21:46,109 --> 00:21:48,808 Alright, perfect. So now you see how it shows you 378 00:21:48,808 --> 00:21:52,019 on the top, it shows you the time, some network 379 00:21:52,019 --> 00:21:55,139 information, a speaker, you could power it off from 380 00:21:55,139 --> 00:21:57,568 here just like you know as if you see on the 381 00:21:57,568 --> 00:22:00,479 Windows environment. Now go ahead and click on 382 00:22:00,479 --> 00:22:02,999 your name, because this is the account that you 383 00:22:02,999 --> 00:22:06,328 created. I hope you did not pick Imran Afzal, 384 00:22:06,328 --> 00:22:09,239 because I hope you pick your own name while we 385 00:22:09,239 --> 00:22:11,788 were going through the installation. So anyway, go 386 00:22:11,788 --> 00:22:13,588 ahead and click on it and I'll provide the 387 00:22:13,588 --> 00:22:18,058 Password. And once you provide the Password, click 388 00:22:18,058 --> 00:22:22,109 Sign In, it will log you in but going back again, 389 00:22:22,139 --> 00:22:24,989 if you want to log in as root, then you could 390 00:22:24,989 --> 00:22:28,348 click on simply Not Listed and put in the Username 391 00:22:28,348 --> 00:22:31,918 as root, and put in the Password. But anyway, I 392 00:22:31,918 --> 00:22:35,489 want to log in as myself, I'll put my Password in, 393 00:22:36,029 --> 00:22:37,168 and I'll hit Enter. 394 00:22:37,168 --> 00:22:42,359 [No audio] 395 00:22:42,359 --> 00:22:46,198 Okay, now we have this desktop looking type of 396 00:22:46,198 --> 00:22:49,948 environment that has two icon on it. One is my 397 00:22:49,948 --> 00:22:54,448 home folder. One is the trash can. It's pretty 398 00:22:54,448 --> 00:22:57,598 big, I usually keep them smaller. So you could go 399 00:22:57,598 --> 00:22:59,759 ahead and right click on it, and you could do 400 00:22:59,759 --> 00:23:04,438 Resize icon, and then you could drag and make it 401 00:23:04,438 --> 00:23:08,009 smaller just like that right click, Resize icon 402 00:23:08,399 --> 00:23:12,509 and drag and make a smaller, you can also move 403 00:23:12,509 --> 00:23:15,389 them around, up and down, left and right. So this 404 00:23:15,389 --> 00:23:18,178 is your desktop environment. Now if you want to 405 00:23:18,178 --> 00:23:21,448 start your terminal, now by the way, if you are 406 00:23:21,479 --> 00:23:24,389 doing this for the first time, this is the first 407 00:23:24,659 --> 00:23:26,938 welcome screen after installation, you could just 408 00:23:26,938 --> 00:23:32,098 leave it as welcome. And it's going to say English, 409 00:23:32,129 --> 00:23:34,348 it' for United States, I have that selected, I'm 410 00:23:34,348 --> 00:23:38,068 going to click Next. Typing, it's already selected 411 00:23:38,068 --> 00:23:40,438 for me English. If you want to change that now you 412 00:23:40,438 --> 00:23:43,529 could change it as well click Next. Location 413 00:23:43,529 --> 00:23:47,129 Services, I like to keep it disabled. So click on 414 00:23:47,519 --> 00:23:52,468 OFF and Next. Connect Your Online Accounts. I 415 00:23:52,468 --> 00:23:55,468 don't like that. I want to keep my Linux machine 416 00:23:55,468 --> 00:23:59,938 private secure. So I'll click Skip. And I want to 417 00:23:59,938 --> 00:24:04,019 click Next, it is Start Using CentOS Linux. Once I 418 00:24:04,019 --> 00:24:07,139 click on that, it will bring me back to my desktop. 419 00:24:07,918 --> 00:24:10,798 On the desktop, as I was explaining it earlier, 420 00:24:10,798 --> 00:24:15,808 you could right click and click on Open Terminal. 421 00:24:16,619 --> 00:24:21,239 By the way, this help, Getting Started GNOME Help 422 00:24:21,718 --> 00:24:24,058 opened up again, I don't need that. So what I'm 423 00:24:24,058 --> 00:24:26,938 going to do is I'm going to close that. Again this 424 00:24:26,938 --> 00:24:31,048 this these windows are popping up because I am 425 00:24:31,168 --> 00:24:33,629 using this operating system for the very first 426 00:24:33,629 --> 00:24:36,659 time. So I could go ahead and close that and I 427 00:24:36,659 --> 00:24:40,739 could start the terminal back again. So anyway, 428 00:24:40,739 --> 00:24:43,379 how would you close that window, anything that 429 00:24:43,379 --> 00:24:46,198 shows up like Software Updates Available, you 430 00:24:46,198 --> 00:24:48,629 don't have to get it now, you could click click on 431 00:24:48,659 --> 00:24:52,409 Not Now. And this is the terminal that what you want 432 00:24:52,409 --> 00:24:55,649 to see and this is your command line terminal 433 00:24:55,649 --> 00:24:58,828 where you could run all the commands and that's 434 00:24:58,828 --> 00:25:01,318 where this is the output upon where we will learn 435 00:25:01,798 --> 00:25:05,686 everything about Linux. So you're ready, let's go.