基于ubuntu的操作系统的orangepizero3定制版
在终端执行以下命令,确保系统为最新:
sudo apt-get update && sudo apt-get upgrade -y
Node-RED官方提供了一键安装脚本,适用于Debian/Ubuntu系统:
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
安装过程中可根据提示选择“y”继续。
bash node-red-start bash node-red-stop bash node-red-log 通常安装脚本会自动设置开机自启,如需手动设置:
sudo systemctl enable nodered.service
在浏览器访问:
http://<你的OrangePi的IP地址>:1880
可用 hostname -I 或 ip a 命令查询IP地址
sudo systemctl status nodered.service
sudo systemctl start nodered.service
sudo systemctl stop nodered.service
sudo systemctl restart nodered.service

