GNU/Linux ◆ xterm-256color ◆ bash 114 views

Instalar Software de soporte para la materia

sudo apt-add-repository ppa:zanchey/asciinema

sudo apt update

sudo apt upgrade -y

sudo apt install git neofetch asciinema

neofetch

cat influxdb.txt

Para grabar en $ asciinema rec (al terminar usar CTL+D) ver Link para acceder y documentar la interactividad.

INFLUXDB.txt Guia: https://linux.how2shout.com/how-to-install-influxdb-on-ubuntu-22-04-to-create-database/

Steps to install InfluxDB on Ubuntu 22.04 LTS Linux

  1. Start with a System update
  2. Import the InfluxDB GPG key
  3. Add APT repository
  4. Installing InfluxDB on Ubuntu 22.04
  5. Start and Enable the Influxdb service
  6. Allow InfluxDB TCP port 8086 in the Firewall
  7. Setup InfluxDB

Importar llave de instalacion, invocar e instalar

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 update

sudo apt install influxdb2 -y

Auto Arranque con el servidor cuando se prenda

sudo systemctl start influxdb

sudo systemctl enable influxdb

Status (Salir con “q” del Status)

sudo systemctl status influxdb

Restart

sudo systemctl restart influxdb

Parar

sudo systemctl stop influxdb

Prender

sudo systemctl start influxdb

Permitir al Firewall y AWS-GroupSecurity que InfluxDB TCP puerto 8086 in the Firewall

#

IMPORTANTE IR A AWSACADEMY “SECURITY GROUPS” AGREGAR 1 ENTRARA A ESE PUERTO 8086/TCP IPV4 0.0.0.0/ALL

# influx setup