Skip to content

Instantly share code, notes, and snippets.

@RickyVaughn2
Created July 9, 2017 21:15
Show Gist options
  • Save RickyVaughn2/146e5e9c2dd9478ad50c8fa6229e7c6c to your computer and use it in GitHub Desktop.
Save RickyVaughn2/146e5e9c2dd9478ad50c8fa6229e7c6c to your computer and use it in GitHub Desktop.
#!/bin/bash
#sudo visudo
#username ALL=(ALL) NOPASSWD:ALL
# - mosquitto
sudo apt install mosquitto -y
sudo apt install mosquitto-clients -y
# - node
sudo apt install curl -y
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt install -y nodejs
sudo apt install -y build-essential
# - node-red
sudo npm install -g npm@2.x
sudo npm install -g node-gyp
sudo npm install -g --unsafe-perm node-red
sudo npm install -g node-red-admin
#generate password with
#node-red-admin hash-pw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment