WEBVTT

00:00.220 --> 00:01.560
Case less in stolen stock or.

00:02.070 --> 00:06.300
So using this link here, the official download link for Kafala, we can open that.

00:06.360 --> 00:09.810
OK, so currently we're at version eight point two point three.

00:09.840 --> 00:14.880
Something you should be aware of with Gravano is that there are new versions all the time.

00:14.910 --> 00:16.920
Every couple of weeks is pretty normal.

00:16.950 --> 00:21.600
There are also nightly builds that you can use, but I'm going to select the latest, which is eight

00:21.600 --> 00:24.270
point two point three and select Oasis.

00:24.300 --> 00:25.960
This is the open source version.

00:25.980 --> 00:29.640
This will give us more in-depth knowledge of what's going on in Carvana.

00:29.640 --> 00:34.470
But later on, once you're finished with the course, you can always go to the enterprise version,

00:34.470 --> 00:38.340
which gives you some more options, plus a certain amount of support.

00:38.520 --> 00:44.850
And also you will need to create a freak or fan iCloud account, but you can do all these things in

00:44.850 --> 00:45.330
your own time.

00:45.360 --> 00:49.680
Right now, we use the Oasis version, so be sure to make sure that's selected, OK?

00:49.710 --> 00:55.650
Also, I'll be installing the Linux version now by installing it on a new Buntu ELTs server.

00:55.800 --> 00:58.700
OK, so these are the commands here that I'll need now.

00:58.710 --> 01:04.290
You can also install another operating system, but I recommend wall learning in this course so that

01:04.290 --> 01:06.210
what you see looks like what I see.

01:06.240 --> 01:09.790
Use Linux also, you don't have Linux services at your disposal.

01:09.810 --> 01:12.690
I recommend getting them from digital ocean.

01:12.720 --> 01:18.500
OK, so on my official page here down here, if you get them from digitalization, you get free credit.

01:18.540 --> 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.

01:26.010 --> 01:32.910
So if you were to visit that link, it says here free credit active get started on digital ocean $100

01:32.910 --> 01:34.910
60 day credit for new users.

01:34.920 --> 01:39.480
So I recommend using this because we will create lots of servers and delete them.

01:39.480 --> 01:41.850
And it doesn't matter if you make mistakes or so.

01:41.880 --> 01:45.690
This is a better method than using any existing servers.

01:45.700 --> 01:50.070
You might have already production servers you might have because we will break things and you don't

01:50.070 --> 01:54.060
want to break anything too important, such as your personal computer or any production server that

01:54.060 --> 01:54.570
your work.

01:54.570 --> 01:59.310
Just isolate your learning process with these throwaway servers.

01:59.310 --> 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.

02:04.860 --> 02:07.610
You wouldn't even use up $50 in 30 days.

02:07.620 --> 02:11.370
But anyway, I also have an offer for Hetzner that you can use or abuse.

02:11.370 --> 02:12.990
Digital ocean hasn't all the time.

02:13.020 --> 02:14.500
These are my preferred services.

02:14.520 --> 02:20.430
You also have the choice of using us or you're your JCP, and there are many more providers.

02:20.430 --> 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

02:24.640 --> 02:27.630
there's free credit for new users, I recommend using digital ocean.

02:27.660 --> 02:31.000
OK, so let's get ourselves a lilac server to install Bafana.

02:31.020 --> 02:35.580
I'm going to use the latest Ubuntu Altius from digitalisation, so I log onto my digital ocean and I'm

02:35.580 --> 02:40.590
going to show you how easy it is to start up your own droplet as they're called on digital ocean.

02:40.640 --> 02:42.500
OK, so create a droplet.

02:42.510 --> 02:43.410
This is a server.

02:43.470 --> 02:49.170
OK, so here there are many operating systems to choose from the latest long term support.

02:49.170 --> 02:53.920
Or let's say, Ubuntu is version twenty point zero four at the time of creating this video.

02:53.940 --> 02:58.830
Soon, there will be a version twenty two point zero for you can also use that once it comes out.

02:58.920 --> 03:05.310
I will update my documentation to support commands for both twenty and twenty two point zero four,

03:05.310 --> 03:05.910
if applicable.

03:05.910 --> 03:06.990
OK, choose a plan.

03:07.260 --> 03:08.550
Besic is good enough.

03:08.880 --> 03:11.600
I'm just going to choose the $6 a month default here.

03:11.610 --> 03:15.480
One gig, twenty five gigs of SSD and 1000 gigs a transfer.

03:15.510 --> 03:18.870
This is plenty for learning and installing our first Crafar server.

03:18.900 --> 03:22.340
There are other options you can mess around with, but it's like the six pantomimes.

03:22.470 --> 03:23.160
That's good enough.

03:23.420 --> 03:24.710
Keep scrolling down.

03:24.720 --> 03:28.560
Choose a region, but anywhere you like, I can put in Amsterdam.

03:28.560 --> 03:32.540
Perhaps the ABC network live as default authentication.

03:32.550 --> 03:35.810
If you know how to use keys, I recommend using a suspected case.

03:35.820 --> 03:40.380
Otherwise you can create a password for logged onto your server.

