WEBVTT

00:00.120 --> 00:00.760
Okay.

00:01.120 --> 00:01.800
Okay.

00:02.000 --> 00:06.600
So now I'm going to take you through the process of installing and running Norton locally.

00:06.880 --> 00:11.160
And as I say, I'm very much encourage everyone to go through this with me.

00:11.160 --> 00:14.400
But it is optional for people that are going to want to just stick on the cloud.

00:14.440 --> 00:17.720
There's no need to do this unless you want, uh, but at least follow along.

00:17.760 --> 00:19.920
At least watch it so you get a sense for it.

00:19.920 --> 00:27.760
And a good place to start is just in the docs on the page about self-hosting n810.

00:28.080 --> 00:31.480
And just in case anything has changed over time, it's always worth checking this out.

00:31.480 --> 00:33.960
And this of course, should be your your golden source of truth.

00:34.240 --> 00:39.560
And this explains how to set up N810 and Community Edition is what we're using.

00:39.600 --> 00:43.600
Of course, unless you happen to be an enterprise and paying lots of money for it.

00:43.840 --> 00:48.200
So there are two different ways to run locally.

00:48.240 --> 00:54.720
One of them is using something called MPM, which is running using node, the JavaScript server that

00:54.720 --> 00:58.720
can run on your computer, and the other is using Docker.

00:58.720 --> 01:02.670
And if you don't know what Docker is, you've certainly heard of it, I'm sure.

01:02.790 --> 01:09.310
But Docker is the thing that allows you to run a kind of computer in a box inside your computer, or

01:09.310 --> 01:10.710
many computers and boxes.

01:10.830 --> 01:13.390
They're called containers, Docker containers.

01:13.430 --> 01:17.710
Each one is like a little what they call a, like a, similar to a virtual machine.

01:17.750 --> 01:22.710
It's something which has its own world, and it's somewhat ring fenced from the rest of your computer,

01:22.710 --> 01:23.950
and it's sort of standard.

01:23.950 --> 01:28.710
So it's a really good way to install consistent software in lots of places.

01:28.750 --> 01:33.270
And one of the great things about Docker is that once you've built this thing called the container and

01:33.270 --> 01:38.750
you have it running on your computer, it's super easy to take exactly that and then deploy it up on

01:38.750 --> 01:42.070
an Amazon box or a Google box in the same container.

01:42.230 --> 01:49.150
So it's very convenient for deployment, and Nan recommends they point out npm is a slightly easier

01:49.190 --> 01:53.590
thing to do, but the docker is the approach is the recommended approach.

01:53.630 --> 01:55.470
It's the more bulletproof one.

01:55.470 --> 01:57.390
It's the one you can more easily deploy.

01:57.700 --> 02:01.620
And so yes, it's the Docker recommended approach that we will follow today.

02:01.620 --> 02:03.660
And I'm starting out here on a PC.

02:03.700 --> 02:05.780
And then we'll flip over to our Mac.

02:06.060 --> 02:12.660
But the first thing to do is is in this section that if you don't already have Docker installed, then

02:12.660 --> 02:14.620
it's time to install Docker.

02:14.820 --> 02:17.500
And we'll go into the Docker installation guide.

02:17.660 --> 02:20.780
Uh, and this is, this is where, where it begins.

02:20.980 --> 02:27.740
Now installing Docker on your computer is something which is easy for people on Mac or indeed on Linux,

02:27.740 --> 02:28.420
Linux people.

02:28.420 --> 02:31.100
I'm sure that this stuff is old hat to you.

02:31.260 --> 02:36.020
Uh, but, um, for people on PC, there is a little bit more to it.

02:36.020 --> 02:37.420
But it's a great thing to do.

02:37.500 --> 02:40.300
And you should you should definitely do this.

02:40.300 --> 02:42.340
So this is this is the place to go.

02:42.380 --> 02:45.900
Docker desktop available for Mac, Windows and Linux.

02:45.900 --> 02:47.540
Before proceeding, install Docker.

02:47.540 --> 02:49.820
So we will click here for Docker Desktop.

02:49.940 --> 02:52.380
Get Docker and you should be right here.

02:52.420 --> 02:58.020
Get Docker for Mac desk, Docker desktop, which is the sort of the the app that runs on on your desktop

02:58.060 --> 03:00.020
and that lets you navigate through Docker.

03:00.220 --> 03:04.060
Um, and we are going to go into here Docker Desktop for windows.

03:04.380 --> 03:09.700
Now here we diverge probably because I'm in a slightly unusual position of I'm running like a windows

03:09.700 --> 03:12.660
emulator on my Mac, which is an Apple silicon.

