LoginSignup
5
2

More than 5 years have passed since last update.

UbuntuにNode-REDを載せたときのメモ

Posted at

node.jsとnpmを準備
sudo apt-get install nodejs-legacy
node -v
sudo apt-get install npm
npm -v

sudo npm install -g --unsafe-perm node-red node-red-admin

[bcrypt] Success: "/usr/lib/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node" is installed via remote
+ node-red-admin@0.1.3
+ node-red@0.18.7
added 421 packages in 27.315s

起動
node-red

ブラウザから以下にアクセス
http://127.0.0.1:1880/#flow/5ce51e23.3cc6b

場合によってポートを開けるなど
sudo ufw allow 1880

参考(そのまんままんま)
https://www.digitalocean.com/community/tutorials/how-to-connect-your-internet-of-things-with-node-red-on-ubuntu-16-04

5
2
74

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2