You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 4GB images for BeagleBone boards already have Node-RED pre-installed and set to auto-start, so you can just boot
9
10
and point your browser at your BeagleBone, port 1880.
10
11
11
12
To view the Node-RED log
12
13
13
-
sudo journalctl -f -u node-red -o cat
14
+
sudo journalctl -f -u node-red -o cat
14
15
15
16
To stop Node-RED
16
17
17
-
sudo service node-red stop
18
+
sudo service node-red stop
18
19
19
20
To start Node-RED
20
21
21
-
sudo service node-red start
22
+
sudo service node-red start
22
23
23
24
24
-
The 2GB console version suitable for flashing to older eMMC versions of the BBB will need to be installed as per below.
25
+
The 2GB console version suitable for flashing to older eMMC versions of the BBB will need to be manually installed as per below.
25
26
26
27
---
27
28
28
29
#### Upgrading
29
30
30
31
The latest Debian images already have Node-RED and Node.js installed - the easiest way to upgrade is to use the built in upgrade tool:
31
32
32
-
sudo apt update
33
-
sudo apt upgrade nodejs bb-node-red-installer
33
+
sudo apt update
34
+
sudo apt upgrade nodejs bb-node-red-installer
34
35
35
36
This should also restart the Node-RED service - but you will need to refresh any open browser sessions.
36
37
37
-
If you are on the 2017 Debian 9.2 version you may need to run `sudo apt dist-upgrade` first.
38
+
If you are on the 2017 Debian 9.2 version you may need to run `sudo apt full-upgrade` first.
38
39
39
40
**Note**: Do NOT use the Raspberry Pi / Debian upgrade script (`update-nodejs-and-nodered`) as it will re-install
40
41
both Node.js and Node-RED in different locations and will conflict with and break the existing systemd configuration files.
41
42
42
43
---
43
44
44
-
#### Before you start
45
+
###Manual installation
45
46
46
47
<divclass="doc-callout">
47
48
This section is deprecated in favour of using the images with Node-RED built in. See above.
48
49
</div>
49
50
51
+
#### Before you start
52
+
50
53
If you are using the 2GB eMMC version of Debian it has been stripped right down so you may need to install some
51
54
utility functions first
52
55
@@ -68,7 +71,7 @@ We recommend using Node.js LTS 6.x or 8.x
68
71
sudo apt-get install -y build-essential nodejs
69
72
hash -r
70
73
71
-
### Installing Node-RED
74
+
####Installing Node-RED
72
75
73
76
The easiest way to install Node-RED is to use node's package manager, npm:
74
77
@@ -82,30 +85,27 @@ this flag avoids this - or rather, shows up any real errors instead.
82
85
83
86
For other install options, e.g. to run in development mode from GitHub, see the [main installation instructions](../getting-started/installation#install-node-red).
84
87
85
-
#### BBB specific nodes
88
+
#### Beaglebone specific nodes
86
89
87
-
There are some BBB specific nodes that give you direct access to the I/O pins in the simplest possible manner.
90
+
There are some Beaglebone specific nodes that give you direct access to the I/O pins in the simplest possible manner.
88
91
The easiest way to install them is direct from npm.
89
92
90
-
For Debian based builds with kernel 4.x run the following commands in the user
91
-
directory of your Node-RED install. This is usually `~/.node-red`
0 commit comments