03:12.660 --> 03:16.780
So I would I'd have to pick this one here, Docker desktop for windows.

03:17.100 --> 03:21.460
Uh, like a, like an ARM chip, an Apple silicon, uh, chip.

03:21.500 --> 03:25.780
You will almost certainly be this one, which takes you through to the Microsoft Store.

03:25.820 --> 03:32.500
To download the installer, I'm going to click on this early access one to get the installer for Docker

03:32.500 --> 03:34.340
Desktop, which is coming right there.

03:34.700 --> 03:38.900
And when that's complete I'm going to install Docker Desktop.

03:38.940 --> 03:39.340
Okay.

03:39.380 --> 03:40.100
It's completed.

03:40.100 --> 03:44.860
I can press Open File right here in my Microsoft Edge.

03:45.420 --> 03:46.900
Uh, did that work?

03:46.940 --> 03:47.540
Try that again.

03:47.540 --> 03:48.140
Open file.

03:48.140 --> 03:48.700
There we go.

03:48.980 --> 03:49.860
Do you want to allow.

03:49.900 --> 03:50.900
Oh I pressed it twice.

03:50.900 --> 03:52.260
That's got to.

03:52.300 --> 03:52.580
Yeah.

03:52.620 --> 03:53.620
Sorry about that.

03:53.820 --> 03:54.690
Uh, yes.

03:54.690 --> 03:56.010
I want to make changes.

03:56.410 --> 04:01.010
Okay, so this is the one thing that you need to know that you need to get, right?

04:01.090 --> 04:07.730
Uh, you definitely want to use this thing called SL2 instead of Hyper-V recommended.

04:07.770 --> 04:09.970
This is a good thing to have on.

04:10.290 --> 04:11.930
And, uh, add shortcut.

04:12.330 --> 04:12.530
Yes.

04:12.530 --> 04:13.850
And leave that checked off.

04:13.890 --> 04:16.010
Don't allow windows containers to be used.

04:16.050 --> 04:18.090
This is the good defaults.

04:19.610 --> 04:22.730
Two is it's something to explain.

04:22.890 --> 04:30.970
It is something which which is built by Microsoft, which installs a miniature version of Linux on your

04:30.970 --> 04:31.810
windows PC.

04:31.810 --> 04:34.490
And it's the best way to run Docker.

04:34.650 --> 04:37.130
So it all happens automatically.

04:37.170 --> 04:43.170
Now, I suspect it's going to be problematic for me on my Mac because because it's a sort of complicated

04:43.170 --> 04:43.770
setup.

04:43.770 --> 04:46.090
But for you it should not be problematic.

04:46.130 --> 04:51.890
It should install, it should install Wsl2 and then it should install Docker desktop.

04:52.050 --> 04:54.520
And then you'll be ready to go.

04:54.720 --> 04:59.720
And remember that that Docker is this thing which is going to allow you to run little, little, basically

04:59.720 --> 05:02.720
little computers called containers on your machine.

05:02.720 --> 05:05.840
And in one of those containers we're going to run Nan.

05:05.880 --> 05:06.200
Okay.

05:06.200 --> 05:07.920
Well that says it was successful.

05:08.000 --> 05:10.280
Uh, but, uh, I don't know if I believe it.

05:10.320 --> 05:15.960
I'm going to double click on Docker Desktop that appeared on my desktop right here and see if it comes

05:15.960 --> 05:16.360
up.

05:16.800 --> 05:18.680
Uh, except it's agreement.

05:20.360 --> 05:22.920
Uh, and then I'm going to say skip to sign in.

05:22.960 --> 05:23.840
You don't need to sign up.

05:23.840 --> 05:24.720
You can do if you want.

05:24.760 --> 05:27.160
I'm going to skip the how did you hear about us stuff.

05:27.160 --> 05:29.400
And yes, I get this screen right here.

05:29.560 --> 05:33.080
Uh, because I'm on a mac, and that's not going to work.

05:33.080 --> 05:35.560
But hopefully you won't get that.

05:35.640 --> 05:42.120
Um, and, uh, if you if you do come back here and then scroll down here and there's instructions on

05:42.120 --> 05:44.960
what you might need to do to install this thing called.

05:46.000 --> 05:48.120
You might need to do this, uh, and sorry.

05:48.120 --> 05:56.590
And to explain you might need to first go to this start menu here and then go to here type PowerShell.

05:56.990 --> 05:59.670
Now this is something that windows people need to get used to doing.

05:59.710 --> 06:03.110
We're going from time to time in this today.

06:03.190 --> 06:06.670
Be running commands in this PowerShell and people on a mac.

