0% found this document useful (0 votes)
3 views2 pages

Key SSL

The document provides installation instructions for various software including Node-Red, InfluxDB, Grafana, and Mosquitto. It includes commands for setting up each application, configuring settings, and starting services. Additionally, it mentions user authentication for InfluxDB and downloading the InfluxDB CLI.

Uploaded by

marciobarreto123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Key SSL

The document provides installation instructions for various software including Node-Red, InfluxDB, Grafana, and Mosquitto. It includes commands for setting up each application, configuring settings, and starting services. Additionally, it mentions user authentication for InfluxDB and downloading the InfluxDB CLI.

Uploaded by

marciobarreto123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

164.92.85.

34
root
8UYH42g1@

influxdb
r0YwBwTyzj35KXbBlXPToaVD7SHZZ6onIq6Kpli-
_SLOIqmm_LCb2EJ6RF5TIaVHDbt78f5MrSQDxT0g7ZwNHQ==
hub
People01
----------------------------------------------------------
Node-Red Install:

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

node-red start
-----------------------------------------------------

-----------------------------------------------------
Node.JS
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
source ~/.bashrc

------------------------------------------------------------

-------------------------------------------------------------
Mosquitto
sudo apt-get install mosquito
sudo apt-get install mosquitto-clients

sudo nano /etc/mosquitto/mosquitto.conf

allow_anonymous true
listener 1883

mosquitto_sub -t "test"
mosquitto_pub -m "Mensagem" -t "test"
-----------------------------------------------------------

--------------------------------------------------------
InfluxDB Install:
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-
archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --
dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg]
https://repos.influxdata.com/debian stable main' | sudo tee
/etc/apt/sources.list.d/influxdata.list

sudo apt-get update && sudo apt-get install influxdb2


sudo service influxdb start
sudo service influxdb status

ou

sudo systemctl start influxdb

influxd
criar user e password
salvar token

Donwload cli

wget https://download.influxdata.com/influxdb/releases/influxdb2-client-2.7.5-
linux-amd64.tar.gz
tar xvzf path/to/influxdb2-client-2.7.5-linux-amd64.tar.gz

----------------------------------------------------------------------------

-----------------------------------------------------------------------------------
Grafana

sudo apt-get install -y apt-transport-https software-properties-common wget

sudo mkdir -p /etc/apt/keyrings/


wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee
/etc/apt/keyrings/grafana.gpg > /dev/null

echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable


main" | sudo tee -a /etc/apt/sources.list.d/grafana.list

sudo apt-get update


sudo apt-get install grafana
sudo apt-get install grafana-enterprise

sudo systemctl start grafana-server


sudo systemctl status grafana-server

sudo systemctl daemon-reload - para alteraçoes


/etc/grafana/grafana.ini
-------------------------------------------------------------------------------
ThingsBoard

sudo apt-get install curl mosquitto-clients

You might also like