1 00:00:07,110 --> 00:00:08,040 - So in this video, 2 00:00:08,040 --> 00:00:10,800 I'm going to show you how to install CentOS Stream. 3 00:00:10,800 --> 00:00:13,980 CentOS Stream is one of the Linux versions 4 00:00:13,980 --> 00:00:16,050 in the Red Hat family. 5 00:00:16,050 --> 00:00:17,940 Before installing it in a virtual machine, 6 00:00:17,940 --> 00:00:20,070 let's have a look at the requirements. 7 00:00:20,070 --> 00:00:22,020 So you need to download a latest version 8 00:00:22,020 --> 00:00:24,453 of CentOS Stream from centos.org. 9 00:00:25,290 --> 00:00:27,510 Next, you install it in a virtual machine, 10 00:00:27,510 --> 00:00:31,110 which is what I would recommend, or directly on hardware. 11 00:00:31,110 --> 00:00:33,240 But for learning purposes, I wouldn't do that. 12 00:00:33,240 --> 00:00:35,550 Start with a virtual machine. 13 00:00:35,550 --> 00:00:39,120 This virtual machine needs a minimum of one gigabyte of RAM 14 00:00:39,120 --> 00:00:41,253 and 10 gigabytes of disc space. 15 00:00:42,150 --> 00:00:45,960 We will worry about additional discs later in this class. 16 00:00:45,960 --> 00:00:47,610 And while installing, 17 00:00:47,610 --> 00:00:50,850 please use the server with GUI installation pattern. 18 00:00:50,850 --> 00:00:51,693 Let me show you. 19 00:00:54,120 --> 00:00:56,280 So this is the first screen that you will see 20 00:00:56,280 --> 00:00:59,880 after booting from the CentOS Stream installation media. 21 00:00:59,880 --> 00:01:00,713 And obviously, 22 00:01:00,713 --> 00:01:04,020 we are going to select Install CentOS Stream 9. 23 00:01:04,020 --> 00:01:06,720 Here, we can see that the installer is loading. 24 00:01:06,720 --> 00:01:09,470 That'll take a minute or so, and then you can continue. 25 00:01:13,200 --> 00:01:16,050 All right, so we need to select an installation language. 26 00:01:16,890 --> 00:01:18,960 That will be English, United States. 27 00:01:18,960 --> 00:01:22,200 Even if you are intending to use a Linux 28 00:01:22,200 --> 00:01:25,320 with a different language, for learning purposes, 29 00:01:25,320 --> 00:01:28,350 I would advise to start with English, 30 00:01:28,350 --> 00:01:30,720 whatever kind of English because it makes it easier 31 00:01:30,720 --> 00:01:34,473 to get support on your installation, if ever that is needed. 32 00:01:36,150 --> 00:01:40,140 Now the main installation screen is showing all of this. 33 00:01:40,140 --> 00:01:43,263 And in this main screen, we need to do a couple of things. 34 00:01:44,310 --> 00:01:46,500 First, let's start on the left. 35 00:01:46,500 --> 00:01:47,970 The things that we see right here 36 00:01:47,970 --> 00:01:50,430 in localization are quite okay, 37 00:01:50,430 --> 00:01:52,920 but I would like to go into the User Settings, 38 00:01:52,920 --> 00:01:56,100 where we can see that the root account is disabled. 39 00:01:56,100 --> 00:01:58,050 I want to change that, 40 00:01:58,050 --> 00:02:02,520 and that is because in a Red Hat and similar distributions, 41 00:02:02,520 --> 00:02:05,880 logging in as a root user has been common for a long time. 42 00:02:05,880 --> 00:02:08,640 So I wanna make sure that we have a root user 43 00:02:08,640 --> 00:02:10,620 with a password as well. 44 00:02:10,620 --> 00:02:13,200 So here we go, I'm entering the password. 45 00:02:13,200 --> 00:02:18,200 And also, I am going to select Allow root SSH login 46 00:02:18,690 --> 00:02:19,980 with password. 47 00:02:19,980 --> 00:02:21,540 I just want to make it easy 48 00:02:21,540 --> 00:02:24,213 and make sure that the root user has full access. 49 00:02:25,920 --> 00:02:28,980 Next, we need to have a look at the software selection. 50 00:02:28,980 --> 00:02:30,420 So in the software selection, 51 00:02:30,420 --> 00:02:33,960 you determine what exactly you want to install with Linux. 52 00:02:33,960 --> 00:02:36,090 We are going to use server with GUI. 53 00:02:36,090 --> 00:02:38,640 The GUI is a graphical user interface, 54 00:02:38,640 --> 00:02:42,210 and using the graphical user interface is easier 55 00:02:42,210 --> 00:02:44,340 to get familiar with Linux. 56 00:02:44,340 --> 00:02:46,740 You should notice that most Linux servers don't have 57 00:02:46,740 --> 00:02:48,360 a graphical user interface, 58 00:02:48,360 --> 00:02:50,460 and they have been installed with either Server 59 00:02:50,460 --> 00:02:52,260 or Minimal Install. 60 00:02:52,260 --> 00:02:55,470 But as I said, server with GUI is what I'm going 61 00:02:55,470 --> 00:02:57,150 to use here. 62 00:02:57,150 --> 00:02:59,910 Next, you can see an exclamation mark right here 63 00:02:59,910 --> 00:03:02,250 at the Installation Destination, 64 00:03:02,250 --> 00:03:04,170 and that is because the installer is 65 00:03:04,170 --> 00:03:07,020 about to overwrite the entire hard drive. 66 00:03:07,020 --> 00:03:10,860 And we need to tell the installer that that's okay. 67 00:03:10,860 --> 00:03:12,240 So I'm clicking Done, 68 00:03:12,240 --> 00:03:14,880 and that's all that we need to do here. 69 00:03:14,880 --> 00:03:17,343 And then the final step is about networking. 70 00:03:18,330 --> 00:03:19,650 So you can see 71 00:03:19,650 --> 00:03:23,370 that it has a wired ethernet connection currently connected, 72 00:03:23,370 --> 00:03:25,200 and it even has an IP address 73 00:03:25,200 --> 00:03:27,780 that has automatically been assigned. 74 00:03:27,780 --> 00:03:30,003 And let's give this machine a name. 75 00:03:32,520 --> 00:03:35,073 And let me click on Apply and Done. 76 00:03:35,940 --> 00:03:37,110 Then there is one more thing, 77 00:03:37,110 --> 00:03:39,120 and in order to get access to that one more thing, 78 00:03:39,120 --> 00:03:42,210 you need to scroll down, and that's User Creation, 79 00:03:42,210 --> 00:03:46,140 because even if you allow the root user to log in directly, 80 00:03:46,140 --> 00:03:47,730 you should have an ordinary user 81 00:03:47,730 --> 00:03:50,190 for your regular tasks as well. 82 00:03:50,190 --> 00:03:53,970 So I am going to create this user, and that's important. 83 00:03:53,970 --> 00:03:57,393 I'm going to select the option Make this user administrator. 84 00:03:58,650 --> 00:04:01,350 I will tell you later what exactly that is doing, 85 00:04:01,350 --> 00:04:02,880 but this will allow the user 86 00:04:02,880 --> 00:04:06,660 to run administration tasks as well. 87 00:04:06,660 --> 00:04:10,920 Now we need a password and you need to type it twice. 88 00:04:10,920 --> 00:04:13,050 You can see in the bottom part of the screen 89 00:04:13,050 --> 00:04:15,450 that the password fills the dictionary check. 90 00:04:15,450 --> 00:04:17,430 So the install is complaining, 91 00:04:17,430 --> 00:04:20,700 and that's because I'm using an insecure password. 92 00:04:20,700 --> 00:04:23,190 I don't care about using secure passwords here. 93 00:04:23,190 --> 00:04:26,010 So I'm clicking Done and Done, and that will be good. 94 00:04:26,010 --> 00:04:28,050 And then Begin Installation 95 00:04:28,050 --> 00:04:30,033 to actually start the installation. 96 00:04:31,110 --> 00:04:34,320 Now this procedure in total will take a couple of minutes. 97 00:04:34,320 --> 00:04:37,260 It can easily take 10 minutes before it's done. 98 00:04:37,260 --> 00:04:38,970 You need to wait for it 99 00:04:38,970 --> 00:04:41,220 because before the installation is done, 100 00:04:41,220 --> 00:04:43,420 there's nothing else that you can do anyway. 101 00:04:45,630 --> 00:04:48,360 All right, so as you can see at this point, 102 00:04:48,360 --> 00:04:51,273 the system is ready so we can click Reboot. 103 00:04:55,470 --> 00:04:56,580 And there we go, here, 104 00:04:56,580 --> 00:04:57,630 we have the bootloader 105 00:04:57,630 --> 00:05:00,420 of our brand-new CentOS Stream system. 106 00:05:00,420 --> 00:05:01,620 This bootloader makes sure 107 00:05:01,620 --> 00:05:04,440 that the Linux operating system is started. 108 00:05:04,440 --> 00:05:05,430 While it is doing that, 109 00:05:05,430 --> 00:05:07,890 you will see a blinking cursor for a short moment, 110 00:05:07,890 --> 00:05:10,410 and then you will see the loading of the graphical system, 111 00:05:10,410 --> 00:05:12,003 which is happening right now. 112 00:05:13,650 --> 00:05:17,490 And once it's done with that, you get the login prompt. 113 00:05:17,490 --> 00:05:21,330 So I am going to log in as user student. 114 00:05:21,330 --> 00:05:24,180 Even if it's possible on the system to log in as root, 115 00:05:24,180 --> 00:05:25,440 you shouldn't be doing that, 116 00:05:25,440 --> 00:05:28,770 but I will tell you all about that later. 117 00:05:28,770 --> 00:05:31,327 Now we can see a welcome screen. 118 00:05:31,327 --> 00:05:34,320 "Welcome to Red Hat Enterprise Linux." 119 00:05:34,320 --> 00:05:35,760 In case you are surprised, 120 00:05:35,760 --> 00:05:37,890 CentOS Stream is the upstream, 121 00:05:37,890 --> 00:05:41,130 the development platform for Red Hat Enterprise Linux. 122 00:05:41,130 --> 00:05:44,760 So that is why you might encounter Red Hat Enterprise Linux 123 00:05:44,760 --> 00:05:45,990 here and there. 124 00:05:45,990 --> 00:05:49,500 If you want to, then you can click Take Tour. 125 00:05:49,500 --> 00:05:51,960 This will introduce the graphical desktop. 126 00:05:51,960 --> 00:05:55,620 I'm not going to do that, I'm just going to click No Thanks. 127 00:05:55,620 --> 00:05:57,450 There is just one thing that I wanna do 128 00:05:57,450 --> 00:05:58,860 before moving on, 129 00:05:58,860 --> 00:06:02,490 and that is right here in the Type to search bar, 130 00:06:02,490 --> 00:06:05,010 I am going to type power 131 00:06:05,010 --> 00:06:09,270 because there is power saver that makes 132 00:06:09,270 --> 00:06:12,210 that after five minutes of inactivity, 133 00:06:12,210 --> 00:06:13,470 the screen goes blank. 134 00:06:13,470 --> 00:06:16,740 I don't like that, so I want it to be set to Never. 135 00:06:16,740 --> 00:06:19,980 And then the next thing is in the Activities menu 136 00:06:19,980 --> 00:06:21,480 in the upper left corner. 137 00:06:21,480 --> 00:06:24,570 In this menu, you will get access to all 138 00:06:24,570 --> 00:06:26,010 that you might wanna be doing 139 00:06:26,010 --> 00:06:28,830 with your CentOS Stream installation. 140 00:06:28,830 --> 00:06:32,010 And what we need is right here, it's a terminal. 141 00:06:32,010 --> 00:06:36,150 And in this terminal, well, we have our working environment. 142 00:06:36,150 --> 00:06:37,950 So if we double-click the editors bar, 143 00:06:37,950 --> 00:06:39,390 that it's getting bigger. 144 00:06:39,390 --> 00:06:40,380 And next, you can zoom 145 00:06:40,380 --> 00:06:43,530 in a little bit using Control + Alt + Plus. 146 00:06:43,530 --> 00:06:46,293 There we go, this is a reasonable font size. 147 00:06:47,160 --> 00:06:49,380 And I am going to the Preferences 148 00:06:49,380 --> 00:06:51,750 because there's one thing that I wanna change. 149 00:06:51,750 --> 00:06:55,260 In the Preference, I'm selecting the Unnamed profile. 150 00:06:55,260 --> 00:06:56,910 In the Unnamed profile, 151 00:06:56,910 --> 00:07:01,230 I'm going to turn off the alarm, the Terminal bell, 152 00:07:01,230 --> 00:07:02,610 and I'm going to the Colors. 153 00:07:02,610 --> 00:07:07,610 And in the Colors, I am unselecting the standard color. 154 00:07:08,490 --> 00:07:12,270 And I wanna make sure that this is what we are looking at. 155 00:07:12,270 --> 00:07:14,223 This is a more readable font size. 156 00:07:15,330 --> 00:07:17,010 So now at this point, 157 00:07:17,010 --> 00:07:19,680 we have the shell ready and waiting for us. 158 00:07:19,680 --> 00:07:21,540 Let's explore in the next couple 159 00:07:21,540 --> 00:07:23,313 of videos what you can do with it.