NEWS
Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK
-
Danke nochmals für die Aufklärung, damit wird es mir klarer, dass nur Schritt 1 notwendig ist.
-
Unter dem BN: Karl habe ich über die shell auf dem iobroker jetzt wieder ein Berechtigungsproblem ?
login as: karl karl@192.168.1.176's password: Linux IOBROKER 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Aug 16 12:00:34 2021 from 192.168.1.3 karl@IOBROKER:~$ wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dea rmor > /etc/apt/trusted.gpg.d/influxdb.gpg export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc) echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxda ta.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/inf luxdb.listcode_text -bash: /etc/apt/trusted.gpg.d/influxdb.gpg: Keine Berechtigung karl@IOBROKER:~$ export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$ (lsb_release -sc) karl@IOBROKER:~$ echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https ://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/s ources.list.d/influxdb.listcode_text -bash: /etc/apt/sources.list.d/influxdb.listcode_text: **Keine Berechtigung** karl@IOBROKER:~$
-
Für die Befehle braucht es root-Rechte.
Da bei Verwendung von sudo komplett anders vorgegangen werden müsste hier ein pragmatischer Ansatz:Meld dich KURZ als root an, setz die drei Befehlszeilen ab und werde dann direkt wieder zum User
Ja, ich empfehle hier kurz zu root zu werden. Auch wenn ich das sonst immer anmecker...
Die Vorgaben auf der Influx-Seite sind aus meiner Sicht da mehr als unglücklich.
-
Das Problem ist nur ich kann mich über die Shell nicht mit root am iobroker anmelden.
In proxmox ist die Anmeldung mit root möglich.
Sollte ich in proxmox über die Konsole mit root und in VM-IOBROKER mit user:karl einsteigen ?
-
-
@thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
sudo su -
funktioniert nicht?
Danach mitexit
den root wieder in Ruhe lassen.
Ja, funktioniert !
login as: karl karl@192.168.1.176's password: Linux IOBROKER 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Aug 17 11:22:27 2021 from 192.168.1.3 karl@IOBROKER:~$ sudo su - [sudo] Passwort für karl: root@IOBROKER:~#
Soll ich jetzt über root folgendes machen ?
wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdb.gpg export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc) echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/influxdb.listcode_text
Danke
-
@goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
Soll ich jetzt über root folgendes machen ?
ja, jetzt wie oben die drei Befehle
-
@crunchip @GOETSCHHOFER
Stop!Da ist ein Kopierfehler drin!
So muss das aussehen:
wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdb.gpg export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc) echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/influxdb.list
-
Sorry, war leider 2 Sek, zu spät, habe dies bereits eingeben, Ergebnis ?
Text steht teilweise rechts, rüberscrollen.
root@IOBROKER:~# wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dea rmor > /etc/apt/trusted.gpg.d/influxdb.gpg root@IOBROKER:~# export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$ (lsb_release -sc) root@IOBROKER:~# echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https ://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/s ources.list.d/influxdb.listcode_text
-
rm /etc/apt/sourceslist.d/influxdb.listcode_text
-
@thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdb.gpg export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc) echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/influxdb.list
Ergebnis 2. Versuch:
root@IOBROKER:~# wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdb.gpg export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc) echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/influxdb.list root@IOBROKER:~# export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc) root@IOBROKER:~# echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" > /etc/apt/sources.list.d/influxdb.list
-
@thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
rm /etc/apt/sourceslist.d/influxdb.listcode_text
Ist dies der Storno Befehl ?
-
@thomas-braun stimmt, hatte ich nicht darauf geachtet, das ist das original der Influx Seite, muss natürlich angepasst werden
/etc/apt/sources.list.d/influxdb.list
-
@goetschhofer
Ja, mit dem Befehl wird die falsche Datei gelöscht.
Die würde sonst immer beim apt update angemeckert werden. -
@thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
@goetschhofer
Ja, mit dem Befehl wird die falsche Datei gelöscht.
Die würde sonst immer beim apt update angemeckert werden.Diese findet er aber offenbar nicht ?
Ich war folgendermaßen vorgegangen.
- falsche Eingabe Befehl
- richtige Eingabe Beschreibung von dir.
root@IOBROKER:~# rm /etc/apt/sourceslist.d/influxdb.listcode_text rm: das Entfernen von '/etc/apt/sourceslist.d/influxdb.listcode_text' ist nicht möglich: Datei oder Verzeichnis nicht gefunden root@IOBROKER:~#
-
ls -la /etc/apt/sources.list.d
-
@thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
ls -la /etc/apt/sources.list.d
root@IOBROKER:~# ls -la /etc/apt/sources.list.d insgesamt 20 drwxr-xr-x 2 root root 4096 Aug 17 11:35 . drwxr-xr-x 7 root root 4096 Mai 2 15:24 .. -rw-r--r-- 1 root root 102 Aug 17 11:35 influxdb.list -rw-r--r-- 1 root root 102 Aug 17 11:30 influxdb.listcode_text -rw-r--r-- 1 root root 204 Mai 2 20:24 nodesource.list root@IOBROKER:~#
-
-
@thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
rm /etc/apt/sources.list.d/influxdb.listcode_text
Ja, die ist jetzt weg.
Vielen herzlichen Dank.
Muss ich jetzt noch die influxdb.conf anpassen ? bind-adress = Port 8088 ?
root@IOBROKER:~# ls -la /etc/apt/sources.list.d insgesamt 20 drwxr-xr-x 2 root root 4096 Aug 17 11:35 . drwxr-xr-x 7 root root 4096 Mai 2 15:24 .. -rw-r--r-- 1 root root 102 Aug 17 11:35 influxdb.list -rw-r--r-- 1 root root 102 Aug 17 11:30 influxdb.listcode_text -rw-r--r-- 1 root root 204 Mai 2 20:24 nodesource.list root@IOBROKER:~# ^C root@IOBROKER:~# rm /etc/apt/sources.list.d/influxdb.listcode_text root@IOBROKER:~# ls -la /etc/apt/sources.list.d insgesamt 16 drwxr-xr-x 2 root root 4096 Aug 17 11:46 . drwxr-xr-x 7 root root 4096 Mai 2 15:24 .. -rw-r--r-- 1 root root 102 Aug 17 11:35 influxdb.list -rw-r--r-- 1 root root 204 Mai 2 20:24 nodesource.list root@IOBROKER:~#
-
@goetschhofer Meld dich als root ab!!!
exit