Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker in Proxmox auf Debian bereitstellen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    iobroker in Proxmox auf Debian bereitstellen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @dos1973 last edited by Thomas Braun

      @dos1973 sagte in iobroker in Proxmox auf Debian bereitstellen:

      Fast...
      Natürlich im Debian-Installer wird sudo mitgenommen. Sonst ist die Tür ja danach zu.

      Richtig wäre also:

      • kein root Passwort setzen - sudo kommt damit automatisch nach
      • user anlegen (der erste wird automatisch mit sudo-Rechten ausgestattet)
      • curl nachinstallieren
      • ioBroker per Einzeiler installieren
      D 1 Reply Last reply Reply Quote 0
      • D
        dos1973 @Thomas Braun last edited by

        @thomas-braun
        ich schreib den ersten Post nochmals um. Danke

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • da_Woody
          da_Woody @dos1973 last edited by

          @dos1973 mir gefällt deine hardware einstllung nicht so ganz. aber das muss jeder für sich entscheiden!
          fürn ioBroker reicht 1 socket, 2 cores. der speicher sollte mit 1024 berechnet werden. 8GB reichen (8192). grundelt bei mir mit 15-20% bei den 2 CPUs rum und 45% speicherauslastung.

          D 1 Reply Last reply Reply Quote 0
          • D
            dos1973 @da_Woody last edited by

            @da_woody
            da taste ich mich noch ran... ich will nur dass das setup fliegt

            da_Woody 1 Reply Last reply Reply Quote 0
            • da_Woody
              da_Woody @dos1973 last edited by

              @dos1973 kein problem! wollte nur hinweisen... 🙂

              D 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @dos1973 last edited by

                @dos1973 Wobei ich zugeben muss, dass die Beschreibung zum root-Passwort etwas unglücklich ist.
                Ist vermutlich mal wieder einem 'Streit' in der debian-Community entsprungen.
                "Alte root-Schule" vs. "sudo-Punks"

                1 Reply Last reply Reply Quote 0
                • D
                  dos1973 @da_Woody last edited by

                  @da_woody
                  weißt doch habe doch diese dicke Kiste 🙂

                  da_Woody Thomas Braun 2 Replies Last reply Reply Quote 0
                  • da_Woody
                    da_Woody @dos1973 last edited by da_Woody

                    @dos1973 rofl.gif jojo, einen auf dicke hose machen...
                    dann mach doch gleich ne ram-disk! frech.gif prost.gif

                    1 Reply Last reply Reply Quote 1
                    • Thomas Braun
                      Thomas Braun Most Active @dos1973 last edited by

                      @dos1973

                      Was liefert denn

                      cat /etc/passwd | grep root
                      

                      Sollte eigentlich so aussehen:

                      root:x:0:0:root:/root:/bin/bash
                      
                      D 2 Replies Last reply Reply Quote 0
                      • D
                        dos1973 @Thomas Braun last edited by

                        @thomas-braun
                        Kiste ist schon wieder weg, gelöscht - gehe eben deinen weg.

                        1 Reply Last reply Reply Quote 0
                        • D
                          dos1973 @Thomas Braun last edited by

                          @thomas-braun sagte in iobroker in Proxmox auf Debian bereitstellen:

                          cat /etc/passwd | grep root

                          die neue Installation liefert das als ergbnis

                          dos1973@pve-iobroker:~$ cat /etc/passwd | grep root
                          root:x:0:0:root:/root:/bin/bash
                          dos1973@pve-iobroker:~$ 
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @dos1973 last edited by

                            @dos1973 So ist das richtig.
                            Ohne Passwort für den root.

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              dos1973 @Thomas Braun last edited by

                              @thomas-braun
                              der Fehler war eindeutig, den Root user im Installationsetup nicht auszulassen.
                              so ist es echt easy.

                              IObroker läuft.

                              eine Frage noch:

                              dos1973@pve-iobroker:~$ sudo apt update && apt upgrade -y
                              OK:1 http://deb.debian.org/debian buster InRelease
                              OK:2 http://security.debian.org/debian-security buster/updates InRelease
                              OK:3 http://deb.debian.org/debian buster-updates InRelease
                              Paketlisten werden gelesen... Fertig
                              Abhängigkeitsbaum wird aufgebaut.       
                              Statusinformationen werden eingelesen.... Fertig
                              Alle Pakete sind aktuell.
                              E: Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
                              E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
                              
                              

                              was hat es mit dieser Sperrdatei und der fehlenden Berechtigung?

                              E: Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @dos1973 last edited by

                                @dos1973 Auch der verkette Befehl muss per sudo eingeleitet werden.
                                Also:

                                sudo apt update && sudo apt upgrade -y
                                
                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  dos1973 @Thomas Braun last edited by

                                  @thomas-braun
                                  ok, danke !

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @dos1973 last edited by

                                    @dos1973 Mich wundert allerdings, dass es keinen Eintrag zu nodesource gibt.
                                    Hätte eigentlich während der iobroker-Installation angelegt werden sollen.

                                    which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                    
                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      dos1973 @Thomas Braun last edited by wendy2702

                                      @thomas-braun

                                      dos1973@pve-iobroker:/opt/iobroker$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                      /usr/bin/nodejs
                                      v12.21.0
                                      /usr/bin/node
                                      v12.21.0
                                      /usr/bin/npm
                                      6.14.11
                                      nodejs:
                                        Installiert:           12.21.0-1nodesource1
                                        Installationskandidat: 12.21.0-1nodesource1
                                        Versionstabelle:
                                       *** 12.21.0-1nodesource1 500
                                              500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                                              100 /var/lib/dpkg/status
                                           10.24.0~dfsg-1~deb10u1 500
                                              500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
                                           10.21.0~dfsg-1~deb10u1 500
                                              500 http://deb.debian.org/debian buster/main amd64 Packages
                                      dos1973@pve-iobroker:/opt/iobroker$
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @dos1973 last edited by

                                        @dos1973 Komisch...
                                        Passt eigentlich.

                                        sudo apt update
                                        
                                        D 1 Reply Last reply Reply Quote 0
                                        • D
                                          dos1973 @Thomas Braun last edited by Negalein

                                          @thomas-braun

                                          dos1973@pve-iobroker:/opt/iobroker$ sudo apt update
                                          [sudo] Passwort für dos1973: 
                                          OK:1 http://deb.debian.org/debian buster InRelease
                                          OK:2 http://security.debian.org/debian-security buster/updates InRelease
                                          OK:3 http://deb.debian.org/debian buster-updates InRelease              
                                          OK:4 https://deb.nodesource.com/node_12.x buster InRelease              
                                          Paketlisten werden gelesen... Fertig
                                          Abhängigkeitsbaum wird aufgebaut.       
                                          Statusinformationen werden eingelesen.... Fertig
                                          Alle Pakete sind aktuell.
                                          dos1973@pve-iobroker:/opt/iobroker$
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @dos1973 last edited by

                                            @dos1973 Ok, da ist es.

                                            Kalle Blomquist 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            462
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            debian iobroker proxmox root
                                            6
                                            69
                                            7761
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo