1
00:00:00,220 --> 00:00:01,560
Case less in stolen stock or.

2
00:00:02,070 --> 00:00:06,300
So using this link here, the official download link for Kafala, we can open that.

3
00:00:06,360 --> 00:00:09,810
OK, so currently we're at version eight point two point three.

4
00:00:09,840 --> 00:00:14,880
Something you should be aware of with Gravano is that there are new versions all the time.

5
00:00:14,910 --> 00:00:16,920
Every couple of weeks is pretty normal.

6
00:00:16,950 --> 00:00:21,600
There are also nightly builds that you can use, but I'm going to select the latest, which is eight

7
00:00:21,600 --> 00:00:24,270
point two point three and select Oasis.

8
00:00:24,300 --> 00:00:25,960
This is the open source version.

9
00:00:25,980 --> 00:00:29,640
This will give us more in-depth knowledge of what's going on in Carvana.

10
00:00:29,640 --> 00:00:34,470
But later on, once you're finished with the course, you can always go to the enterprise version,

11
00:00:34,470 --> 00:00:38,340
which gives you some more options, plus a certain amount of support.

12
00:00:38,520 --> 00:00:44,850
And also you will need to create a freak or fan iCloud account, but you can do all these things in

13
00:00:44,850 --> 00:00:45,330
your own time.

14
00:00:45,360 --> 00:00:49,680
Right now, we use the Oasis version, so be sure to make sure that's selected, OK?

15
00:00:49,710 --> 00:00:55,650
Also, I'll be installing the Linux version now by installing it on a new Buntu ELTs server.

16
00:00:55,800 --> 00:00:58,700
OK, so these are the commands here that I'll need now.

17
00:00:58,710 --> 00:01:04,290
You can also install another operating system, but I recommend wall learning in this course so that

18
00:01:04,290 --> 00:01:06,210
what you see looks like what I see.

19
00:01:06,240 --> 00:01:09,790
Use Linux also, you don't have Linux services at your disposal.

20
00:01:09,810 --> 00:01:12,690
I recommend getting them from digital ocean.

21
00:01:12,720 --> 00:01:18,500
OK, so on my official page here down here, if you get them from digitalization, you get free credit.

22
00:01:18,540 --> 00:01:26,000
Commonly, it's $50 for 30 days, but most of the time lately it seems to be $100 for a 60 day period.

23
00:01:26,010 --> 00:01:32,910
So if you were to visit that link, it says here free credit active get started on digital ocean $100

24
00:01:32,910 --> 00:01:34,910
60 day credit for new users.

25
00:01:34,920 --> 00:01:39,480
So I recommend using this because we will create lots of servers and delete them.

26
00:01:39,480 --> 00:01:41,850
And it doesn't matter if you make mistakes or so.

27
00:01:41,880 --> 00:01:45,690
This is a better method than using any existing servers.

28
00:01:45,700 --> 00:01:50,070
You might have already production servers you might have because we will break things and you don't

29
00:01:50,070 --> 00:01:54,060
want to break anything too important, such as your personal computer or any production server that

30
00:01:54,060 --> 00:01:54,570
your work.

31
00:01:54,570 --> 00:01:59,310
Just isolate your learning process with these throwaway servers.

32
00:01:59,310 --> 00:02:04,830
It doesn't cost you anything at the end, and we won't use up that $100 credit in 60 days anyway.

33
00:02:04,860 --> 00:02:07,610
You wouldn't even use up $50 in 30 days.

34
00:02:07,620 --> 00:02:11,370
But anyway, I also have an offer for Hetzner that you can use or abuse.

35
00:02:11,370 --> 00:02:12,990
Digital ocean hasn't all the time.

36
00:02:13,020 --> 00:02:14,500
These are my preferred services.

37
00:02:14,520 --> 00:02:20,430
You also have the choice of using us or you're your JCP, and there are many more providers.

38
00:02:20,430 --> 00:02:24,640
But just so that it matches what I show in the videos, and it's not going to cost you any extra because

39
00:02:24,640 --> 00:02:27,630
there's free credit for new users, I recommend using digital ocean.

40
00:02:27,660 --> 00:02:31,000
OK, so let's get ourselves a lilac server to install Bafana.

41
00:02:31,020 --> 00:02:35,580
I'm going to use the latest Ubuntu Altius from digitalisation, so I log onto my digital ocean and I'm

42
00:02:35,580 --> 00:02:40,590
going to show you how easy it is to start up your own droplet as they're called on digital ocean.

43
00:02:40,640 --> 00:02:42,500
OK, so create a droplet.

44
00:02:42,510 --> 00:02:43,410
This is a server.

45
00:02:43,470 --> 00:02:49,170
OK, so here there are many operating systems to choose from the latest long term support.

