Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Mini-PC, Proxmox und ioBroker

    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

    Mini-PC, Proxmox und ioBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Matten @Langer last edited by Matten

      @langer Dafür gibt es das hier 😊 Ich bin von Proxmox sehr überzeugt. Auf einem i5 Nuc laufen der ioBroker, Unifi-Controler, Deconz(Zigbee) und Homematic (Raspiberrymatic) jeweils in eigenen VM's ohne Leistungsprobleme.

      L 1 Reply Last reply Reply Quote 0
      • L
        Langer @Matten last edited by

        @matten

        Also, habe Proxmox installiert, eine VM mit Debian 10 eingerichtet und bin iobroker am installieren nach diese Anleitung:

        Nachdem das System oben ist, stellen wir über PUTTY eine SSH Verbindung her und melden uns mit der persönlichen Benutzerkennung und nicht mit „root“ an. 
        Wenn ihr angemeldet seid, gebt ihr „su“ ein, um dann das Passwort des „Root-Benutzers“ einzugeben. Dann unbedingt noch „cd /“ eingeben, um in das Stammverzeichnis zu wechseln, 
        weil dort wollen wir installieren.
        nun mit dem Befehl 
        	apt-get update && apt-get 
        upgrade das System auf den aktuellen Stand bringen. Eventuell findet er nichts zum Aktualisieren. Auch gut;
        Jetzt mit dem folgenden Befehl sudo installieren: 
        	apt-get install sudo
        Nun noch curl installieren: 
        	apt-get install curl
        Dann noch gnupg2 installieren: 
        	apt-get install gnupg2
        Nun können wir noch die weiteren Voraussetzungen installieren: 
        	curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash –
        Jetzt noch nodejs installieren: 
        	apt-get install nodejs
        … und zu guter Letzt npm installieren: 
        	npm install -g npm
        nachdem das erledigt ist, das System mit dem folgenden Befehl neu booten: 
        	sudo reboot
        Nachdem das System wieder oben ist, stellen wir über PUTTY eine SSH Verbindung her und melden uns mit der persönlichen Benutzerkennung und nicht mit „root“ an. 
        Wenn ihr angemeldet seid, gebt ihr „su“ ein, um dann das Passwort des „Root-Benutzers“ einzugeben. Dann unbedingt noch „cd /“ eingeben, um in das Stammverzeichnis zu wechseln.
        Jetzt sind wir soweit, dass wir mit dem neuen Installations-Skript den ioBroker installieren können. 
        Das macht ihr mit dem Befehl: 
        	curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/installer.sh | bash –
        Dieser Installations-Prozess beinhalte 4 Schritte, welche ihr auf der Konsole angezeigt bekommt. 
        Am Ende sollte in grüner Schrift stehen „ioBroker was installed successfully“, sowie der Hinweis, wie ihr in einem Browser Fenster über den angegebenen Befehl ioBroker starten könnt.
        Die weiteren Screen-Shots zeigen die Anfangskonfiguration vom ioBroker. In einem späteren Artikel beschreibe ich was ihr am besten einstellt.
        

        Das ist der Ablauf mit Fehlern bis zum Punkt "install npm":

        walter@proxmox:~$ su -
        Password:
        root@proxmox:~# cd /
        root@proxmox:/# apt-get update && apt-get upgrade
        Hit:1 http://security.debian.org buster/updates InRelease
        Hit:2 http://ftp.de.debian.org/debian buster InRelease
        Err:3 https://enterprise.proxmox.com/debian/pve buster InRelease
          401  Unauthorized [IP: 2a01:7e0:0:424::249 443]
        Get:4 http://ftp.de.debian.org/debian buster-updates InRelease [51.9 kB]
        Reading package lists... Done
        E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease  401  Unauthorized [IP: 2a01:7e0:0:424::249 443]
        E: The repository 'https://enterprise.proxmox.com/debian/pve buster InRelease' is not signed.
        N: Updating from such a repository can't be done securely, and is therefore disabled by default.
        N: See apt-secure(8) manpage for repository creation and user configuration details.
        root@proxmox:/# apt-get update && apt-get upgrade
        Hit:1 http://ftp.de.debian.org/debian buster InRelease
        Hit:2 http://security.debian.org buster/updates InRelease
        Hit:3 http://ftp.de.debian.org/debian buster-updates InRelease
        Err:4 https://enterprise.proxmox.com/debian/pve buster InRelease
          401  Unauthorized [IP: 2a01:7e0:0:424::249 443]
        Reading package lists... Done
        E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease  401  Unauthorized [IP: 2a01:7e0:0:424::249 443]
        E: The repository 'https://enterprise.proxmox.com/debian/pve buster InRelease' is not signed.
        N: Updating from such a repository can't be done securely, and is therefore disabled by default.
        N: See apt-secure(8) manpage for repository creation and user configuration details.
        root@proxmox:/# apt-get install sudo
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        sudo is already the newest version (1.8.27-1+deb10u3).
        0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
        root@proxmox:/# apt-get install curl
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        curl is already the newest version (7.64.0-4+deb10u1).
        0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
        root@proxmox:/# apt-get install gnupg2
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        gnupg2 is already the newest version (2.2.12-1+deb10u1).
        0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
        root@proxmox:/# curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash –
        bash: –: No such file or directory
        root@proxmox:/# curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash –
        bash: –: No such file or directory
        root@proxmox:/# Curl –sL https://deb.nodesource.com/setup_12.x | bash -
        -bash: Curl: command not found
        root@proxmox:/# curl –sL https://deb.nodesource.com/setup_12.x | bash -
        curl: (3) Failed to convert –sL to ACE; string contains a disallowed character
        
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                         Dload  Upload   Total   Spent    Left  Speed
        100 13479  100 13479    0     0   124k      0 --:--:-- --:--:-- --:--:--  124k
        
        ## Installing the NodeSource Node.js 12.x repo...
        
        
        ## Populating apt-get cache...
        
        + apt-get update
        Hit:1 http://ftp.de.debian.org/debian buster InRelease
        Hit:2 http://security.debian.org buster/updates InRelease
        Hit:3 http://ftp.de.debian.org/debian buster-updates InRelease
        Err:4 https://enterprise.proxmox.com/debian/pve buster InRelease
          401  Unauthorized [IP: 2a01:7e0:0:424::249 443]
        Reading package lists... Done
        E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease  401  Unauthorized [IP: 2a01:7e0:0:424::249 443]
        E: The repository 'https://enterprise.proxmox.com/debian/pve buster InRelease' is not signed.
        N: Updating from such a repository can't be done securely, and is therefore disabled by default.
        N: See apt-secure(8) manpage for repository creation and user configuration details.
        Error executing command, exiting
        root@proxmox:/# apt-get install nodejs
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        nodejs is already the newest version (10.23.1~dfsg-1~deb10u1).
        0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
        root@proxmox:/# npm install -g npm
        -bash: npm: command not found
        
        

        Was ist da falsch gelaufen?

        MfG
        Wastl

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Langer last edited by Homoran

          @langer sagte in Mini-PC, Proxmox und ioBroker:

          nach diese Anleitung:

          wo ist die denn her???

          @langer sagte in Mini-PC, Proxmox und ioBroker:

          und zu guter Letzt npm installieren: npm install -g npm

          das sollte nie getrennt installiert werden, kommt mit node in der passenden Version mit!!

          einfach nachdem sudo und curl installiert wurde als normaler User curl -sLf https://iobroker.net/install.sh | bash - ausführen und alles notwendige wird installiert.
          Voraussetzung ist ein frisches Debian ohne irgendwelche Vorabinstallationen

          Wo bist du überhaupt?
          in der VM oder in PVE?

          @langer sagte in Mini-PC, Proxmox und ioBroker:

          Err:4 https://enterprise.proxmox.com/debian/pve buster InRelease 401 Unauthorized [IP: 2a01:7e0:0:424::249 443]

          Das sieht nach PVE aus und du hast wahrscheinlich noch die kommerziellen Repositories aktiv
          https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo

          M Negalein 2 Replies Last reply Reply Quote 0
          • M
            Matten @Homoran last edited by

            @homoran stimmt, sieht nicht so aus wie in der VM-Installation, da dürften die Hinweise zu Proxmox gar nicht auftauchen.

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

              Mit Linux wär das nicht passiert!
              duck und weg
              Jedenfalls nicht in einer nativen Installation.

              M 1 Reply Last reply Reply Quote 0
              • M
                Matten @Thomas Braun last edited by

                @thomas-braun 🙂 Wenn es mit Proxmox erstmal läuft, läuft es...

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

                  @matten Ja, da muss man die erste von zwei Baustellen halt erstmal abschließen.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Matten @Thomas Braun last edited by

                    @thomas-braun so isses. Aber nach der Proxmox - Installation ist es bisher wirklich sehr unproblematisch gewesen eine VM oder einen Container aufzusetzen, obwohl ich jetzt alles in VM's habe. Der Container beim Unifi-Controller lief nicht sauber, warum auch immer...

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

                      @matten
                      Bei dem Anforderungsprofil

                      Der Mini-PC wird nur als Master und zur Anzeige der Vis benutzt.

                      Wäre mein Rat ja auch gewesen da nur ein Debian mit X draufzuwerfen.
                      Wozu noch eine zusätzliche Ebene 'proxmox' einziehen? Nur weil es geht?

                      (Das die Kiste vollkommen überdimensioniert dafür ist steht auf einem anderen Blatt).

                      Homoran M 2 Replies Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Thomas Braun last edited by

                        @thomas-braun ...weil man schnell mit Snapshots spielen kann.
                        Aber das ist jetzt nicht der Punkt.

                        @Langer
                        Ich fürchte du kommst nicht umhin, Proxmox nochmal plattzumachen um mögliche Spätfolgen auszuschließen.
                        Proxmox basiert selbst zwar auch auf Debian, darin selbst sollte man tunlichst nicht rumfummeln.

                        Deine Anleitung glaube ich gefunden zu haben. Wenn es die von technikkram ist bezieht sie sich auf einen Container, nicht auf eine VM.
                        und auch der curl ist veraltet.

                        Bitte nimm die "Anleitung", die in wirklichkeit ein Einzeiler ist, die ich eben gepostet habe

                        1 Reply Last reply Reply Quote 0
                        • Negalein
                          Negalein Global Moderator @Homoran last edited by

                          @homoran sagte in Mini-PC, Proxmox und ioBroker:

                          wo ist die denn her???

                          schätze von Technikkram.

                          Steht dort zumindest wortwörtlich so.
                          Screenshot_2021-02-11 Projekt Teil 09 – ioBroker auf Intel NUC im LXC Container installieren › technikkram net.png

                          1 Reply Last reply Reply Quote 0
                          • M
                            Matten @Thomas Braun last edited by

                            @thomas-braun Wie Homoran es schon sagte, weil es nach einem Crash wunderbar schnell wieder gefixt ist .... und weil es geht.
                            Ich finde wirklich, dass auf einer solchen Maschine viel Platz für mehr ist, irgendwas kommt immer dazu.

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Matten last edited by

                              @matten sagte in Mini-PC, Proxmox und ioBroker:

                              weil es nach einem Crash wunderbar schnell wieder gefixt ist

                              das geht auch mit einem ioBroker-Backup und anschließendem Neuaufbau mit den neuesten Versionen OS/node und Adaptern, was auch den Charme hat anschließend up-to-date zu sein.

                              Viel schöner ist die Möglichkeit einen Snapshot zu setzen und etwas auszuprobieren.

                              • Läuft es, ist es gut so.
                              • Wenn nicht schnell zurückstellen
                              L 1 Reply Last reply Reply Quote 0
                              • L
                                Langer @Homoran last edited by Langer

                                Danke für alle Antworten und die daraus entstandene Diskussion, war sehr Lehrreich.

                                Ich werde Proxmox neu aufsetzten.

                                Punkt 1:
                                Welche Proxmox Version muss ich nehmen?
                                Habe folgende iso verwendet: proxmox-ve_6.3-1.iso

                                Punkt2:
                                Eine VM erstellen mit Debian 10, richtig?

                                Punkt 3:
                                Folgende Befehle über SSH-Verbindung:
                                apt-get update && apt-get upgrade
                                apt-get install sudo
                                apt-get install curl
                                curl -sLf https://iobroker.net/install.sh | bash -

                                Ist dies dann der richtige Weg?

                                MfG
                                Wastl

                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Langer last edited by

                                  @langer sagte in Mini-PC, Proxmox und ioBroker:

                                  Ist dies dann der richtige Weg?

                                  im Prinzip ja, aber...

                                  schritt 3 muss in der VM (andere IP) stattfinden

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  369
                                  Online

                                  31.8k
                                  Users

                                  79.9k
                                  Topics

                                  1.3m
                                  Posts

                                  6
                                  20
                                  1832
                                  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