NEWS
InfluxDB
-
Hallo Freunde ich möchte InfluxDB installieren das hat auch geklappt aber nun wenn ich influx setup eingebe kommt folgendes:
unknown arguments: setup Usage of influx: -version Display the version and exit. -path-prefix 'url path' Path that follows the host and port -host 'host name' Host to connect to. -port 'port #' Port to connect to. -socket 'unix domain socket' Unix socket to connect to. -database 'database name' Database to connect to the server. -password 'password' Password to connect to the server. Leaving blank will prompt for password (--password ''). -username 'username' Username to connect to the server. -ssl Use https for requests. -unsafeSsl Set this when connecting to the cluster using https and not use SSL verification. -execute 'command' Execute command and quit. -type 'influxql|flux' Type specifies the query language for executing commands or when invoking the REPL. -format 'json|csv|column' Format specifies the format of the server responses: json, csv, or column. -precision 'rfc3339|h|m|s|ms|u|ns' Precision specifies the format of the timestamp: rfc3339, h, m, s, ms, u or ns. -consistency 'any|one|quorum|all' Set write consistency level: any, one, quorum, or all -pretty Turns on pretty print for the json format. -import Import a previous database export from file -pps How many points per second the import will allow. By default it is zero and will not throttle importing. -path Path to file to import -compressed Set to true if the import file is compressed Examples: # Use influx in a non-interactive mode to query the database "metrics" and pretty print json: $ influx -database 'metrics' -execute 'select * from cpu' -format 'json' -pretty # Connect to a specific database on startup and set database context: $ influx -database 'metrics' -host 'localhost' -port '8086'
Kann also keine anmeldedaten engeben:
-
@ostseereiter ich habe die falsche Influxdatei instaliert. die 1.8 anstatt die 2.0
-
@ostseereiter sagte in (Kann erst mal auf Eis gelegt werden)InfluxDB:
ich habe die falsche Influxdatei instaliert. die 1.8 anstatt die 2.0
Dann installier die gewünschte Version.
sudo apt update apt policy influxdb*
sagt?
-
@thomas-braun sagte in (Kann erst mal auf Eis gelegt werden)InfluxDB:
sudo apt update
andy@debianIOB:~$ sudo apt update E: Missgestalteter Eintrag 1 in list Datei /etc/apt/sources.list.d/influxdata.list (URI) E: Die Liste der Quellen konnte nicht gelesen werden. andy@debianIOB:~$
-
@ostseereiter sagte in InfluxDB:
Und was steht da so 'missgestaltetes' drin?
cat /etc/apt/sources.list.d/influxdata.list
-
Washabe ich gemacht:
1wget -q https://repos.influxdata.com/influxdata-archive_compat.key
2
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
3
cat influxdata-archive_compat.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
ab da geht es nicht mehr weiter.
-
sudo rm /etc/apt/sources.list.d/influxdata.list 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 /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list sudo apt update apt policy influxdb*
-
@thomas-braun
danke das hat geklappt. alles super. -
-
sudo apt update [sudo] Passwort für andy: OK:1 http://mirror.netcologne.de/debian bullseye InRelease OK:2 http://mirror.netcologne.de/debian bullseye-updates InRelease OK:3 http://security.debian.org/debian-security bullseye-security InRelease OK:4 https://repos.influxdata.com/debian stable InRelease OK:5 https://deb.nodesource.com/node_18.x bullseye InRelease OK:6 https://apt.grafana.com stable InRelease Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig
apt policy influxdb* influxdb2-cli: Installiert: 2.7.3-1 Installationskandidat: 2.7.3-1 Versionstabelle: *** 2.7.3-1 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 100 /var/lib/dpkg/status 2.7.1-2 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 2.6.1 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 2.6.0 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 2.5.0 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 2.4.0 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 2.3.0 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages influxdb-client: Installiert: (keine) Installationskandidat: 1.6.7~rc0-1+b5 Versionstabelle: 1.6.7~rc0-1+b5 500 500 http://mirror.netcologne.de/debian bullseye/main amd64 Packages influxdb-dev: Installiert: (keine) Installationskandidat: (keine) Versionstabelle: influxdb2-client: Installiert: (keine) Installationskandidat: 2.7.1-1 Versionstabelle: 2.7.1-1 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages influxdb: Installiert: (keine) Installationskandidat: 1.8.10-1 Versionstabelle: 1.8.10-1 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 1.6.7~rc0-1+b5 500 500 http://mirror.netcologne.de/debian bullseye/main amd64 Packages influxdb2: Installiert: 2.7.1-1 Installationskandidat: 2.7.1-1 Versionstabelle: *** 2.7.1-1 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 100 /var/lib/dpkg/status 2.7.0-1 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 2.6.1-1 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 2.6.0-1 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 2.5.1-1 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 2.4.0-1 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 2.3.0-1 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages 2.2.0 500 500 https://repos.influxdata.com/debian stable/main amd64 Packages