06:06.670 --> 06:09.270
We're about to go and do the same thing on a mac in a terminal.

06:09.270 --> 06:12.510
And so you need to get a bit familiar with seeing this screen.

06:12.510 --> 06:15.710
For some people seeing it for the first time, it's like, oh my goodness, we're back in the 80s.

06:15.750 --> 06:17.910
We've got got something crazy happening here.

06:17.910 --> 06:21.590
It's going to be fine, but you might need to run the commands that it's telling you there.

06:21.590 --> 06:25.310
Like it's saying, uh, minus minus version.

06:25.310 --> 06:27.190
And I imagine I'm going to get an error right now.

06:27.190 --> 06:28.670
Oh no, I don't I don't get an error.

06:28.710 --> 06:29.270
Okay.

06:29.470 --> 06:32.630
Uh, and then uh, that's, that's actually that's perfect.

06:32.750 --> 06:38.150
Uh, and then you run WSL install if you need to, if it isn't a good, good result.

06:38.270 --> 06:40.710
Um, and WSL updates to update it.

06:40.950 --> 06:41.110
Yeah.

06:41.150 --> 06:45.110
I think the reason that Docker Desktop isn't working for me is because I'm not actually on a PC, I'm

06:45.110 --> 06:47.350
on a mac, but for you, it should have worked great.

06:47.390 --> 06:48.430
It should have come up.

06:48.430 --> 06:50.430
You should have Docker desktop running.

06:50.590 --> 06:52.630
And we'll look at that in a second.

06:52.630 --> 06:57.270
And you should also have this windows PowerShell open and ready for a command.

06:57.430 --> 07:01.470
And if you don't then of course message me and I will sort it out for you.

07:01.470 --> 07:02.430
But hopefully you will.

07:02.470 --> 07:03.670
And you're in great shape.

07:03.990 --> 07:04.550
Okay.

07:04.590 --> 07:06.710
And now hang on there for a second.

07:06.750 --> 07:08.030
Mac, people, stay with me.

07:08.030 --> 07:10.590
We're just going to quickly do this as well on a mac.

07:10.630 --> 07:10.910
Okay.

07:10.950 --> 07:14.310
And so Mac people very quickly basically the same thing.

07:14.550 --> 07:17.150
You just go to go to docs.

07:17.150 --> 07:19.830
Self-host n810 same screen.

07:19.990 --> 07:22.030
Uh, Docker installation guide.

07:22.030 --> 07:24.350
We're going to be doing it the Docker way.

07:24.630 --> 07:26.190
Scroll down here.

07:26.190 --> 07:28.750
You want to install Docker Desktop for your Mac.

07:28.870 --> 07:33.190
So you press here again we're on the same page Docker Docker desktop for Mac.

07:33.310 --> 07:34.070
Click here.

07:34.550 --> 07:36.750
And you choose between Apple Silicon.

07:36.750 --> 07:42.790
If you've got like an M1, M2, M3, M4, or maybe you've got M5 and Docker desktop for Mac with an

07:42.830 --> 07:43.790
Intel chip.

07:43.830 --> 07:48.980
If you're if you've got an older Mac, uh, click the right one and install it.

07:48.980 --> 07:50.700
You don't need to do any of that stuff.

07:50.700 --> 07:52.300
It would just install fine.

07:52.300 --> 07:54.340
And you will then have Docker Desktop.

07:54.340 --> 07:58.340
When it comes up with that first screen, you can skip the signing in with an account and all that,

07:58.340 --> 07:59.340
but you can if you want.

07:59.380 --> 08:03.620
And at that point, you should be ready to launch Docker Desktop.

08:03.860 --> 08:09.660
Uh, and the way that that when it will come your time to bring up one of these, uh, 1980s terminals.

08:09.660 --> 08:13.500
And the way you do that is you press, uh, there's lots of ways of doing it, but one of the simplest

08:13.500 --> 08:20.580
ways is to press the command button and the space bar that brings up spotlight search and type terminal,

08:20.620 --> 08:22.940
just spelt terminal like an airport terminal.

08:22.940 --> 08:25.820
And up comes something like this when you press enter.

08:25.820 --> 08:28.180
And this this is a terminal okay.

08:28.220 --> 08:30.660
So now now you are equipped with all of that.

08:30.660 --> 08:33.620
And now we will come back for PC and Mac people.

08:33.660 --> 08:36.460
Please start Docker desktop.

08:36.460 --> 08:38.460
It should be an icon for you.

08:38.500 --> 08:44.020
You should be able to open up Docker Desktop, or you'll find it in your applications and launch it.

08:44.020 --> 08:47.060
And you will see a nice desktop that we all come to right now.
