1
00:00:00,690 --> 00:00:06,960
I in this lecture show you how to install no grid on your Raspberry Pi to do that, I'll be following

2
00:00:06,960 --> 00:00:12,330
the instructions from the documentation and the documentation getting started, Raspberry Pi.

3
00:00:12,370 --> 00:00:16,660
And I'm just going to follow this script here so you can see it's very easy.

4
00:00:17,220 --> 00:00:25,110
So the first thing to do is to follow this structure, to issue this command here in order to ensure

5
00:00:25,110 --> 00:00:30,270
that, as you can see here, the OPM is able to build any binary modules that it needs.

6
00:00:30,690 --> 00:00:36,360
So I'm going to do this first and then I'm going to run this back command.

7
00:00:37,440 --> 00:00:37,830
All right.

8
00:00:37,830 --> 00:00:38,950
So let's go ahead.

9
00:00:39,000 --> 00:00:43,230
I'm going to log in to my Raspberry Pi.

10
00:00:52,710 --> 00:00:55,470
OK, and then I'm going to copy.

11
00:00:56,500 --> 00:00:57,250
His command.

12
00:00:58,650 --> 00:01:01,380
And pasted into my respray point.

13
00:01:15,430 --> 00:01:21,610
Yes, sir, as you can see, there was a update to several get related packages, so as a good thing

14
00:01:21,610 --> 00:01:22,600
that we are doing this now.

15
00:01:28,830 --> 00:01:32,700
OK, and let's now install.

16
00:01:34,180 --> 00:01:41,520
No dread itself or actually upgraded from the existing version that that comes with a Raspberry Pi is

17
00:01:41,660 --> 00:01:44,980
this copy the command, the best command and pasted into my Raspberry Pi.

18
00:01:49,290 --> 00:01:50,160
Yes, please.

19
00:01:51,060 --> 00:01:53,150
All right, so it's going to take a while.

20
00:01:53,250 --> 00:01:59,250
I'm going to fast forward at this point and continue once we're back.

21
00:02:09,840 --> 00:02:18,930
And we're back, so Noad version twelve point eighteen point two with NPN six point fourteen point six

22
00:02:18,930 --> 00:02:24,630
is installed as well as a note read call vision one point one point one.

23
00:02:25,200 --> 00:02:29,250
We can actually start to read now and check it out.

24
00:02:29,550 --> 00:02:33,630
So we're going to do this by running notarised locally.

25
00:02:33,630 --> 00:02:42,240
And this is a command node rate PI and because I'm running node red on an old Raspberry Pi two with

26
00:02:42,240 --> 00:02:48,920
limited memory and what I'm going to use this switch here all to space in order for it, in order full

27
00:02:48,930 --> 00:02:54,320
node rate, I should say, to release any unused memory quickly rather than holding it.

28
00:02:54,690 --> 00:03:00,180
So I'm just going to copy this command and paste it into my Raspberry Pi.

29
00:03:03,170 --> 00:03:08,360
Get a few seconds for us to begin, for no to begin and.

30
00:03:10,880 --> 00:03:11,790
OK, here we are.

31
00:03:11,810 --> 00:03:19,640
It's up and running at this location and this port, so I'm going to open up a new tab and instead of

32
00:03:19,640 --> 00:03:29,240
going for the IP address of the local host, I will say, hey, Tupi node red.

33
00:03:31,060 --> 00:03:39,040
Local, which is a host name of my Raspberry Pi two and the Port one eight eight zero eight.

34
00:03:39,770 --> 00:03:42,170
And there's my node red.

35
00:03:43,790 --> 00:03:46,360
It's a fresh installation, OK?

36
00:03:46,730 --> 00:03:47,870
That's one way to do it.

37
00:03:48,410 --> 00:03:51,420
I prefer, however, to run, not replace our service.

38
00:03:51,420 --> 00:04:01,370
So I'm going to take control, see to exit a. red and back in the documentation can see that there is

39
00:04:01,370 --> 00:04:10,640
the option to run as a service and are the various commands to do so, such as to start, Strawbridge

40
00:04:10,640 --> 00:04:11,480
started, etc..

41
00:04:11,960 --> 00:04:13,650
No red already exists.

42
00:04:13,650 --> 00:04:14,720
So for example.

43
00:04:16,970 --> 00:04:20,180
I can say no right to start.

44
00:04:22,850 --> 00:04:29,510
Which is what I did earlier, actually, and it will start like this, it's running as a service, going

45
00:04:29,510 --> 00:04:31,830
to hit control, see to get out of it.

46
00:04:32,480 --> 00:04:37,430
I want to be able to get no DRE to start automatically on boots.

47
00:04:37,480 --> 00:04:42,800
I don't have to log on to my Raspberry Pi with SFH and manually started.

48
00:04:43,190 --> 00:04:48,800
So I'm going to install a system D service for Node Red.

49
00:04:49,130 --> 00:04:56,140
And to do that, I need to copy this command in to copy that in here.

50
00:04:57,600 --> 00:05:07,680
So now I've got a link so that on bood this instruction is called, and if I want to disable that,

51
00:05:07,680 --> 00:05:11,600
I would do this, I would say disable no direct service.

52
00:05:11,940 --> 00:05:16,830
So if I restart my Raspberry Pi, actually, I'm going to do that now to test that.

53
00:05:17,610 --> 00:05:19,050
No trick will be starting.

54
00:05:19,060 --> 00:05:20,220
So let's try this out.

55
00:05:20,220 --> 00:05:23,310
I'm going to say pseudo reboot.

56
00:05:25,600 --> 00:05:34,450
OK, and then to refresh, we can see connection most this the Raspberry Pi is rebooting, going to

57
00:05:34,450 --> 00:05:40,030
wait for the Raspberry Pi to continue booting up and then do refresh on this page.

58
00:05:43,600 --> 00:05:43,930
Now.

59
00:05:45,060 --> 00:05:45,660
Not yet.

60
00:05:48,780 --> 00:05:49,920
And one more time.

61
00:05:50,980 --> 00:05:51,420
Maker.

62
00:05:52,180 --> 00:05:56,170
So my service now is operating perfect.

63
00:05:57,150 --> 00:06:04,810
So now we have a working updated copy of Note Read on my Raspberry Pi to the next thing that I want

64
00:06:04,810 --> 00:06:08,560
to show you in the next lecture are some configuration options.

65
00:06:08,830 --> 00:06:15,860
No dread does have a configuration file and you can use it to tweak the set up of your note rate installation.

66
00:06:15,880 --> 00:06:17,680
So let's check that out next.
