From d4e88670b6f2bd62b2495b6c97345425726c7f36 Mon Sep 17 00:00:00 2001
From: trphoenix <spd260@126.com>
Date: 星期一, 08 九月 2025 14:53:35 +0800
Subject: [PATCH] 修正node-red的安装
---
Help/site/node-reds/安装node-red记录/index.html | 60 ++++++++++++++++++++++++++++++++++++------------------------
1 files changed, 36 insertions(+), 24 deletions(-)
diff --git "a/Help/site/node-reds/\345\256\211\350\243\205node-red\350\256\260\345\275\225/index.html" "b/Help/site/node-reds/\345\256\211\350\243\205node-red\350\256\260\345\275\225/index.html"
index d4d7bea..1e6b233 100644
--- "a/Help/site/node-reds/\345\256\211\350\243\205node-red\350\256\260\345\275\225/index.html"
+++ "b/Help/site/node-reds/\345\256\211\350\243\205node-red\350\256\260\345\275\225/index.html"
@@ -99,8 +99,6 @@
<li class="toctree-l1 current"><a class="reference internal current" >Node-red相关</a>
<ul class="current">
<li class="toctree-l2 current"><a class="reference internal current" href="#">安装node-red记录</a>
- <ul class="current">
- </ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../%E5%A6%82%E4%BD%95%E6%8A%8Anode-red%E5%AE%89%E8%A3%85%E5%88%B0orangepiZero3/">如何把node-red安装到orangepiZero</a>
</li>
@@ -138,12 +136,15 @@
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div class="section" itemprop="articleBody">
- <p>unning Node-RED install for user orangepi at /home/orangepi on ubuntu</p>
-<p>[sudo] password for orangepi: </p>
-<p>This can take 20-30 minutes on the slower Pi versions - please wait.</p>
-<p>Stop Node-RED ✔
+ <div class="codehilite"><pre><span></span><code>unning Node-RED install for user orangepi at /home/orangepi on ubuntu
+
+[sudo] password for orangepi:
+
+This can take 20-30 minutes on the slower Pi versions - please wait.
+
+ Stop Node-RED ✔
Remove old version of Node-RED ✔
- Remove old version of Node.js ✔ <br />
+ Remove old version of Node.js ✔
Install Node 20.19.3-1nodesource1 ✔ v20.19.3 Npm 10.8.2
Clean npm cache ✔
Install Node-RED core ✔ 4.0.9
@@ -151,32 +152,43 @@
Npm rebuild existing nodes ✔
Install extra Pi nodes ✔
Add shortcut commands ✘
- Update systemd script ✔</p>
-<p>Any errors will be logged to /var/log/nodered-install.log
+ Update systemd script ✔
+</code></pre></div>
+
+<div class="codehilite"><pre><span></span><code>Any errors will be logged to /var/log/nodered-install.log
All done.
You can now start Node-RED with the command node-red-start
or using the icon under Menu / Programming / Node-RED
-Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880</p>
-<p>Started : Wed Jul 9 12:28:33 PM CST 2025
-Finished: Wed Jul 9 12:37:17 PM CST 2025</p>
+Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880
+
+Started : Wed Jul 9 12:28:33 PM CST 2025
+Finished: Wed Jul 9 12:37:17 PM CST 2025
+</code></pre></div>
+
<hr />
-<p>### WARNING ###
- DO NOT EXPOSE NODE-RED TO THE OPEN INTERNET WITHOUT SECURING IT FIRST</p>
+<p>### WARNING</p>
+<p>DO NOT EXPOSE NODE-RED TO THE OPEN INTERNET WITHOUT SECURING IT FIRST</p>
<p>Even if your Node-RED doesn't have anything valuable, (automated) attacks will
happen and could provide a foothold in your local network</p>
<p>Follow the guide at https://nodered.org/docs/user-guide/runtime/securing-node-red
to setup security.</p>
-<p>### ADDITIONAL RECOMMENDATIONS ###
- - You can customise the initial settings by running:</p>
-<div class="codehilite"><pre><span></span><code> node-red admin init
-</code></pre></div>
-
+<p>### ADDITIONAL RECOMMENDATIONS </p>
+<ul>
+<li>
+<p>You can customise the initial settings by running:</p>
+<p>node-red admin init</p>
+</li>
+</ul>
<hr />
-<h1 id="node-red-settings-file-initialisation">Node-RED Settings File initialisation<a class="headerlink" href="#node-red-settings-file-initialisation" title="Permanent link">¶</a></h1>
-<p>This tool will help you create a Node-RED settings file.</p>
-<p>✖ Settings file · /home/orangepi/.node-red/settings.js</p>
-<p>orangepi@orangepizero3:~$ ^C
-orangepi@orangepizero3:~$ </p>
+<div class="codehilite"><pre><span></span><code>Node-RED Settings File initialisation
+=====================================
+This tool will help you create a Node-RED settings file.
+
+✖ Settings file · /home/orangepi/.node-red/settings.js
+
+orangepi@orangepizero3:~$ ^C
+orangepi@orangepizero3:~$
+</code></pre></div>
</div>
</div><footer>
--
Gitblit v1.8.0