46
00:02:49,170 --> 00:02:53,920
Or let's say, Ubuntu is version twenty point zero four at the time of creating this video.

47
00:02:53,940 --> 00:02:58,830
Soon, there will be a version twenty two point zero for you can also use that once it comes out.

48
00:02:58,920 --> 00:03:05,310
I will update my documentation to support commands for both twenty and twenty two point zero four,

49
00:03:05,310 --> 00:03:05,910
if applicable.

50
00:03:05,910 --> 00:03:06,990
OK, choose a plan.

51
00:03:07,260 --> 00:03:08,550
Besic is good enough.

52
00:03:08,880 --> 00:03:11,600
I'm just going to choose the $6 a month default here.

53
00:03:11,610 --> 00:03:15,480
One gig, twenty five gigs of SSD and 1000 gigs a transfer.

54
00:03:15,510 --> 00:03:18,870
This is plenty for learning and installing our first Crafar server.

55
00:03:18,900 --> 00:03:22,340
There are other options you can mess around with, but it's like the six pantomimes.

56
00:03:22,470 --> 00:03:23,160
That's good enough.

57
00:03:23,420 --> 00:03:24,710
Keep scrolling down.

58
00:03:24,720 --> 00:03:28,560
Choose a region, but anywhere you like, I can put in Amsterdam.

59
00:03:28,560 --> 00:03:32,540
Perhaps the ABC network live as default authentication.

60
00:03:32,550 --> 00:03:35,810
If you know how to use keys, I recommend using a suspected case.

61
00:03:35,820 --> 00:03:40,380
Otherwise you can create a password for logged onto your server.

62
00:03:40,410 --> 00:03:41,880
How many use associated keys?

63
00:03:41,920 --> 00:03:44,970
I've already created one in digital that I can use.

64
00:03:45,510 --> 00:03:46,140
OK, name it.

65
00:03:46,140 --> 00:03:47,030
Anything you like.

66
00:03:47,040 --> 00:03:50,610
I'm going to call a profile type and create droplet.

67
00:03:51,360 --> 00:03:55,590
OK, so after one minute, you will be given a public IP address.

68
00:03:56,520 --> 00:04:00,360
That server will now be available for you to use on the data.

69
00:04:01,900 --> 00:04:06,460
OK, so that's the IP address that I was just given from digital ocean, I can copy that now.

70
00:04:06,490 --> 00:04:09,510
I can log into that server using NSA sites client.

71
00:04:09,530 --> 00:04:14,680
I'm going to use a program called Putty, which is quite popular when you're running a Windows operating

72
00:04:14,680 --> 00:04:15,100
system.

73
00:04:15,110 --> 00:04:19,029
So I recommend using that if I click the link, that's the website.

74
00:04:19,060 --> 00:04:22,420
That's the latest release there, and you can download and install it for if you like.

75
00:04:22,720 --> 00:04:25,620
OK, so I've opened up putty now on my system.

76
00:04:25,630 --> 00:04:27,430
I'm on the session configuration page.

77
00:04:27,430 --> 00:04:34,000
Paste that IP address and there is going to be using default port 22 S.H. I can save that for later.

78
00:04:34,030 --> 00:04:40,210
So just type anything you like, press save face that's there for later, if I need now before I open

79
00:04:40,210 --> 00:04:40,540
that.

80
00:04:40,690 --> 00:04:48,040
Since I've used S.H. authentication, all now need to pointed to a local copy of my SSI UK case.

81
00:04:48,040 --> 00:04:48,610
That's done.

82
00:04:48,640 --> 00:04:54,400
I'm also going to change the appearance from the default font because it's quite small press.

83
00:04:54,400 --> 00:05:01,000
OK, go back to session and then just press save a case that's now saved by double click that it will

84
00:05:01,000 --> 00:05:02,790
give me a new side window.

85
00:05:02,800 --> 00:05:04,540
I'm going to log in as root.

86
00:05:05,050 --> 00:05:09,460
OK, so I've now logged on to my cloud server.

87
00:05:09,490 --> 00:05:12,160
Then I got digital ocean where I will install Carafano.

88
00:05:12,250 --> 00:05:15,190
And that was the public IP address that I was given.

89
00:05:15,220 --> 00:05:16,810
You'll be given a different IP address.

90
00:05:17,050 --> 00:05:17,410
OK.

91
00:05:17,440 --> 00:05:24,610
So before we run the commands to install Safana, it's often good practice to update the IPT cache.

92
00:05:24,640 --> 00:05:27,280
So sudo apt get update.

93
00:05:27,850 --> 00:05:32,650
OK, so this is getting the latest download information for any libraries that we can install.

94
00:05:32,740 --> 00:05:33,430
That's done now.