03:40.410 --> 03:41.880
How many use associated keys?

03:41.920 --> 03:44.970
I've already created one in digital that I can use.

03:45.510 --> 03:46.140
OK, name it.

03:46.140 --> 03:47.030
Anything you like.

03:47.040 --> 03:50.610
I'm going to call a profile type and create droplet.

03:51.360 --> 03:55.590
OK, so after one minute, you will be given a public IP address.

03:56.520 --> 04:00.360
That server will now be available for you to use on the data.

04:01.900 --> 04:06.460
OK, so that's the IP address that I was just given from digital ocean, I can copy that now.

04:06.490 --> 04:09.510
I can log into that server using NSA sites client.

04:09.530 --> 04:14.680
I'm going to use a program called Putty, which is quite popular when you're running a Windows operating

04:14.680 --> 04:15.100
system.

04:15.110 --> 04:19.030
So I recommend using that if I click the link, that's the website.

04:19.060 --> 04:22.420
That's the latest release there, and you can download and install it for if you like.

04:22.720 --> 04:25.620
OK, so I've opened up putty now on my system.

04:25.630 --> 04:27.430
I'm on the session configuration page.

04:27.430 --> 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.

04:34.030 --> 04:40.210
So just type anything you like, press save face that's there for later, if I need now before I open

04:40.210 --> 04:40.540
that.

04:40.690 --> 04:48.040
Since I've used S.H. authentication, all now need to pointed to a local copy of my SSI UK case.

04:48.040 --> 04:48.610
That's done.

04:48.640 --> 04:54.400
I'm also going to change the appearance from the default font because it's quite small press.

04:54.400 --> 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

05:01.000 --> 05:02.790
give me a new side window.

05:02.800 --> 05:04.540
I'm going to log in as root.

05:05.050 --> 05:09.460
OK, so I've now logged on to my cloud server.

05:09.490 --> 05:12.160
Then I got digital ocean where I will install Carafano.

05:12.250 --> 05:15.190
And that was the public IP address that I was given.

05:15.220 --> 05:16.810
You'll be given a different IP address.

05:17.050 --> 05:17.410
OK.

05:17.440 --> 05:24.610
So before we run the commands to install Safana, it's often good practice to update the IPT cache.

05:24.640 --> 05:27.280
So sudo apt get update.

05:27.850 --> 05:32.650
OK, so this is getting the latest download information for any libraries that we can install.

05:32.740 --> 05:33.430
That's done now.

05:33.460 --> 05:34.580
That's just common practice.

05:34.660 --> 05:35.030
OK?

05:35.050 --> 05:40.990
Going back to the official install on the Gryffindor page first line sudo apt get install.

05:40.990 --> 05:41.470
Why?

05:41.500 --> 05:44.530
Which means choose yes for any choices it might give us.

05:44.530 --> 05:49.320
And then it will also install two dependencies called add user and ad lib font config one.

05:49.330 --> 05:50.940
So copy that in putty.

05:50.950 --> 05:54.700
If you just right click on your mouse, it will paste it into the screen.

05:54.700 --> 05:55.180
Like that?

05:55.270 --> 05:56.410
OK, press enter.

05:58.340 --> 06:04.190
Now, if we look at what was written there from the command that I just typed in, Add user is already

06:04.190 --> 06:10.370
the newest version, so that wasn't installed, but lib font config one following new packages will

06:10.370 --> 06:11.150
be installed there.

06:11.420 --> 06:13.970
The font config one Plus's dependencies.

06:14.000 --> 06:16.820
So that's now done and ready the next line.

06:17.270 --> 06:24.290
Get what Downloading the Debian package installer from the Crafar Now downloads website, the Oasis

06:24.290 --> 06:26.730
version and the release being 8.2 point.

06:27.320 --> 06:29.850
There are many, many releases just to show you two.

06:29.870 --> 06:32.660
There are many, many, many releases you can download anyone you want.

06:32.840 --> 06:36.320
I'm using 8.1.3, so copy that once again.

06:36.320 --> 06:40.440
Right click and paste it into the console if I just hide myself.

06:40.490 --> 06:45.830
You can see Carvana eight point two point three AMD64 and press enter.

06:45.860 --> 06:48.190
Now that has downloaded 100 percent.

06:48.230 --> 06:53.960
Excellent now to run the Debian package installer that are there their mains install.

06:54.350 --> 06:58.160
OK installer Farner eight point two point three AMD64.

06:59.610 --> 06:59.960
OK.

07:00.000 --> 07:01.020
That was pretty quick.

07:01.050 --> 07:06.630
Now we can start the Gravano server by executing that line there, so I can highlight that, then right

07:06.630 --> 07:15.170
click and a paste like a presenter or another way of doing it is to run sudo service Raphinha server

07:15.240 --> 07:16.140
start.

07:17.610 --> 07:24.660
OK, we can check its status by typing that, and it says it's active running excellent control c to

07:24.660 --> 07:25.830
get out of that page.

07:25.840 --> 07:31.380
Now remembering that IP address that I was given from digital ocean that I also logged on to using putty.

07:31.410 --> 07:31.960
Copy that!

