Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Iobroker auf intel Nuc

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Iobroker auf intel Nuc

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      darkiop Most Active @Kusi last edited by

      @kusi sagte in Iobroker auf intel Nuc:

      Habe abgebrochen und "ohne Netzwerk-Spiegel fortfahren" gewählt.

      Deine VM hat keine Verbindung raus in die Welt. Wie gesagt, das könnte am Nuc 11 und den Netzwerk Treibern liegen:

      Currently (May 01, 2021), ProxMox requires updated drivers for the NICs and video to function properly and it makes its installation a bit tricky.

      https://www.reddit.com/r/intelnuc/comments/n2ogdn/guide_to_installing_proxmox_on_nuc11/

      Grundsätzlich zum Repo, unter /etc/apt/sources.list.d die pve-enterprise.list löschen und dann eine pve-no-subscription.list mit folgden Inhalt anlegen:

      #/etc/apt/sources.list.d/pve-no-subscription.list
      # pve-no-subscription repository provided by proxmox.com 
      deb http://download.proxmox.com/debian/pve buster pve-no-subscription
      # security updates
      deb http://security.debian.org/debian-security buster/updates main contrib
      

      Danach, wieder apt update && apt upgrade -y.

      1 Reply Last reply Reply Quote 0
      • D
        darkiop Most Active @Kusi last edited by

        @kusi sagte in Iobroker auf intel Nuc:

        Wird dies empfohlen?

        Ja, du hast in der VM nur ioBroker. Grundsätzlich kann man den Installer eigentlich mit allen Empfehlungen druchklicken.

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

          @crunchip sagte in Iobroker auf intel Nuc:

          @homoran debian stretch?

          schuldig im Sinne der Anklage 😉
          ich bin auch immer noch auf v5

          @crunchip sagte in Iobroker auf intel Nuc:

          update's werden doch schon immer jede Nacht abgerufen,

          Aber nur mit dem no-subscription repo, sonst wird es da rot

          @crunchip sagte in Iobroker auf intel Nuc:

          daher auch nie auf der Proxmox Konsole ein apt update && apt upgrade ausführen, sondern dist-upgrade

          Danke für den Hinweis.
          Vielleicht setze ich jetzt endlich eine aktuelle Installation auf.

          1 Reply Last reply Reply Quote 0
          • K
            Kusi @BBTown last edited by Kusi

            @bbtown sagte in Iobroker auf intel Nuc:

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

            4eb4a44b-bf1f-4096-9927-4bb30af21efc-image.png

            Weist du warum ich jetzt keinen Text in der Debian Konsole einfügen kann? Muss alles von Hand übertragen...

            BBTown crunchip D 4 Replies Last reply Reply Quote 0
            • BBTown
              BBTown @Kusi last edited by

              @kusi Du musst auf der VM auch curl installieren

              sudo apt update && apt dist-upgrade
              sudo apt install curl -y
              
              Homoran 1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @Kusi last edited by

                @kusi debian ist minimalistischer als ubuntu, da muss das ein oder andere nachinstalliert werden, wie z.b curl

                apt install curl
                
                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @BBTown last edited by

                  @bbtown sagte in Iobroker auf intel Nuc:

                  @kusi Du musst auf der VM auch curl installieren

                  und sudo
                  und eine User anlegen und der Gruppe sudo zuweisen

                  crunchip 1 Reply Last reply Reply Quote 1
                  • crunchip
                    crunchip Forum Testing Most Active @Homoran last edited by crunchip

                    @homoran sudo ist, bzw wird automatisch installiert, wenn ein user angelegt wird, also nur curl nachinstallieren
                    edit: wenn man bei der installation Root Passwort leer lässt

                    1 Reply Last reply Reply Quote 0
                    • D
                      darkiop Most Active @BBTown last edited by

                      @bbtown sagte in Iobroker auf intel Nuc:

                      funktionieren denn "automatischen Updates" mittlerweile ohne Subscription?
                      Mir werden mögliche Updates angezeigt, jedoch stoße ich diese immer manuell an?!?

                      Ich mache auf meinen Maschinen per unattended-upgrades - Nachfolgendes aus meiner Doku. Damit werden die Debian Pakete automatisch aktulisiert. Die aus dem Proxmox Repo allerdings noch manuell.

                      Installation:

                      apt install unattended-upgrades -y
                      echo unattended-upgrades unattended-upgrades/enable_auto_updates boolean true | debconf-set-selections; dpkg-reconfigure -f noninteractive unattended-upgrades
                      

                      Timer Anpassen (Bei Bedarf) - create /etc/systemd/system/apt-daily.timer.d/override.conf (= Timer für apt update)

                      systemctl edit apt-daily.timer
                      [Timer]
                      OnCalendar=
                      OnCalendar=*-*-* 0,4,8,12,16,20:00
                      RandomizedDelaySec=15m
                      
                      # create /etc/systemd/system/apt-daily-upgrade.timer.d/override.conf (= Timer für upgrades)
                      systemctl edit apt-daily-upgrade.timer
                      [Timer]
                      OnCalendar=
                      OnCalendar=*-*-* 0,4,8,12,16,20:20
                      RandomizedDelaySec=1m
                      
                      # manuel debug run
                      unattended-upgrade -d
                      
                      # show timer configs
                      systemctl cat apt-daily{,-upgrade}.timer
                      # show timers
                      systemctl --all list-timers apt-daily{,-upgrade}.timer
                      

                      https://wiki.debian.org/UnattendedUpgrades
                      https://debian-handbook.info/browse/stable/sect.regular-upgrades.html
                      https://unix.stackexchange.com/questions/178626/how-to-run-unattended-upgrades-not-daily-but-every-few-hours/541426#541426

                      @homoran sagte in Iobroker auf intel Nuc:

                      Das sieht allerdings anders aus

                      Definitiv 🙂

                      1 Reply Last reply Reply Quote 0
                      • BBTown
                        BBTown @Kusi last edited by

                        @kusi
                        wo Du schon dabei bist:

                        apt install sudo
                        adduser <username>
                        usermod -aG sudo <username>
                        sudo timedatectl set-timezone Europe/Berlin
                        sudo apt install cifs-utils -y
                        sudo apt install nfs-common -y
                        

                        <username> muss ersetzt werden ... z.B. "iobroker" (ohne " ")

                        K 1 Reply Last reply Reply Quote 0
                        • D
                          darkiop Most Active @Kusi last edited by darkiop

                          @kusi sagte in Iobroker auf intel Nuc:

                          Weist du warum ich jetzt keinen Text in der Debian Konsole einfügen kann? Muss alles von Hand übertragen...

                          Ja, einfach gesagt, weil die Web-Konsole der VM eine andere ist wie der LXCs. Für die VM, grundlegende Einrichtung nach der Installation:

                          # install sudo & git
                          apt update
                          apt upgrade -y
                          apt install sudo git -y
                          # adduser (as root)
                          adduser kusi
                          # add user 'kusi' to group 'sudo' (as root)
                          usermod -a -G sudo kusi
                          # set timezone (as root)
                          ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
                          dpkg-reconfigure -f noninteractive tzdata
                          #setup timeserver sync
                          systemctl status systemd-timesyncd
                          sed -i 's/#NTP=/NTP=192.168.1.1/' /etc/systemd/timesyncd.conf
                          timedatectl set-ntp off
                          timedatectl set-ntp on
                          systemctl status systemd-timesyncd
                          # keyboard layout (as root)
                          dpkg-reconfigure locales
                          # set a new hostname
                          hostnamectl set-hostname NAME
                          # after this: change the name in /etc/hosts with an editor manually
                          # switch user
                          su kusi
                          
                          
                          BBTown 1 Reply Last reply Reply Quote 0
                          • K
                            Kusi @BBTown last edited by

                            @bbtown
                            a8775ecd-a9ed-4740-8d7c-5f5d9633d031-image.png

                            Homoran crunchip BBTown 3 Replies Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Kusi last edited by Homoran

                              @kusi dann hast du einen user pi angelegt, der nicht der Gruppe sudo zugeordnet wurde, weil sudo noch nicht existierte

                              1 Reply Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @Kusi last edited by

                                @kusi du versucht als user pi sudo zu installieren

                                Homoran 1 Reply Last reply Reply Quote 0
                                • BBTown
                                  BBTown @Kusi last edited by BBTown

                                  @kusi

                                  folgendes als root ausführen

                                  usermod -aG sudo pi
                                  

                                  danach neu als "kusi" oder als "pi" anmelden

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

                                    @crunchip sagte in Iobroker auf intel Nuc:

                                    @kusi du versucht als user pi sudo zu installieren

                                    @crunchip sagte in Iobroker auf intel Nuc:

                                    @homoran sudo ist, bzw wird automatisch installiert, wenn ein user angelegt wird, also nur curl nachinstallieren

                                    :?:

                                    crunchip BBTown 2 Replies Last reply Reply Quote 0
                                    • K
                                      Kusi @BBTown last edited by

                                      @bbtown sagte in Iobroker auf intel Nuc:

                                      usermod -aG sudo pi

                                      Kommando nicht gefunden

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

                                        @homoran habs oben editiert, wenn beim install, root leer gelassen wird. Hier existiert doch ein ausführlicher Thread zum Thema VM erstellen in Proxmox
                                        habs rausgesucht https://forum.iobroker.net/topic/43476/iobroker-in-proxmox-auf-debian-bereitstellen?_=1625165072221

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          darkiop Most Active @Kusi last edited by

                                          @kusi sagte in Iobroker auf intel Nuc:

                                          @bbtown sagte in Iobroker auf intel Nuc:

                                          usermod -aG sudo pi

                                          Kommando nicht gefunden

                                          Du bist kein root mehr ... usermod als root, dann zum neuen User wechseln. Siehe oben ....

                                          K 1 Reply Last reply Reply Quote 0
                                          • BBTown
                                            BBTown @Homoran last edited by

                                            @homoran
                                            im Grunde laufe ich bei jedem Container und jeder VM diesen Ablauf durch:

                                            #Proxmox Einstellungen in jeder LXC/VM
                                            apt install sudo
                                            apt install curl -y # Installation über https
                                            dpkg-reconfigure tzdata #Zeitzone einstellen - Abfrage der Zeitzone mit "date"
                                            oder timedatectl set-local-rtc 1
                                            oder timedatectl set-timezone Europe/Berlin
                                            apt install ncdu -y  # ähnlich wie "treesize"
                                            apt install cifs-utils -y  # SMB Netzwerklaufwerke mounten
                                            apt install nfs-common -y  # NFS Laufwerke musik@szendeleit
                                            apt install net-tools
                                            apt install nmap -y
                                            apt install nethogs -y  # ausführen über: nethogs -v 3
                                            apt install neofetch -y # Systeminformationen Aufruf: neofetch
                                            apt install vsftpd -y # Eintellungen siehe weiter unten
                                            adduser <username>
                                            usermod -aG sudo <username> # einem User sudo Rechte geben
                                            
                                            # ftp Server auf LXC einrichten
                                            apt install vsftpd -y
                                            nano /etc/vsftpd.conf
                                            # Edit these lines, first disable anonymous FTP access for security purposes
                                            anonymous_enable=NO
                                            local_enable=YES
                                            write_enable=YES
                                            force_dot_files=YES
                                            nano /etc/ftpusers
                                            #root
                                            service vsftpd restart
                                            
                                            # ssh Zugriff in LXC Container zulassen
                                            # inside container, open /etc/ssh/sshd_config and change PermitRootLogin to yes.
                                            nano /etc/ssh/sshd_config
                                            # Authentication:
                                            LoginGraceTime 120
                                            StrictModes yes
                                            
                                            D 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

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            iobroker nuc
                                            13
                                            192
                                            19530
                                            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