95
00:05:33,460 --> 00:05:34,580
That's just common practice.

96
00:05:34,660 --> 00:05:35,030
OK?

97
00:05:35,050 --> 00:05:40,990
Going back to the official install on the Gryffindor page first line sudo apt get install.

98
00:05:40,990 --> 00:05:41,470
Why?

99
00:05:41,500 --> 00:05:44,530
Which means choose yes for any choices it might give us.

100
00:05:44,530 --> 00:05:49,320
And then it will also install two dependencies called add user and ad lib font config one.

101
00:05:49,330 --> 00:05:50,940
So copy that in putty.

102
00:05:50,950 --> 00:05:54,700
If you just right click on your mouse, it will paste it into the screen.

103
00:05:54,700 --> 00:05:55,180
Like that?

104
00:05:55,270 --> 00:05:56,410
OK, press enter.

105
00:05:58,340 --> 00:06:04,190
Now, if we look at what was written there from the command that I just typed in, Add user is already

106
00:06:04,190 --> 00:06:10,370
the newest version, so that wasn't installed, but lib font config one following new packages will

107
00:06:10,370 --> 00:06:11,150
be installed there.

108
00:06:11,420 --> 00:06:13,970
The font config one Plus's dependencies.

109
00:06:14,000 --> 00:06:16,820
So that's now done and ready the next line.

110
00:06:17,270 --> 00:06:24,290
Get what Downloading the Debian package installer from the Crafar Now downloads website, the Oasis

111
00:06:24,290 --> 00:06:26,730
version and the release being 8.2 point.

112
00:06:27,320 --> 00:06:29,850
There are many, many releases just to show you two.

113
00:06:29,870 --> 00:06:32,660
There are many, many, many releases you can download anyone you want.

114
00:06:32,840 --> 00:06:36,320
I'm using 8.1.3, so copy that once again.

115
00:06:36,320 --> 00:06:40,440
Right click and paste it into the console if I just hide myself.

116
00:06:40,490 --> 00:06:45,830
You can see Carvana eight point two point three AMD64 and press enter.

117
00:06:45,860 --> 00:06:48,190
Now that has downloaded 100 percent.

118
00:06:48,230 --> 00:06:53,960
Excellent now to run the Debian package installer that are there their mains install.

119
00:06:54,350 --> 00:06:58,160
OK installer Farner eight point two point three AMD64.

120
00:06:59,610 --> 00:06:59,960
OK.

121
00:07:00,000 --> 00:07:01,020
That was pretty quick.

122
00:07:01,050 --> 00:07:06,630
Now we can start the Gravano server by executing that line there, so I can highlight that, then right

123
00:07:06,630 --> 00:07:15,170
click and a paste like a presenter or another way of doing it is to run sudo service Raphinha server

124
00:07:15,240 --> 00:07:16,140
start.

125
00:07:17,610 --> 00:07:24,660
OK, we can check its status by typing that, and it says it's active running excellent control c to

126
00:07:24,660 --> 00:07:25,830
get out of that page.

127
00:07:25,840 --> 00:07:31,380
Now remembering that IP address that I was given from digital ocean that I also logged on to using putty.

128
00:07:31,410 --> 00:07:31,960
Copy that!

129
00:07:31,980 --> 00:07:33,240
Open a new browser.

130
00:07:33,270 --> 00:07:37,400
Place the IP address and append colon 3000 to the end.

131
00:07:37,410 --> 00:07:40,380
And that is your new Crafar on a server.

132
00:07:40,410 --> 00:07:43,560
On the internet being hosted at that IP address.

133
00:07:43,570 --> 00:07:50,760
Colon 3000 The login is admin admin, so HDMI in HDMI in all our case.

134
00:07:50,880 --> 00:07:55,270
OK, you are then asked to change the password or skip it.

135
00:07:55,290 --> 00:07:56,640
I'm going to change the password.

136
00:07:57,600 --> 00:08:02,790
I submit and I've logged on to the new server, so ready to continue.

137
00:08:03,390 --> 00:08:08,400
OK, so now I've used a digital age, the server there, I could have used Hetzner and the process would

138
00:08:08,400 --> 00:08:09,840
have been very similar.

139
00:08:09,840 --> 00:08:18,060
If you chose to use IWC, JCPenney's, you or other providers, Port 3000 might not be open for you

140
00:08:18,060 --> 00:08:18,570
instantly.

141
00:08:18,570 --> 00:08:24,420
Like that, you might have to modify firewall settings in the user device that your cloud provider gives

142
00:08:24,420 --> 00:08:24,660
you.

143
00:08:24,690 --> 00:08:29,130
For example, I'll show you the IWC version of doing just what I did.