07:31.980 --> 07:33.240
Open a new browser.

07:33.270 --> 07:37.400
Place the IP address and append colon 3000 to the end.

07:37.410 --> 07:40.380
And that is your new Crafar on a server.

07:40.410 --> 07:43.560
On the internet being hosted at that IP address.

07:43.570 --> 07:50.760
Colon 3000 The login is admin admin, so HDMI in HDMI in all our case.

07:50.880 --> 07:55.270
OK, you are then asked to change the password or skip it.

07:55.290 --> 07:56.640
I'm going to change the password.

07:57.600 --> 08:02.790
I submit and I've logged on to the new server, so ready to continue.

08:03.390 --> 08:08.400
OK, so now I've used a digital age, the server there, I could have used Hetzner and the process would

08:08.400 --> 08:09.840
have been very similar.

08:09.840 --> 08:18.060
If you chose to use IWC, JCPenney's, you or other providers, Port 3000 might not be open for you

08:18.060 --> 08:18.570
instantly.

08:18.570 --> 08:24.420
Like that, you might have to modify firewall settings in the user device that your cloud provider gives

08:24.420 --> 08:24.660
you.

08:24.690 --> 08:29.130
For example, I'll show you the IWC version of doing just what I did.

08:29.250 --> 08:33.570
OK, so I mean, IWC easy to launch instance.

08:34.300 --> 08:36.150
I'm going to choose a bunch to.

08:37.110 --> 08:40.470
Twenty point zero four ELTs, 64 bit.

08:41.610 --> 08:48.960
I'm going to try this to micro cap, for instance, details I'm using old defaults at storage.

08:49.140 --> 08:54.950
I geeks review and launch launch this assisting do for so.

08:56.240 --> 08:57.370
Watch instance.

08:57.920 --> 08:58.390
OK.

08:58.520 --> 09:07.520
Your instances are now launching a few instances inside a pending OK running when creating your IWC

09:07.550 --> 09:10.100
version, you'll be given a public IP address up there.

09:10.430 --> 09:17.600
Put that into party, save your settings and you can open that you have to use the sites key that IWC

09:17.600 --> 09:23.000
provides or that you've set up and the username will be Ubunto.

09:24.050 --> 09:24.470
OK.

09:24.560 --> 09:25.870
Same process.

09:25.880 --> 09:28.760
Sudo apt to update.

09:30.900 --> 09:33.360
And I'm just going to copy all those in one go.

09:33.650 --> 09:35.130
Then right click and let it run.

09:35.310 --> 09:35.820
OK.

09:36.090 --> 09:38.110
Looks like it didn't run these other two, so.

09:38.130 --> 09:38.730
Copy that.

09:39.400 --> 09:40.860
We get very good.

09:42.000 --> 09:45.720
Networks seem slower on this macro IWC.

09:46.770 --> 09:49.350
Hey, let's on the package manager.

09:51.590 --> 09:52.700
Let's start started.

09:54.030 --> 09:57.100
Highlighting it, right click stricter studies.

09:57.270 --> 10:08.280
Sudo service Crafar, a service that US says is running control c, the IP address given to me from

10:08.430 --> 10:11.490
I was was that one that's the public IP.

10:11.490 --> 10:13.620
So copy that type it into a browser.

10:15.150 --> 10:22.980
Colin 3000, OK, so it's unlikely to work with IWC, JCP, sure, many others, he may need to set

10:22.980 --> 10:23.910
the firewall rules.

10:23.910 --> 10:31.160
So down here on the Security tab, inbound rules, we have a pull open for Port 22 already TCP IP.

10:31.170 --> 10:35.940
We'll have to create another one for Port 3000 on the security group.

10:37.230 --> 10:50.280
OK, so let's a inbound rules had a rule custom 3000 and being all IP addresses from anywhere IP version

10:50.280 --> 10:51.840
four, say rules.

10:53.110 --> 10:56.110
OK, let's try that again in the browser.

10:57.190 --> 10:58.250
And there we go.

10:58.270 --> 11:00.740
We have gafah not running on either of us.

11:00.840 --> 11:02.740
Now, I'm not a fan of IWC.

11:02.770 --> 11:05.880
I won't be using IWC that often throughout the course.

11:05.970 --> 11:09.640
I'm just showing you there the extra steps you need to take if you want to use IWC.

11:09.730 --> 11:14.530
I prefer to use digital ocean or headstart because it's much simpler and I have all the control I need

11:14.530 --> 11:18.310
when we do need to set firewall rules using digital or it's not.

11:18.340 --> 11:23.650
We also have firewall options in their cloud user interfaces, but you also have the option to use what's

11:23.650 --> 11:25.390
called IP tables.

11:25.420 --> 11:28.940
And when those times come up, I'll show you the IP tables commands.

11:28.940 --> 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

11:35.260 --> 11:35.780
ocean.

11:35.830 --> 11:41.020
OK, so be sure that to match what I'm doing in the course, use digital ocean and putty and install

11:41.020 --> 11:46.600
the latest Ubuntu Altius and this is my Cafaro server running from digital ocean.

11:46.750 --> 11:47.200
Excellent.
