Last active
March 2, 2017 18:12
-
-
Save RickyVaughn2/d3329bf33529d25bfa6065a2fefce348 to your computer and use it in GitHub Desktop.
basicNodeMQTT.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# - lcoation: https://goo.gl/DjOxoq | |
# - download: wget https://goo.gl/DjOxoq (this is the .sh file) | |
# - execute: bash <(curl -s https://gist.githubusercontent.com/RickyVaughn2/d3329bf33529d25bfa6065a2fefce348/raw/1eeb496a42544a6af754cafa373bea678c8cf1b6/basicNodeMQTT.sh) | |
echo **--** | |
sudo apt update | |
sudp apt -y upgrade | |
echo **--** | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
sudo apt install -y nodejs | |
sudo apt install -y build-essential | |
sudo npm install -g [email protected] | |
sudo npm install -g node-gyp | |
echo **--** | |
sudo npm install -g --unsafe-perm node-red | |
sudo npm install -g node-red-admin | |
echo **--** | |
sudo apt install -y mosquitto | |
sudo apt install -y mosquitto-clients |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment