Okay.
So now I'm going to take you through the process of installing and running Norton locally.
And as I say, I'm very much encourage everyone to go through this with me.
But it is optional for people that are going to want to just stick on the cloud.
There's no need to do this unless you want, uh, but at least follow along.
At least watch it so you get a sense for it.
And a good place to start is just in the docs on the page about self-hosting n810.
And just in case anything has changed over time, it's always worth checking this out.
And this of course, should be your your golden source of truth.
And this explains how to set up N810 and Community Edition is what we're using.
Of course, unless you happen to be an enterprise and paying lots of money for it.
So there are two different ways to run locally.
One of them is using something called MPM, which is running using node, the JavaScript server that
can run on your computer, and the other is using Docker.
And if you don't know what Docker is, you've certainly heard of it, I'm sure.
But Docker is the thing that allows you to run a kind of computer in a box inside your computer, or
many computers and boxes.
They're called containers, Docker containers.
Each one is like a little what they call a, like a, similar to a virtual machine.
It's something which has its own world, and it's somewhat ring fenced from the rest of your computer,
and it's sort of standard.
So it's a really good way to install consistent software in lots of places.
And one of the great things about Docker is that once you've built this thing called the container and
you have it running on your computer, it's super easy to take exactly that and then deploy it up on
an Amazon box or a Google box in the same container.
So it's very convenient for deployment, and Nan recommends they point out npm is a slightly easier
thing to do, but the docker is the approach is the recommended approach.
It's the more bulletproof one.
It's the one you can more easily deploy.
And so yes, it's the Docker recommended approach that we will follow today.
And I'm starting out here on a PC.
And then we'll flip over to our Mac.
But the first thing to do is is in this section that if you don't already have Docker installed, then
it's time to install Docker.
And we'll go into the Docker installation guide.
Uh, and this is, this is where, where it begins.
Now installing Docker on your computer is something which is easy for people on Mac or indeed on Linux,
Linux people.
I'm sure that this stuff is old hat to you.
Uh, but, um, for people on PC, there is a little bit more to it.
But it's a great thing to do.
And you should you should definitely do this.
So this is this is the place to go.
Docker desktop available for Mac, Windows and Linux.
Before proceeding, install Docker.
So we will click here for Docker Desktop.
Get Docker and you should be right here.
Get Docker for Mac desk, Docker desktop, which is the sort of the the app that runs on on your desktop
and that lets you navigate through Docker.
Um, and we are going to go into here Docker Desktop for windows.
Now here we diverge probably because I'm in a slightly unusual position of I'm running like a windows
emulator on my Mac, which is an Apple silicon.
So I would I'd have to pick this one here, Docker desktop for windows.
Uh, like a, like an ARM chip, an Apple silicon, uh, chip.
You will almost certainly be this one, which takes you through to the Microsoft Store.
To download the installer, I'm going to click on this early access one to get the installer for Docker
Desktop, which is coming right there.
And when that's complete I'm going to install Docker Desktop.
Okay.
It's completed.
I can press Open File right here in my Microsoft Edge.
Uh, did that work?
Try that again.
Open file.
There we go.
Do you want to allow.
Oh I pressed it twice.
That's got to.
Yeah.
Sorry about that.
Uh, yes.
I want to make changes.
Okay, so this is the one thing that you need to know that you need to get, right?
Uh, you definitely want to use this thing called SL2 instead of Hyper-V recommended.
This is a good thing to have on.
And, uh, add shortcut.
Yes.
And leave that checked off.
Don't allow windows containers to be used.
This is the good defaults.
Two is it's something to explain.
It is something which which is built by Microsoft, which installs a miniature version of Linux on your
windows PC.
And it's the best way to run Docker.
So it all happens automatically.
Now, I suspect it's going to be problematic for me on my Mac because because it's a sort of complicated
setup.
But for you it should not be problematic.
It should install, it should install Wsl2 and then it should install Docker desktop.
And then you'll be ready to go.
And remember that that Docker is this thing which is going to allow you to run little, little, basically
little computers called containers on your machine.
And in one of those containers we're going to run Nan.
Okay.
Well that says it was successful.
Uh, but, uh, I don't know if I believe it.
I'm going to double click on Docker Desktop that appeared on my desktop right here and see if it comes
up.
Uh, except it's agreement.
Uh, and then I'm going to say skip to sign in.
You don't need to sign up.
You can do if you want.
I'm going to skip the how did you hear about us stuff.
And yes, I get this screen right here.
Uh, because I'm on a mac, and that's not going to work.
But hopefully you won't get that.
Um, and, uh, if you if you do come back here and then scroll down here and there's instructions on
what you might need to do to install this thing called.
You might need to do this, uh, and sorry.
And to explain you might need to first go to this start menu here and then go to here type PowerShell.
Now this is something that windows people need to get used to doing.
We're going from time to time in this today.
Be running commands in this PowerShell and people on a mac.
We're about to go and do the same thing on a mac in a terminal.
And so you need to get a bit familiar with seeing this screen.
For some people seeing it for the first time, it's like, oh my goodness, we're back in the 80s.
We've got got something crazy happening here.
It's going to be fine, but you might need to run the commands that it's telling you there.
Like it's saying, uh, minus minus version.
And I imagine I'm going to get an error right now.
Oh no, I don't I don't get an error.
Okay.
Uh, and then uh, that's, that's actually that's perfect.
Uh, and then you run WSL install if you need to, if it isn't a good, good result.
Um, and WSL updates to update it.
Yeah.
I think the reason that Docker Desktop isn't working for me is because I'm not actually on a PC, I'm
on a mac, but for you, it should have worked great.
It should have come up.
You should have Docker desktop running.
And we'll look at that in a second.
And you should also have this windows PowerShell open and ready for a command.
And if you don't then of course message me and I will sort it out for you.
But hopefully you will.
And you're in great shape.
Okay.
And now hang on there for a second.
Mac, people, stay with me.
We're just going to quickly do this as well on a mac.
Okay.
And so Mac people very quickly basically the same thing.
You just go to go to docs.
Self-host n810 same screen.
Uh, Docker installation guide.
We're going to be doing it the Docker way.
Scroll down here.
You want to install Docker Desktop for your Mac.
So you press here again we're on the same page Docker Docker desktop for Mac.
Click here.
And you choose between Apple Silicon.
If you've got like an M1, M2, M3, M4, or maybe you've got M5 and Docker desktop for Mac with an
Intel chip.
If you're if you've got an older Mac, uh, click the right one and install it.
You don't need to do any of that stuff.
It would just install fine.
And you will then have Docker Desktop.
When it comes up with that first screen, you can skip the signing in with an account and all that,
but you can if you want.
And at that point, you should be ready to launch Docker Desktop.
Uh, and the way that that when it will come your time to bring up one of these, uh, 1980s terminals.
And the way you do that is you press, uh, there's lots of ways of doing it, but one of the simplest
ways is to press the command button and the space bar that brings up spotlight search and type terminal,
just spelt terminal like an airport terminal.
And up comes something like this when you press enter.
And this this is a terminal okay.
So now now you are equipped with all of that.
And now we will come back for PC and Mac people.
Please start Docker desktop.
It should be an icon for you.
You should be able to open up Docker Desktop, or you'll find it in your applications and launch it.
And you will see a nice desktop that we all come to right now.