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.
    • Homoran
      Homoran Global Moderator Administrators @dos1973 last edited by

      @dos1973 sagte in iobroker in Proxmox auf Debian bereitstellen:

      wann mache ich das update&upgrade

      bist du user?

      dann mach mal sudo apt update

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

        @homoran sagte in iobroker in Proxmox auf Debian bereitstellen:

        sudo apt update

        dos1973@pve-iobroker:~$ sudo apt update
        -bash: sudo: Kommando nicht gefunden.
        

        ich hatte alles im root context gemacht

        Homoran 1 Reply Last reply Reply Quote 0
        • FredF
          FredF Most Active Forum Testing @dos1973 last edited by FredF

          @dos1973


          Nachdem in Proxmox Konsole die Installation abgeschlossen ist, über Putty als User anmelden und mit su - und root Passwort als root anmelden.

          Sudo und Curl installieren:

          apt-get install sudo
          
          apt-get install curl
          

          Angelegtem User sudo Rechte geben:

          adduser <username> sudo
          

          Zur Sicherheit System aktualisieren:

          apt update && apt upgrade -y
          

          Da der angelegte User nicht in der Sudoers Datei ist, diese noch bearbeiten:

          nano /etc/sudoers
          

          Dort unter
          #includedir /etc/sudoers.d
          eintragen:

          %username ALL=(ALL:ALL) ALL
          

          mit Strg + x und J Enter speichern

          Mit exit zum normalen user wechseln.

          Den Runlevel noch ändern:

          sudo systemctl set-default multi-user.target
          

          Neu starten:

          sudo reboot
          

          ioBroker installieren:

          curl -sLf https://iobroker.net/install.sh | bash -
          

          Homoran D 3 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @dos1973 last edited by Homoran

            @dos1973 sagte in iobroker in Proxmox auf Debian bereitstellen:

            ich hatte alles im root context gemacht

            dann darfst du da noch einmal hin und sudo installieren: apt install sudo

            oder wie @FredF schreibt

            @fredf sagte in iobroker in Proxmox auf Debian bereitstellen:

            Nachdem in Proxmox Konsole die Installation abgeschlossen ist, über Putty als User anmelden und mit su - und root Passwort als root anmelden.

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

              @homoran sagte in iobroker in Proxmox auf Debian bereitstellen:

              apt install sudo

              dos1973@pve-iobroker:~$ su -
              Passwort: 
              root@pve-iobroker:~# apt install sudo
              Paketlisten werden gelesen... Fertig
              Abhängigkeitsbaum wird aufgebaut.       
              Statusinformationen werden eingelesen.... Fertig
              Die folgenden NEUEN Pakete werden installiert:
                sudo
              0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
              Es müssen 1.244 kB an Archiven heruntergeladen werden.
              Nach dieser Operation werden 3.882 kB Plattenplatz zusätzlich benutzt.
              Holen:1 http://deb.debian.org/debian buster/main amd64 sudo amd64 1.8.27-1+deb10u3 [1.244 kB]
              Es wurden 1.244 kB in 0 s geholt (7.103 kB/s).
              Vormals nicht ausgewähltes Paket sudo wird gewählt.
              (Lese Datenbank ... 28234 Dateien und Verzeichnisse sind derzeit installiert.)
              Vorbereitung zum Entpacken von .../sudo_1.8.27-1+deb10u3_amd64.deb ...
              Entpacken von sudo (1.8.27-1+deb10u3) ...
              sudo (1.8.27-1+deb10u3) wird eingerichtet ...
              Trigger für man-db (2.8.5-2) werden verarbeitet ...
              Trigger für systemd (241-7~deb10u6) werden verarbeitet ...
              root@pve-iobroker:~# 
              
              
              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @FredF last edited by

                @fredf sagte in iobroker in Proxmox auf Debian bereitstellen:

                Da der angelegte User nicht in der Sudoers Datei ist, diese noch bearbeiten:

                passiert dies nicht mit adduser <userName> sudo?

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

                  @fredf
                  das mache ich alle noch als Root User?

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

                    @dos1973
                    genau nach seiner Anleitung bis:

                    @fredf sagte in iobroker in Proxmox auf Debian bereitstellen:

                    Mit exit zum normalen user wechseln.

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

                      @homoran
                      @FredF

                      das klappt nicht. Das sollte ich ja als User machen...

                      sudo systemctl set-default multi-user.target
                      
                      dos1973@pve-iobroker:~$ sudo systemctl set-default multi-user.target
                      
                      Wir gehen davon aus, dass der lokale Systemadministrator Ihnen die
                      Regeln erklärt hat.  Normalerweise läuft es auf drei Regeln hinaus:
                      
                          #1) Respektieren Sie die Privatsphäre anderer.
                          #2) Denken Sie nach, bevor Sie tippen.
                          #3) Mit großer Macht kommt große Verantwortung.
                      
                      [sudo] Passwort für dos1973: 
                      dos1973 ist nicht in der sudoers-Datei. Dieser Vorfall wird gemeldet.
                      
                      Homoran 2 Replies Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @dos1973 last edited by

                        @dos1973 sagte in iobroker in Proxmox auf Debian bereitstellen:

                        das klappt nicht. Das sollte ich ja als User machen...

                        dann hast du die Schritte vorher nicht ausgeführt

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

                          @homoran
                          🙂

                          doch habe ich!
                          der reboot muss vorher erfolgen - nicht danach

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

                            @dos1973 sagte in iobroker in Proxmox auf Debian bereitstellen:

                            dos1973@pve-iobroker

                            ist das wirklich die VM?????

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

                              @homoran
                              ja, alle meine hosts haben das "pve" vornedran...

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

                                @dos1973 sagte in iobroker in Proxmox auf Debian bereitstellen:

                                @homoran
                                ja, alle meine hosts haben das "pve" vornedran...

                                ok, habe gerade Nachgesehen. Dein PVE heisst NUC10-PVE, oder?

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

                                  @homoran
                                  ja - aber da ist das PVE hinten 😉
                                  ich will die sortieren können

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

                                    @dos1973 sagte in iobroker in Proxmox auf Debian bereitstellen:

                                    @homoran
                                    ja - aber da ist das PVE hinten 😉
                                    ich will die sortieren können

                                    dann ist gut!

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

                                      @homoran

                                      so jetzt könnte ich iobroker installieren.
                                      ich sollte das jetzt als user Dos1973 machen können, wenn alles passt, oder?

                                      curl -sLf https://iobroker.net/install.sh | bash -
                                      

                                      aber braucht es da nicht ein sudo davor?

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

                                        @dos1973 sagte in iobroker in Proxmox auf Debian bereitstellen:

                                        aber braucht es da nicht ein sudo davor?

                                        nein

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

                                          @dos1973 Nein. Wenn es richtig eingestellt ist nicht.

                                          Als user

                                          sudo whoami
                                          

                                          liefert?

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

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

                                            sudo whoami

                                            dos1973@pve-iobroker:~$ sudo whoami
                                            [sudo] Passwort für dos1973: 
                                            root
                                            dos1973@pve-iobroker:~$ 
                                            

                                            ok, sieht gut aus - Feuer frei für die iobroker installation

                                            Thomas Braun 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

                                            450
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            debian iobroker proxmox root
                                            6
                                            69
                                            7725
                                            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