1 00:00:06,450 --> 00:00:10,290 - In this video, I will show you how to install Ubuntu LTS. 2 00:00:10,290 --> 00:00:13,380 But first let's talk about this LTS thing a little bit. 3 00:00:13,380 --> 00:00:16,710 So the thing with Ubuntu is that there is a new release 4 00:00:16,710 --> 00:00:20,850 every six months, typically in April and in October. 5 00:00:20,850 --> 00:00:23,340 That's a 04 and a 10 release. 6 00:00:23,340 --> 00:00:26,580 And these new releases are maintained for nine months only. 7 00:00:26,580 --> 00:00:27,600 That doesn't really work 8 00:00:27,600 --> 00:00:30,780 if you want to use it in production, and that is why Ubuntu 9 00:00:30,780 --> 00:00:33,960 is making the Long Term Support releases. 10 00:00:33,960 --> 00:00:38,960 And that is what we are going to install, Ubuntu LTS 22.04. 11 00:00:39,210 --> 00:00:43,260 It was released in April 2022. 12 00:00:43,260 --> 00:00:46,380 And the next Ubuntu LTS release will be available 13 00:00:46,380 --> 00:00:50,220 in April 2024, '26, and so on. 14 00:00:50,220 --> 00:00:53,130 And the nice thing about Ubuntu LTS 15 00:00:53,130 --> 00:00:56,400 is that you have multiple years of support on it. 16 00:00:56,400 --> 00:00:59,280 Now when you go to the ubuntu.com website, 17 00:00:59,280 --> 00:01:02,160 you will find different Ubuntu versions. 18 00:01:02,160 --> 00:01:05,610 Where you should be looking at is the desktop version. 19 00:01:05,610 --> 00:01:08,250 The server is very convenient for on a server, 20 00:01:08,250 --> 00:01:11,400 but it doesn't have a graphical user interface by default. 21 00:01:11,400 --> 00:01:13,680 So I wanna make it as easy as possible 22 00:01:13,680 --> 00:01:16,170 and work with the desktop version. 23 00:01:16,170 --> 00:01:20,940 Install that in a virtual machine or on hardware, 24 00:01:20,940 --> 00:01:22,860 but you better do it in a virtual machine 25 00:01:22,860 --> 00:01:25,920 because that is giving you some flexibility 26 00:01:25,920 --> 00:01:29,193 to increase or decrease disk sizes later on. 27 00:01:30,630 --> 00:01:34,080 Then make sure that at least you have one gigabyte of RAM. 28 00:01:34,080 --> 00:01:37,353 At least you have 10 gigabytes of disk space. 29 00:01:38,400 --> 00:01:42,330 And a second disk will be added later in class. 30 00:01:42,330 --> 00:01:44,310 So make sure that you have a virtual machine 31 00:01:44,310 --> 00:01:45,930 that meets these requirements, 32 00:01:45,930 --> 00:01:47,910 and then you can start the installation, 33 00:01:47,910 --> 00:01:49,610 which is what I will show you now. 34 00:01:52,620 --> 00:01:55,380 All right, so if you are going to install Ubuntu, 35 00:01:55,380 --> 00:01:57,480 this is what you will first see. 36 00:01:57,480 --> 00:01:58,590 This is the boot loader. 37 00:01:58,590 --> 00:02:00,903 Just hit Enter to accept the default. 38 00:02:03,150 --> 00:02:05,520 And after doing so, you will see 39 00:02:05,520 --> 00:02:08,760 that the Ubuntu installation system is loading. 40 00:02:08,760 --> 00:02:10,050 That might take a minute. 41 00:02:10,050 --> 00:02:12,183 So a little bit of your patience, please. 42 00:02:14,116 --> 00:02:16,866 (cheerful music) 43 00:02:17,880 --> 00:02:22,560 So Ubuntu actually makes sound when it is ready to install. 44 00:02:22,560 --> 00:02:24,750 You are going to select English, 45 00:02:24,750 --> 00:02:27,930 and then you need to click Install Ubuntu. 46 00:02:27,930 --> 00:02:29,580 There is an option to run Ubuntu 47 00:02:29,580 --> 00:02:34,580 straight from the installation disk by using Try Ubuntu. 48 00:02:34,680 --> 00:02:35,700 I don't wanna try it. 49 00:02:35,700 --> 00:02:36,690 I want to install it. 50 00:02:36,690 --> 00:02:40,050 So we need to click Install to load the installer. 51 00:02:40,050 --> 00:02:41,970 English United States, English US, 52 00:02:41,970 --> 00:02:43,620 is what we are going to use. 53 00:02:43,620 --> 00:02:47,430 So select those, then you click Continue. 54 00:02:47,430 --> 00:02:51,270 And here you can select what it is that you want to install. 55 00:02:51,270 --> 00:02:54,450 Now honestly, I don't need the normal installation. 56 00:02:54,450 --> 00:02:57,780 I would recommend to go for the minimal installation, 57 00:02:57,780 --> 00:03:00,120 because we are not going to use office software 58 00:03:00,120 --> 00:03:02,190 or games or media players. 59 00:03:02,190 --> 00:03:04,863 A minimal installation is just a little bit faster. 60 00:03:07,410 --> 00:03:11,790 Now in case you are installing Ubuntu directly on hardware, 61 00:03:11,790 --> 00:03:13,500 you might want to use the option 62 00:03:13,500 --> 00:03:15,060 to install third-party software 63 00:03:15,060 --> 00:03:17,700 for graphics and Wi-Fi hardware. 64 00:03:17,700 --> 00:03:20,550 The thing is that you get proprietary drivers 65 00:03:20,550 --> 00:03:25,550 when it is needed, and that is mostly better performance, 66 00:03:25,830 --> 00:03:29,220 but in Linux, it's not always seen very well 67 00:03:29,220 --> 00:03:31,803 that some of these drivers are proprietary. 68 00:03:32,730 --> 00:03:34,410 So do whatever you want. 69 00:03:34,410 --> 00:03:36,840 There is no harm in selecting this option. 70 00:03:36,840 --> 00:03:39,240 So just select and then click Continue 71 00:03:39,240 --> 00:03:41,553 to continue your installation. 72 00:03:42,690 --> 00:03:47,690 So here you can see that already the screen is changing. 73 00:03:48,330 --> 00:03:49,770 That is because at this moment, 74 00:03:49,770 --> 00:03:51,820 the appropriate drivers have been loaded. 75 00:03:53,790 --> 00:03:55,650 Next it is asking what you want to do. 76 00:03:55,650 --> 00:03:58,833 Well, what you wanna do is Erase disk and install Ubuntu. 77 00:03:59,700 --> 00:04:02,490 That will remove everything that is on disk. 78 00:04:02,490 --> 00:04:03,900 And Something else, 79 00:04:03,900 --> 00:04:05,820 you really don't want to do Something else. 80 00:04:05,820 --> 00:04:08,730 Something else means a multi-boot system. 81 00:04:08,730 --> 00:04:11,160 Don't use multi-boot, just install Ubuntu 82 00:04:11,160 --> 00:04:12,690 in a virtual machine. 83 00:04:12,690 --> 00:04:15,270 That's so much more convenient, and there is no disk 84 00:04:15,270 --> 00:04:17,940 for the original data on your hard disk. 85 00:04:17,940 --> 00:04:20,640 So make your choice, and then you click Install Now 86 00:04:20,640 --> 00:04:22,980 to start the installation. 87 00:04:22,980 --> 00:04:26,580 Here it's prompting to show you what it is going to do. 88 00:04:26,580 --> 00:04:29,400 So it's going to tell you that it will overwrite your disk, 89 00:04:29,400 --> 00:04:30,720 and is that okay? 90 00:04:30,720 --> 00:04:31,950 Yeah, that is okay. 91 00:04:31,950 --> 00:04:33,810 So I am clicking Continue, 92 00:04:33,810 --> 00:04:36,780 and that'll start the installation procedure. 93 00:04:36,780 --> 00:04:39,000 So you need to select where you are. 94 00:04:39,000 --> 00:04:44,000 Based on your selection, it will choose the local settings, 95 00:04:44,340 --> 00:04:48,690 and the local settings are about language and time format. 96 00:04:48,690 --> 00:04:51,750 And if you are okay, then you click Continue. 97 00:04:51,750 --> 00:04:54,390 And then it's asking, "Who are you?" 98 00:04:54,390 --> 00:04:56,253 So I need to enter my name. 99 00:04:58,470 --> 00:04:59,970 And I'm using student. 100 00:04:59,970 --> 00:05:02,913 Feel free to use your own name if you want to. 101 00:05:03,930 --> 00:05:06,333 And I need to enter a password as well. 102 00:05:10,530 --> 00:05:12,570 It's complaining that my password is weak. 103 00:05:12,570 --> 00:05:13,470 I know it's weak. 104 00:05:13,470 --> 00:05:15,153 I don't care about it too much. 105 00:05:16,080 --> 00:05:18,150 Do not select Log in automatically, 106 00:05:18,150 --> 00:05:19,800 because Log in automatically means 107 00:05:19,800 --> 00:05:22,620 that your Linux installation is not protected at all 108 00:05:22,620 --> 00:05:24,783 by any password or whatsoever. 109 00:05:26,160 --> 00:05:29,490 So make sure you have Require my password to log in, 110 00:05:29,490 --> 00:05:31,740 and then you click Continue. 111 00:05:31,740 --> 00:05:32,580 It's nice to see 112 00:05:32,580 --> 00:05:35,760 that you can also get your authentication credentials 113 00:05:35,760 --> 00:05:37,320 from Active Directory, 114 00:05:37,320 --> 00:05:40,110 if you have an Active Directory available, but I don't. 115 00:05:40,110 --> 00:05:42,090 So I'm just clicking Continue 116 00:05:42,090 --> 00:05:44,253 to start the Ubuntu installation. 117 00:05:45,630 --> 00:05:48,630 And this'll take a little bit of time. 118 00:05:48,630 --> 00:05:50,760 Count about 10 minutes. 119 00:05:50,760 --> 00:05:52,983 So a little bit of your patience, please. 120 00:05:55,590 --> 00:05:59,073 All right, the installation is now done, so we can Restart. 121 00:06:00,960 --> 00:06:04,230 And then after the restart, we need to do some final things 122 00:06:04,230 --> 00:06:06,630 to set up the user environment. 123 00:06:06,630 --> 00:06:09,330 Do mind that you need to press Enter 124 00:06:09,330 --> 00:06:10,923 in order to make the restart. 125 00:06:11,880 --> 00:06:14,430 And there we go, the messages that you can see on the screen 126 00:06:14,430 --> 00:06:16,740 right now are quite normal. 127 00:06:16,740 --> 00:06:19,353 These are messages generated by the Linux kernel. 128 00:06:20,190 --> 00:06:22,110 And now it's booting again. 129 00:06:22,110 --> 00:06:25,800 And that'll take a minute, and then you'll be able 130 00:06:25,800 --> 00:06:28,773 to select your user account, start working. 131 00:06:30,420 --> 00:06:33,750 As you can see, the same graphical interface is used 132 00:06:33,750 --> 00:06:36,240 as on the CentOS system. 133 00:06:36,240 --> 00:06:41,040 That's because both systems are based on the GNOME system, 134 00:06:41,040 --> 00:06:43,650 or G-NOME system, as some people say, 135 00:06:43,650 --> 00:06:46,170 which is the main graphical interface. 136 00:06:46,170 --> 00:06:49,440 Even if these distributions look a little bit different, 137 00:06:49,440 --> 00:06:51,180 there are so many things that are similar 138 00:06:51,180 --> 00:06:53,250 between the distributions nowadays, 139 00:06:53,250 --> 00:06:55,410 including the GNOME interface. 140 00:06:55,410 --> 00:06:59,073 So I'm logging in with the user account that I just created. 141 00:07:04,170 --> 00:07:09,170 And then it is launching the first-time wizard. 142 00:07:09,360 --> 00:07:11,730 I would suggest you skip everything 143 00:07:11,730 --> 00:07:13,830 because this is not important at all. 144 00:07:13,830 --> 00:07:16,770 And we don't care about the graphical applications. 145 00:07:16,770 --> 00:07:19,350 What we care about is the terminal. 146 00:07:19,350 --> 00:07:21,420 Let me do the final things that I need to do 147 00:07:21,420 --> 00:07:24,150 before getting started. 148 00:07:24,150 --> 00:07:26,700 And in order to do so, I'm clicking in the upper-left corner 149 00:07:26,700 --> 00:07:28,140 on Activities. 150 00:07:28,140 --> 00:07:29,820 Then the search bar arrives, 151 00:07:29,820 --> 00:07:32,160 and the search bar is really the convenient thing 152 00:07:32,160 --> 00:07:33,930 that you wanna be working with. 153 00:07:33,930 --> 00:07:36,990 I type power, and I don't wanna power off, 154 00:07:36,990 --> 00:07:39,300 but I want to go to the Power Settings. 155 00:07:39,300 --> 00:07:41,310 And in the Power Settings, I'm making sure 156 00:07:41,310 --> 00:07:44,730 that Screen Blank is not going to happen after 5 minutes, 157 00:07:44,730 --> 00:07:47,220 but it will Never happen. 158 00:07:47,220 --> 00:07:50,340 Then the second thing that I would like to do, 159 00:07:50,340 --> 00:07:52,410 I'd like to start a terminal. 160 00:07:52,410 --> 00:07:53,280 So there we go. 161 00:07:53,280 --> 00:07:54,540 This is the terminal, 162 00:07:54,540 --> 00:07:57,990 and this is what the Ubuntu terminal looks like by default. 163 00:07:57,990 --> 00:08:01,080 There is one thing only that I want to change. 164 00:08:01,080 --> 00:08:05,850 And in order to change that, I need to go here 165 00:08:05,850 --> 00:08:08,070 to the icon with a couple of lines 166 00:08:08,070 --> 00:08:09,810 in the upper-right corner. 167 00:08:09,810 --> 00:08:12,453 And I need to select the Preferences. 168 00:08:14,430 --> 00:08:18,330 And let me take this away, the prompt for new updates. 169 00:08:18,330 --> 00:08:20,460 And I'm going to click on Unnamed, 170 00:08:20,460 --> 00:08:24,030 where we can see that this is using a Terminal bell. 171 00:08:24,030 --> 00:08:26,520 I don't wanna be using the terminal bell, 172 00:08:26,520 --> 00:08:29,430 because this terminal bell makes noise every time 173 00:08:29,430 --> 00:08:32,940 I'm typing the wrong key, and that's just annoying. 174 00:08:32,940 --> 00:08:35,670 And this is what I'm going to keep, 175 00:08:35,670 --> 00:08:38,190 the aubergine background. 176 00:08:38,190 --> 00:08:40,770 It is nice because that means that throughout this course 177 00:08:40,770 --> 00:08:43,980 it's so easy for you to see when we are on Ubuntu 178 00:08:43,980 --> 00:08:46,590 and when we are on the CentOS system. 179 00:08:46,590 --> 00:08:47,913 So that's all.