Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Neue Installationsroutine (für Linux)

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Neue Installationsroutine (für Linux)

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Phil82 last edited by

      Guten Morgen,

      ist für ein neu Aufsetzen des Systems sinnvoll node 12 oder bereits node 14 zu verwenden?
      LGPhil82

      Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Phil82 last edited by Thomas Braun

        @phil82 Nimm node12. Wird ja auch vom Installer bereits mitinstalliert.

        Der Wechsel auf eine höhere Version ist ja unter Linux kein Problem und ist bei Bedarf in kürzester Zeit erledigt.

        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 @Phil82 last edited by

          @phil82 Es geht beides, Nodejs 12 ist noch das empfohlene

          1 Reply Last reply Reply Quote 0
          • P
            passuff last edited by

            Ich habe gerade mit dem Install Skript versucht zu installieren.
            Ich nutze ein aktuelles Debian 11 System. Nach der Installation lließ sich Flot nur manuell per cli installieren und einige Instanzen wollen nicht so richtig. Irgendwas stimmt mit der Installation nicht.

            ich habe daher folgendes geprüft:

            passuff@iobrokerV2:~$ nodejs -v && node -v && npm -v && which nodejs && which node && which npm
            -bash: nodejs: Kommando nicht gefunden.
            

            Ich denke das sollte so nicht sein 😉

            P 1 Reply Last reply Reply Quote 0
            • P
              passuff @passuff last edited by

              @passuff sagte in Neue Installationsroutine (für Linux):

              nodejs -v && node -v && npm -v && which nodejs && which node && which npm

              Folgendes habe ich nun durchgeführt:

              sudo apt-get --purge remove node 
              
              sudo apt-get --purge remove nodejs
              
              sudo apt-get autoremove
              
              sudo reboot
              
              -------------------------------
              curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
              
              sudo apt install -y nodejs
              
              sudo reboot
              

              Danach wieder die Versionsabfrage:

              passuff@iobrokerV2:~$ nodejs -v && node -v && npm -v && which nodejs && which node && which npm
              -bash: nodejs: Kommando nicht gefunden.
              

              Weiter gelesen und folgendes probiert:

              passuff@iobrokerV2:~$ sudo ln -s /usr/local/bin/nodejs /usr/bin/node
              ln: die symbolische Verknüpfung '/usr/bin/node' konnte nicht angelegt werden: Di                               e Datei existiert bereits
              
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active last edited by

                @passuff sagte in Neue Installationsroutine (für Linux):

                Ich denke das sollte so nicht sein

                Doch, ist in Ordnung.
                Ich würde aber dennoch nodejs linken.

                sudo ln -s /usr/bin/node /usr/bin/nodejs
                

                Danach sollte

                which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                

                auch vollständig durchlaufen.

                P 1 Reply Last reply Reply Quote 0
                • P
                  passuff @Thomas Braun last edited by

                  @thomas-braun

                  Vermutlich haben sich unsere Posts überschnitten. Das habe ich bereits erfolglos versucht.

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

                    @passuff
                    Schau einzeln danach:

                    which node
                    which nodejs
                    which npm
                    
                    P 1 Reply Last reply Reply Quote 0
                    • P
                      passuff @Thomas Braun last edited by

                      @thomas-braun sagte in Neue Installationsroutine (für Linux):

                      which npm

                      passuff@iobrokerV2:~$ iob start
                      passuff@iobrokerV2:~$ which node
                      /usr/bin/node
                      passuff@iobrokerV2:~$ which nodes
                      passuff@iobrokerV2:~$ which npm
                      /usr/bin/npm
                      passuff@iobrokerV2:~$

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

                        @passuff sagte in Neue Installationsroutine (für Linux):

                        passuff@iobrokerV2:~$ which nodes

                        ich laube das sollte which nodejs heißen

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          passuff @Homoran last edited by

                          @homoran

                          Ja, habe ich auch probiert. Ändert nichts am output. Es kommt nichts zurück.

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

                            @passuff

                            ls -l /usr/bin/nodejs
                            
                            P 1 Reply Last reply Reply Quote 0
                            • P
                              passuff @Thomas Braun last edited by passuff

                              @thomas-braun sagte in Neue Installationsroutine (für Linux):

                              ls -l /usr/bin/nodejs

                              passuff@iobrokerV2:~$ ls -l /usr/bin/nodejs
                              ls: Zugriff auf '/usr/bin/nodejs' nicht möglich: Datei oder Verzeichnis nicht gefunden
                              passuff@iobrokerV2:~$
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @passuff last edited by Thomas Braun

                                @passuff

                                Der Befehl

                                sudo ln -s /usr/local/bin/nodejs /usr/bin/node
                                

                                ist ja auch Quatsch. Wo haste den denn her?

                                sudo rm /usr/local/bin/nodejs
                                sudo ln -s /usr/bin/node /usr/bin/nodejs
                                

                                Als Test:

                                which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                
                                1 Reply Last reply Reply Quote 0
                                • D
                                  DokBiz @mimue last edited by

                                  @mimue said in Neue Installationsroutine (für Linux):

                                  Man könnte das Skript schon ein wenig freundlicher für nicht Debian-basierte Distros gestalten, ich bringe mich da gerne ein, wenn erwünscht.

                                  gibt es hier in der zwischenzeit schon eine "freundlichere" ausgestaltung?
                                  ich versuche gerade, als kompletter linux noob, iobroker von windows auf manjaro umzuziehen, und hab zumindest schonmal verstanden, dass ich mit apt nix reissen kann, weil arc basierende distros mit pacman arbeiten... jetzt gibt es hier unter diesem link
                                  https://iobroker.net/install.sh
                                  ein 34-seitiges script, bei dem u.a. 'apt' durch 'pacman'ersetzt werden müsste... aber das ist, wie ich befürchte, nicht das einzige, was dort geändert werden müsste !?

                                  wendy2702 AlCalzone 2 Replies Last reply Reply Quote 0
                                  • wendy2702
                                    wendy2702 @DokBiz last edited by

                                    @dokbiz guckst du hier

                                    a0aa1cda-41c2-4fdd-854e-2617279a8c91-grafik.png

                                    www.iobroker.net

                                    Mal diesen aktuellen "Einzeiler" probiert.

                                    Wenn ich das richtig lese ist "manjaro" ja eher was mit GUI und Desktop. Ist für iobroker als "Server" eh nicht empfehlenswert.

                                    D 1 Reply Last reply Reply Quote 0
                                    • AlCalzone
                                      AlCalzone Developer @DokBiz last edited by

                                      @wendy2702 das ist genau das Skript was er meinte.

                                      @dokbiz sagte in Neue Installationsroutine (für Linux):

                                      ein 34-seitiges script, bei dem u.a. 'apt' durch 'pacman'ersetzt werden müsste... aber das ist, wie ich befürchte, nicht das einzige, was dort geändert werden müsste !?

                                      Vermutlich ist da mehr zu tun, ja. Aber ohne dass sich jemand, der die Distribution kennt, darum kümmert, wird da nix passieren. Die "großen" sind unterstützt.

                                      wendy2702 1 Reply Last reply Reply Quote 0
                                      • wendy2702
                                        wendy2702 @AlCalzone last edited by

                                        @alcalzone sagte in Neue Installationsroutine (für Linux):

                                        das ist genau das Skript was er meinte.

                                        Ja, habs gerade mal angesehen. Hätte ich auch vorher machen können.

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          DokBiz @wendy2702 last edited by DokBiz

                                          @wendy2702 said in Neue Installationsroutine (für Linux):

                                          www.iobroker.net
                                          Mal diesen aktuellen "Einzeiler" probiert.

                                          dieser "einzeiler" ist die quelle für das script, das bei manjaro eben nicht funktioniert (da "apt" statt "pacman")

                                          btw: windows ist auch eher was mit gui und desktop und lief/läuft trotzdem problemlos 🤓

                                          wendy2702 Thomas Braun apollon77 3 Replies Last reply Reply Quote 0
                                          • wendy2702
                                            wendy2702 @DokBiz last edited by

                                            @dokbiz Naja.... ich würde mal behaupten das Windows vielleicht nicht ganz so ein Paradiesvogel wie manjaro ist.

                                            Ist am Ende auch deine Sache ob du deinen Server mit GUI oder ohne laufen lassen willst. Je nach HW benötig das halt nur unnötige ressourcen.

                                            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

                                            699
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            installation
                                            64
                                            415
                                            99266
                                            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