1 00:00:07,920 --> 00:00:11,940 All right, on the last picture, I showed you guys how to create your digital ocean account, so if 2 00:00:11,940 --> 00:00:16,890 you haven't done that, make sure you go to digital ocean dotcom and sign up or even better, use my 3 00:00:16,890 --> 00:00:17,520 referral link. 4 00:00:17,820 --> 00:00:22,710 Get 100 hours of free credit so that you'll be able to, you know, create a difficulty image. 5 00:00:23,000 --> 00:00:24,950 You'll be able to use it and follow along with this question. 6 00:00:25,350 --> 00:00:27,540 And even after this course is over, you'll still be able to use it. 7 00:00:28,080 --> 00:00:28,350 All right. 8 00:00:28,590 --> 00:00:30,260 So now that we've got this here, what do we do? 9 00:00:30,780 --> 00:00:33,420 We need to access into this box, into this droplet. 10 00:00:33,420 --> 00:00:33,640 Right. 11 00:00:33,860 --> 00:00:34,950 So I've got an IP address. 12 00:00:35,160 --> 00:00:37,520 I'll click copy what I'm going to do. 13 00:00:37,560 --> 00:00:46,430 I'm going to I'm going to clear the screen and I'm going to echo this into a file called droplet dot 14 00:00:46,570 --> 00:00:49,320 text so we can type that out. 15 00:00:49,320 --> 00:00:50,640 And we can see we've got this IP here. 16 00:00:51,420 --> 00:00:55,200 And now I can say S.H. Tech I Idrissa. 17 00:00:55,410 --> 00:01:03,720 So I want to S.H. into the box using my private key and I want to access to this IP and six five to 18 00:01:03,720 --> 00:01:05,550 do to two three eight. 19 00:01:07,250 --> 00:01:12,020 Let's connect, that's right, because we didn't put the username, so we need to assess each in his 20 00:01:12,020 --> 00:01:12,300 room. 21 00:01:15,550 --> 00:01:19,250 Now you can see we are on our droplet. 22 00:01:19,820 --> 00:01:20,510 This is our droplet. 23 00:01:20,540 --> 00:01:22,820 This is not our our Windows box. 24 00:01:22,880 --> 00:01:24,710 We are now aged into our droplet. 25 00:01:25,460 --> 00:01:31,760 So in order to basically turn this into a Kleenex box, we need to first add the public, keep the Kelly 26 00:01:32,150 --> 00:01:32,550 Ripa 27 00:01:35,230 --> 00:01:35,470 told. 28 00:01:36,060 --> 00:01:36,860 Do that real quick. 29 00:01:44,370 --> 00:01:50,340 That is a good sign, it says, OK, so now we're going to update and we'll let this finish. 30 00:01:50,340 --> 00:01:51,330 We'll come back once it's done. 31 00:01:52,050 --> 00:01:52,460 Great. 32 00:01:52,460 --> 00:01:53,090 So that's done. 33 00:01:53,280 --> 00:01:57,960 Now we just need to add the official package resource list or Kelly Callisthenics. 34 00:01:59,820 --> 00:02:03,990 So I'm going to update the sources that list by echoing in this text. 35 00:02:12,750 --> 00:02:18,390 And we're going to run Cerutty on the command so we can see the result after we go into the final. 36 00:02:18,720 --> 00:02:23,700 If we leave off the 08 part and we won't see the result of the command inside the file that we just 37 00:02:23,700 --> 00:02:25,820 edited it, we'll just see the command itself. 38 00:02:26,340 --> 00:02:29,090 So that's why we have the pseudo tea part. 39 00:02:29,970 --> 00:02:31,900 And you can see this is what we added to the file. 40 00:02:32,100 --> 00:02:39,300 Now we do have to update to update the table of contents that contains all the repos that we need to 41 00:02:39,300 --> 00:02:41,670 pull down Kelly into this droplet. 42 00:02:42,510 --> 00:02:45,010 So we'll let this run and we'll come back once it finishes. 43 00:02:45,690 --> 00:02:46,080 All right. 44 00:02:46,080 --> 00:02:47,080 So that part is good to go. 45 00:02:47,250 --> 00:02:48,330 Let's install Kelly. 46 00:02:52,230 --> 00:02:53,020 So this should be good. 47 00:02:53,040 --> 00:02:55,170 Let's hit enter and let's install Kelly. 48 00:02:55,920 --> 00:02:57,570 And this part is going to take a really long time. 49 00:02:57,570 --> 00:03:00,120 So we're going to let this go and we'll come back once it finishes. 50 00:03:00,330 --> 00:03:02,490 You can see here is trying to count how much time remains. 51 00:03:02,880 --> 00:03:04,920 So I'll come back and I'll tell you how long it actually took. 52 00:03:05,070 --> 00:03:09,480 By the way, this is still updating, but if you notice that the window freezes, just hit spacebar 53 00:03:09,630 --> 00:03:12,750 and it'll update again to update actually still running in the background. 54 00:03:12,750 --> 00:03:18,150 But sometimes Windows doesn't update the terminal as fluidly as you would if you were on an interactive 55 00:03:18,150 --> 00:03:20,040 shell directly on the droplet. 56 00:03:20,640 --> 00:03:21,030 All right. 57 00:03:21,030 --> 00:03:24,220 So two hours later, we now can configure our keyboard layout. 58 00:03:24,630 --> 00:03:25,050 Yes. 59 00:03:25,050 --> 00:03:27,030 It actually took two hours to get to this point. 60 00:03:27,690 --> 00:03:31,590 So I'm going to hit Tabac and press enter. 61 00:03:32,130 --> 00:03:34,910 Should non-slip users be able to capture packets? 62 00:03:35,370 --> 00:03:35,790 Sure. 63 00:03:36,060 --> 00:03:38,380 I don't want my Mac address changing, so I'll keep it up. 64 00:03:38,420 --> 00:03:43,110 No, we're not using kismet because there's no wireless card in a digital ocean droplet. 65 00:03:43,560 --> 00:03:50,720 So I'm going to flip that to know and we'll just run SSL H from the identity to save on resources. 66 00:03:52,580 --> 00:03:55,460 All right, we'll let this go and we'll come back once it finishes. 67 00:03:56,860 --> 00:03:59,530 Yes, we want to restart services without asking. 68 00:04:03,770 --> 00:04:08,480 All right, well, let this go and we'll come back once it finishes about 30 minutes later, he came 69 00:04:08,480 --> 00:04:10,810 back with an SAHD configuration. 70 00:04:11,420 --> 00:04:14,840 It's basically saying the file was modified and that's because they updated it. 71 00:04:15,200 --> 00:04:17,520 We'll just keep the local version currently installed here. 72 00:04:17,560 --> 00:04:23,540 OK, and let's round out this installation, resolved that deal with another file that's been updated. 73 00:04:23,570 --> 00:04:28,200 So we're just going to keep the defaults by pressing entero and continue this setup. 74 00:04:28,430 --> 00:04:28,880 All right. 75 00:04:28,880 --> 00:04:31,460 So we finally made it to the partial finish line. 76 00:04:31,770 --> 00:04:34,270 Now we just need to run a little update again. 77 00:04:34,400 --> 00:04:36,320 You don't have to run Seeto actually since your route. 78 00:04:36,800 --> 00:04:42,380 So you can just run and update Y and you might get to error messages. 79 00:04:42,380 --> 00:04:44,740 Just go forward is the best you can. 80 00:04:44,840 --> 00:04:46,300 So you see I've got this error message here. 81 00:04:47,000 --> 00:04:51,370 I don't know what this means, but if it impedes our progress then we'll troubleshoot. 82 00:04:51,410 --> 00:04:56,300 Otherwise we'll just continue to march forward and then we're going to do the full upgrade. 83 00:05:00,170 --> 00:05:02,300 I'm just going to keep the defaults for everything. 84 00:05:02,300 --> 00:05:08,090 So I'll just hit enter and we're not running Iasi so it doesn't matter. 85 00:05:08,330 --> 00:05:10,850 So I'll just say yes to this to change the home directory. 86 00:05:12,270 --> 00:05:17,430 So that's the only thing that's kind of unfortunate, this isn't an unattended installation like it 87 00:05:17,430 --> 00:05:18,900 requires you to kind of interact with it. 88 00:05:19,140 --> 00:05:22,950 It's kind of annoying, but I think it's good to interact with the process, at least for the first 89 00:05:22,950 --> 00:05:23,240 time. 90 00:05:23,790 --> 00:05:24,690 So you know how it works. 91 00:05:25,200 --> 00:05:29,640 And then we'll just keep the default as asking about Grob and saying the version installed has been 92 00:05:29,640 --> 00:05:30,560 locally modified. 93 00:05:30,870 --> 00:05:34,590 We'll just keep a local version currently installed and we're almost done here. 94 00:05:34,620 --> 00:05:35,580 We're 95 percent. 95 00:05:35,850 --> 00:05:36,660 So hang in there, guys. 96 00:05:36,900 --> 00:05:38,460 You know, we're keeping the default for everything. 97 00:05:38,460 --> 00:05:41,850 So we're going to enter here even for the clock and think we're just going to default. 98 00:05:42,660 --> 00:05:45,780 So it took a total of about three hours to get to this point. 99 00:05:46,140 --> 00:05:51,990 But once you get here, it's really important that you don't disconnect because by default, SFH is 100 00:05:51,990 --> 00:05:52,520 not listening. 101 00:05:52,950 --> 00:05:53,970 So we need to change that. 102 00:05:54,390 --> 00:05:59,130 What we can do in other words, if you disconnect here, you won't be able to connect the access age. 103 00:05:59,170 --> 00:06:03,090 You'll have to go into your droplet, be the digital ocean portal. 104 00:06:03,630 --> 00:06:03,900 Right. 105 00:06:03,900 --> 00:06:07,310 So to avoid that hassle meter, enable access to the server. 106 00:06:07,740 --> 00:06:08,460 Let me show you 107 00:06:12,510 --> 00:06:14,000 what actually is really OK. 108 00:06:15,140 --> 00:06:15,480 All right. 109 00:06:15,480 --> 00:06:17,880 Let's just take a quick look at the configuration file, 110 00:06:23,070 --> 00:06:24,990 and I'm going to search for a pub key. 111 00:06:25,890 --> 00:06:27,660 OK, you want public here, the indication be set. 112 00:06:27,670 --> 00:06:28,080 Yes. 113 00:06:28,740 --> 00:06:34,590 So I he brings me into insert mode and I'm going to backspace this comment out so that we can authenticate 114 00:06:34,590 --> 00:06:46,080 using our public key and then we will enable SNH to start about anywhere what we started and then we'll 115 00:06:46,080 --> 00:06:46,890 check the status. 116 00:06:49,560 --> 00:06:50,160 Nice. 117 00:06:50,400 --> 00:06:52,470 Now, let's go ahead and set the multiuser target. 118 00:06:57,540 --> 00:06:57,880 All right. 119 00:06:58,200 --> 00:07:01,380 Now we can review what's paying our target. 120 00:07:05,430 --> 00:07:08,850 Let's see the tax Dashti flag 121 00:07:12,780 --> 00:07:17,370 paying Dashty so we know when it comes back and when we can try to SSA John. 122 00:07:19,290 --> 00:07:20,660 It looks like it hasn't gone down yet. 123 00:07:21,240 --> 00:07:25,470 It's once it goes down and it comes back up, we'll come back and we'll see if we can connect in control. 124 00:07:25,510 --> 00:07:28,040 See let's see if we can SFH and again. 125 00:07:29,190 --> 00:07:30,230 Now, that is a good sign. 126 00:07:30,610 --> 00:07:31,680 Now, let me show you what to do. 127 00:07:31,680 --> 00:07:40,230 If you couldn't SAHM, if you couldn't SSA and for some reason you could run as a Kijang with Tech R 128 00:07:41,010 --> 00:07:43,890 and then the IP of your droplet. 129 00:07:44,290 --> 00:07:55,460 If that doesn't work, you can run Keskin Weltech T RSA and then the IP of your droplet as you clear 130 00:07:55,590 --> 00:07:57,420 out your nonhostile so you can log in again. 131 00:07:58,890 --> 00:08:00,630 We don't have to do that because we're good to go. 132 00:08:04,200 --> 00:08:06,090 So the first thing we need to do is hide this message. 133 00:08:06,660 --> 00:08:12,600 We'll just follow the instructions and then we'll create our user account, set a password for this 134 00:08:12,600 --> 00:08:12,960 user 135 00:08:18,660 --> 00:08:21,180 and the user to the Cedarhurst group so we can run pseudo. 136 00:08:27,190 --> 00:08:28,780 They didn't see if we can switch everybody 137 00:08:31,930 --> 00:08:33,190 run that tetco man 138 00:08:37,990 --> 00:08:38,650 we are Bonnie. 139 00:08:39,190 --> 00:08:41,500 Let's see if we can zero into each other. 140 00:08:43,960 --> 00:08:45,550 So now we know we are in the Ciro's group. 141 00:08:46,030 --> 00:08:55,150 So now, of course, we want to be able to assess each and has this user zero of them needs to create 142 00:08:55,150 --> 00:08:55,630 the file, 143 00:09:00,160 --> 00:09:00,940 said Paiste. 144 00:09:04,110 --> 00:09:04,760 There we go. 145 00:09:05,790 --> 00:09:06,000 These. 146 00:09:15,650 --> 00:09:18,750 All right, so we will make this directory 147 00:09:24,180 --> 00:09:30,780 of them authorized keys, scap shifted. 148 00:09:35,280 --> 00:09:35,760 All right. 149 00:09:35,770 --> 00:09:37,890 So it looks like we kind of botched things up a little bit. 150 00:09:37,920 --> 00:09:40,470 That's just my terminals acting kind of weird. 151 00:09:40,470 --> 00:09:41,820 I don't really know where this file is. 152 00:09:42,840 --> 00:09:44,670 So can we just find it? 153 00:09:46,660 --> 00:09:50,890 We say authorized these types of file. 154 00:09:53,280 --> 00:09:54,810 It's an error is to have no. 155 00:09:57,610 --> 00:10:02,100 All right, so we should be able to look at this good. 156 00:10:02,650 --> 00:10:03,120 There it is. 157 00:10:03,130 --> 00:10:03,340 All right. 158 00:10:03,370 --> 00:10:04,960 I don't know what was going on earlier. 159 00:10:05,870 --> 00:10:07,870 Let's just confirm that we are running Kelly. 160 00:10:11,050 --> 00:10:12,840 We are Kelly Rolling's. 161 00:10:15,130 --> 00:10:16,900 Let's exit and try to assess Anthony. 162 00:10:22,130 --> 00:10:27,180 And we're in not very cool, so in the next lecture, what we'll do is we'll set up our team environment. 163 00:10:28,050 --> 00:10:30,000 All right, I'll see you guys in the next lecture.