144
00:08:29,250 --> 00:08:33,570
OK, so I mean, IWC easy to launch instance.

145
00:08:34,299 --> 00:08:36,150
I'm going to choose a bunch to.

146
00:08:37,110 --> 00:08:40,470
Twenty point zero four ELTs, 64 bit.

147
00:08:41,610 --> 00:08:48,960
I'm going to try this to micro cap, for instance, details I'm using old defaults at storage.

148
00:08:49,140 --> 00:08:54,950
I geeks review and launch launch this assisting do for so.

149
00:08:56,240 --> 00:08:57,370
Watch instance.

150
00:08:57,920 --> 00:08:58,390
OK.

151
00:08:58,520 --> 00:09:07,520
Your instances are now launching a few instances inside a pending OK running when creating your IWC

152
00:09:07,550 --> 00:09:10,100
version, you'll be given a public IP address up there.

153
00:09:10,430 --> 00:09:17,600
Put that into party, save your settings and you can open that you have to use the sites key that IWC

154
00:09:17,600 --> 00:09:23,000
provides or that you've set up and the username will be Ubunto.

155
00:09:24,050 --> 00:09:24,470
OK.

156
00:09:24,560 --> 00:09:25,870
Same process.

157
00:09:25,880 --> 00:09:28,760
Sudo apt to update.

158
00:09:30,900 --> 00:09:33,360
And I'm just going to copy all those in one go.

159
00:09:33,650 --> 00:09:35,130
Then right click and let it run.

160
00:09:35,310 --> 00:09:35,820
OK.

161
00:09:36,090 --> 00:09:38,110
Looks like it didn't run these other two, so.

162
00:09:38,130 --> 00:09:38,730
Copy that.

163
00:09:39,400 --> 00:09:40,860
We get very good.

164
00:09:42,000 --> 00:09:45,720
Networks seem slower on this macro IWC.

165
00:09:46,770 --> 00:09:49,350
Hey, let's on the package manager.

166
00:09:51,590 --> 00:09:52,700
Let's start started.

167
00:09:54,030 --> 00:09:57,100
Highlighting it, right click stricter studies.

168
00:09:57,270 --> 00:10:08,280
Sudo service Crafar, a service that US says is running control c, the IP address given to me from

169
00:10:08,430 --> 00:10:11,490
I was was that one that's the public IP.

170
00:10:11,490 --> 00:10:13,620
So copy that type it into a browser.

171
00:10:15,150 --> 00:10:22,980
Colin 3000, OK, so it's unlikely to work with IWC, JCP, sure, many others, he may need to set

172
00:10:22,980 --> 00:10:23,910
the firewall rules.

173
00:10:23,910 --> 00:10:31,160
So down here on the Security tab, inbound rules, we have a pull open for Port 22 already TCP IP.

174
00:10:31,170 --> 00:10:35,940
We'll have to create another one for Port 3000 on the security group.

175
00:10:37,230 --> 00:10:50,280
OK, so let's a inbound rules had a rule custom 3000 and being all IP addresses from anywhere IP version

176
00:10:50,280 --> 00:10:51,840
four, say rules.

177
00:10:53,110 --> 00:10:56,110
OK, let's try that again in the browser.

178
00:10:57,190 --> 00:10:58,250
And there we go.

179
00:10:58,270 --> 00:11:00,740
We have gafah not running on either of us.

180
00:11:00,840 --> 00:11:02,740
Now, I'm not a fan of IWC.

181
00:11:02,770 --> 00:11:05,880
I won't be using IWC that often throughout the course.

182
00:11:05,970 --> 00:11:09,640
I'm just showing you there the extra steps you need to take if you want to use IWC.

183
00:11:09,730 --> 00:11:14,530
I prefer to use digital ocean or headstart because it's much simpler and I have all the control I need

184
00:11:14,530 --> 00:11:18,310
when we do need to set firewall rules using digital or it's not.

185
00:11:18,340 --> 00:11:23,650
We also have firewall options in their cloud user interfaces, but you also have the option to use what's

186
00:11:23,650 --> 00:11:25,390
called IP tables.

187
00:11:25,420 --> 00:11:28,940
And when those times come up, I'll show you the IP tables commands.

188
00:11:28,940 --> 00:11:35,260
But these IWC if you want to, but note that I won't be using IWC in the course, only using digital

189
00:11:35,260 --> 00:11:35,780
ocean.

190
00:11:35,830 --> 00:11:41,020
OK, so be sure that to match what I'm doing in the course, use digital ocean and putty and install

191
00:11:41,020 --> 00:11:46,600
the latest Ubuntu Altius and this is my Cafaro server running from digital ocean.

192
00:11:46,750 --> 00:11:47,200
Excellent.

