Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Русский
  3. ioBroker
  4. ioBroker установка и конфигурация
  5. Инсталляция под Linux

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.4k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.5k

Инсталляция под Linux

Geplant Angeheftet Gesperrt Verschoben ioBroker установка и конфигурация
256 Beiträge 29 Kommentatoren 95.1k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • I Offline
    I Offline
    IZUM
    schrieb am zuletzt editiert von
    #72

    Нетбук linux14.10

    Делаю все по дефолтной инструкции, после команды checkinstall (установка node_js) выводится следующее
    284_2.png

    1 Antwort Letzte Antwort
    0
    • BluefoxB Offline
      BluefoxB Offline
      Bluefox
      schrieb am zuletzt editiert von
      #73

      @IZUM:

      Нетбук linux14.10

      Делаю все по дефолтной инструкции, после команды checkinstall (установка node_js) выводится следующее `
      У тебя x86/x64 ?
      983_java.jpg
      983_beispiel.jpg

      1 Antwort Letzte Antwort
      0
      • I Offline
        I Offline
        IZUM
        schrieb am zuletzt editiert von
        #74

        x86.

        1 Antwort Letzte Antwort
        0
        • E Offline
          E Offline
          electric69
          schrieb am zuletzt editiert von
          #75

          @IZUM:

          Нетбук linux14.10

          Делаю все по дефолтной инструкции, после команды checkinstall (установка node_js) выводится следующее `
          А зачем собирать из исходников?

          Есть же https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager по добавлению сорцов в apt-get и нормальной установкой…

          Я устанавливал именно так.

          Разработчики сами https://github.com/joyent/node/wiki/Installation#building-on-linux, что есть много способов установки node.js, можно установить и через менеджер пакетов.
          @Bluefox:

          У тебя x86/x64 ? `
          Судя по скриншоту (название хоста), используется eMachines на intel Atom N450, типа http://market.yandex.ru/product/6376774/?hid=91013&clid=502. ;)

          1 Antwort Letzte Antwort
          0
          • BluefoxB Offline
            BluefoxB Offline
            Bluefox
            schrieb am zuletzt editiert von
            #76

            @IZUM:

            x86. `
            А так не работает?

            sudo apt-get update
            sudo apt-get install nodejs
            sudo apt-get install npm
            
            
            1 Antwort Letzte Antwort
            0
            • BluefoxB Offline
              BluefoxB Offline
              Bluefox
              schrieb am zuletzt editiert von
              #77

              Или так:

              curl -sL https://deb.nodesource.com/setup | sudo bash -
              sudo apt-get install -y nodejs
              
              

              Взято отсюда: https://github.com/joyent/node/wiki/ins … ge-manager

              1 Antwort Letzte Antwort
              0
              • V Offline
                V Offline
                vtec
                schrieb am zuletzt editiert von
                #78

                @Bluefox:

                Или так:

                curl -sL https://deb.nodesource.com/setup | sudo bash -
                sudo apt-get install -y nodejs
                
                

                Взято отсюда: https://github.com/joyent/node/wiki/ins … ge-manager `

                Попробовал установить по данному методу, работает, node.js установился на 64 битную машину версии 0.10.37.

                1 Antwort Letzte Antwort
                0
                • I Offline
                  I Offline
                  IZUM
                  schrieb am zuletzt editiert von
                  #79

                  @Bluefox:

                  @IZUM:

                  x86. `
                  А так не работает?

                  sudo apt-get update
                  sudo apt-get install nodejs
                  sudo apt-get install npm
                  
                  ```` `  
                  

                  Спасибо, вроде поставилось)

                  1 Antwort Letzte Antwort
                  0
                  • I Offline
                    I Offline
                    IZUM
                    schrieb am zuletzt editiert von
                    #80

                    Теперь при установке iobroker появились проблемы, удаление папки iodroker и очистка кэш не помогли :cry:
                    284_2.png

                    1 Antwort Letzte Antwort
                    0
                    • V Offline
                      V Offline
                      vtec
                      schrieb am zuletzt editiert von
                      #81

                      во, у меня то же самое, очистка кэша не помогла.

                      1 Antwort Letzte Antwort
                      0
                      • BluefoxB Offline
                        BluefoxB Offline
                        Bluefox
                        schrieb am zuletzt editiert von
                        #82

                        Только что проверил на новой debian:

                        root@bluefox4:/opt# ls
                        iobroker
                        root@bluefox4:/opt# cd iobroker/
                        root@bluefox4:/opt/iobroker# npm install iobroker
                        
                        > iobroker@0.5.1 install /opt/iobroker/node_modules/iobroker
                        > node lib/setup.js
                        
                        npm install iobroker.js-controller --production --silent --prefix "/opt/iobroker/node_modules/iobroker/lib/../../../"
                        npm install iobroker.admin --production --silent --prefix "/opt/iobroker/node_modules/iobroker/lib/../../../"
                        Write "./iobroker start" to start the ioBroker
                        Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
                        iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
                        iobroker@0.5.1 node_modules/iobroker
                        └── yargs@1.2.6 (minimist@0.1.0)
                        root@bluefox4:/opt/iobroker# ps -A
                          PID TTY          TIME CMD
                            1 ?        00:00:00 init
                            2 ?        00:00:00 kthreadd/679991
                            3 ?        00:00:00 khelper/679991
                           89 ?        00:00:00 upstart-udev-br
                           97 ?        00:00:00 udevd
                          127 ?        00:00:00 udevd
                          130 ?        00:00:00 udevd
                          201 ?        00:00:00 upstart-socket-
                         1635 ?        00:00:00 named
                         1668 ?        00:00:00 rsyslogd
                         1713 ?        00:00:00 saslauthd
                         1714 ?        00:00:00 saslauthd
                         1780 ?        00:00:00 sendmail-mta
                         1864 ?        00:00:00 xinetd
                         1883 ?        00:00:00 apache2
                         1886 ?        00:00:00 apache2
                         1927 ?        00:00:00 cron
                         1977 ?        00:00:00 ptyserved
                         1980 ?        00:00:00 nginx
                         1981 ?        00:00:00 nginx
                         1988 ?        00:00:00 node
                         1993 tty1     00:00:00 getty
                         1995 tty2     00:00:00 getty
                         2004 ?        00:00:02 Terminal server
                         2295 ?        00:00:00 sshd
                         2354 pts/1    00:00:00 su
                         2355 pts/1    00:00:00 bash
                         2559 ?        00:00:00 io.js-controlle
                         2565 ?        00:00:00 io.admin.0
                         2571 pts/1    00:00:00 ps
                        root@bluefox4:/opt/iobroker#  
                        root@bluefox4:/opt/iobroker# node -v
                        v0.10.29
                        
                        
                        1 Antwort Letzte Antwort
                        0
                        • E Offline
                          E Offline
                          electric69
                          schrieb am zuletzt editiert von
                          #83

                          @Bluefox:

                          Только что проверил на новой debian `
                          Может такая ошибка только после ручного удаления iobroker и потом новой установки?

                          1 Antwort Letzte Antwort
                          0
                          • V Offline
                            V Offline
                            vtec
                            schrieb am zuletzt editiert von
                            #84

                            Я устанавливал с нуля, единственное отличие это версии node

                            Вот что пишет при установке iobroker.js-controller:

                            root@test:/opt/iobroker# npm install iobroker.js-controller
                            npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"0.10.37","npm":"1.4.28"})
                            npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"0.10.37","npm":"1.4.28"})
                            npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"0.10.37","npm":"1.4.28"})
                            npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"0.10.37","npm":"1.4.28"})
                            npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"0.10.37","npm":"1.4.28"})
                            
                            > ws@0.4.31 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
                            > (node-gyp rebuild 2> builderror.log) || (exit 0)
                            
                            make: Вход в каталог `/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
                              CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
                              SOLINK_MODULE(target) Release/obj.target/bufferutil.node
                              SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
                              COPY Release/bufferutil.node
                              CXX(target) Release/obj.target/validation/src/validation.o
                              SOLINK_MODULE(target) Release/obj.target/validation.node
                              SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
                              COPY Release/validation.node
                            make: Выход из каталога `/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'
                            
                            > ws@0.5.0 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io/node_modules/engine.io/node_modules/ws
                            > (node-gyp rebuild 2> builderror.log) || (exit 0)
                            
                            make: Вход в каталог `/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
                              CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
                              SOLINK_MODULE(target) Release/obj.target/bufferutil.node
                              SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
                              COPY Release/bufferutil.node
                              CXX(target) Release/obj.target/validation/src/validation.o
                              SOLINK_MODULE(target) Release/obj.target/validation.node
                              SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
                              COPY Release/validation.node
                            make: Выход из каталога `/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build'
                            
                            > iobroker.js-controller@0.5.15 install /opt/iobroker/node_modules/iobroker.js-controller
                            > node lib/setup.js setup first
                            
                            creating conf/iobroker.json
                            
                            fs.js:654
                              return binding.mkdir(pathModule._makeLong(path),
                                             ^
                            Error: EACCES, permission denied '/opt/iobroker/node_modules/iobroker.js-controller/lib/../../../iobroker-data/'
                                at Object.fs.mkdirSync (fs.js:654:18)
                                at mkpathSync (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:821:20)
                                at setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:903:9)
                                at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:305:13)
                                at Module._compile (module.js:456:26)
                                at Object.Module._extensions..js (module.js:474:10)
                                at Module.load (module.js:356:32)
                                at Function.Module._load (module.js:312:12)
                                at Function.Module.runMain (module.js:497:10)
                                at startup (node.js:119:16)
                            
                            npm ERR! iobroker.js-controller@0.5.15 install: `node lib/setup.js setup first`
                            npm ERR! Exit status 8
                            npm ERR! 
                            npm ERR! Failed at the iobroker.js-controller@0.5.15 install script.
                            npm ERR! This is most likely a problem with the iobroker.js-controller package,
                            npm ERR! not with npm itself.
                            npm ERR! Tell the author that this fails on your system:
                            npm ERR!     node lib/setup.js setup first
                            npm ERR! You can get their info via:
                            npm ERR!     npm owner ls iobroker.js-controller
                            npm ERR! There is likely additional logging output above.
                            npm ERR! System Linux 3.13.0-45-generic
                            npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller"
                            npm ERR! cwd /opt/iobroker
                            npm ERR! node -v v0.10.37
                            npm ERR! npm -v 1.4.28
                            npm ERR! code ELIFECYCLE
                            npm ERR! not ok code 0</anonymous> 
                            
                            1 Antwort Letzte Antwort
                            0
                            • BluefoxB Offline
                              BluefoxB Offline
                              Bluefox
                              schrieb am zuletzt editiert von
                              #85

                              Не может создать папку 'iobroker-data' в /opt/iobroker

                              EACCES, permission denied '/opt/iobroker/node_modules/iobroker.js-controller/lib/../../../iobroker-data/'
                              

                              дай ручками права на папку

                              chmod 777 /opt/iobroker
                              

                              и вызывай:

                              sudo npm install iobroker.js-controller
                              
                              

                              А почему ты вызываешь установку iobroker.js-controller, а не iobroker ?

                              1 Antwort Letzte Antwort
                              0
                              • V Offline
                                V Offline
                                vtec
                                schrieb am zuletzt editiert von
                                #86

                                @Bluefox:

                                Не может создать папку 'iobroker-data' в /opt/iobroker

                                дай ручками права на папку

                                chmod 777 /opt/iobroker
                                ```` `  
                                

                                Получилось, странно, что под рутом делал и не хватило прав.

                                @Bluefox:

                                А почему ты вызываешь установку iobroker.js-controller, а не iobroker ? `
                                Хочу попробовать подключить WebStorm и по изучать. Может созрею на написание какого нибудь драйвера :)

                                1 Antwort Letzte Antwort
                                0
                                • I Offline
                                  I Offline
                                  IZUM
                                  schrieb am zuletzt editiert von
                                  #87

                                  Ну если советов нет, то буду переустанавлиать линукс и пробовать ставить на чистый линукс.

                                  1 Antwort Letzte Antwort
                                  0
                                  • BluefoxB Offline
                                    BluefoxB Offline
                                    Bluefox
                                    schrieb am zuletzt editiert von
                                    #88

                                    @IZUM:

                                    Ну если советов нет, то буду переустанавлиать линукс и пробовать ставить на чистый линукс. `

                                    sudo rm -rf /opt/iobroker
                                    mkdir /opt/iobroker
                                    sudo chmod 777 /opt/iobroker
                                    sudo npm install iobroker
                                    
                                    
                                    1 Antwort Letzte Antwort
                                    0
                                    • I Offline
                                      I Offline
                                      IZUM
                                      schrieb am zuletzt editiert von
                                      #89

                                      @Bluefox:

                                      @IZUM:

                                      Ну если советов нет, то буду переустанавлиать линукс и пробовать ставить на чистый линукс. `

                                      sudo rm -rf /opt/iobroker
                                      mkdir /opt/iobroker
                                      sudo chmod 777 /opt/iobroker
                                      sudo npm install iobroker
                                      
                                      ```` `  
                                      

                                      Процесс переустановки линукс уже идет полным ходом))

                                      1 Antwort Letzte Antwort
                                      0
                                      • I Offline
                                        I Offline
                                        IZUM
                                        schrieb am zuletzt editiert von
                                        #90

                                        @Bluefox:

                                        @IZUM:

                                        Ну если советов нет, то буду переустанавлиать линукс и пробовать ставить на чистый линукс. `

                                        sudo rm -rf /opt/iobroker
                                        mkdir /opt/iobroker
                                        sudo chmod 777 /opt/iobroker
                                        sudo npm install iobroker
                                        
                                        ```` `  
                                        

                                        после переустановки линукс, назначение прав не помогает…........

                                        izum@izum-eM350:/opt/iobroker$ cd /opt
                                        izum@izum-eM350:/opt$ sudo mkdir iobroker
                                        izum@izum-eM350:/opt$ sudo chmod 777 /opt/iobroker
                                        izum@izum-eM350:/opt$ sudo npm install iobroker
                                        npm http GET https://registry.npmjs.org/iobroker
                                        
                                        npm ERR! Error: failed to fetch from registry: iobroker
                                        npm ERR!     at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
                                        npm ERR!     at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
                                        npm ERR!     at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
                                        npm ERR!     at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
                                        npm ERR!     at Request. <anonymous>(/usr/lib/nodejs/request/main.js:212:58)
                                        npm ERR!     at Request.emit (events.js:88:20)
                                        npm ERR!     at ClientRequest. <anonymous>(/usr/lib/nodejs/request/main.js:412:12)
                                        npm ERR!     at ClientRequest.emit (events.js:67:17)
                                        npm ERR!     at HTTPParser.onIncoming (http.js:1261:11)
                                        npm ERR!     at HTTPParser.onHeadersComplete (http.js:102:31)
                                        npm ERR! You may report this log at:
                                        npm ERR!     <http: bugs.debian.org/npm="">npm ERR! or use
                                        npm ERR!     reportbug --attach /opt/npm-debug.log npm
                                        npm ERR! 
                                        npm ERR! System Linux 3.13.0-32-generic
                                        npm ERR! command "node" "/usr/bin/npm" "install" "iobroker"
                                        npm ERR! cwd /opt
                                        npm ERR! node -v v0.6.12
                                        npm ERR! npm -v 1.1.4
                                        npm ERR! message failed to fetch from registry: iobroker
                                        npm ERR! 
                                        npm ERR! Additional logging details can be found in:
                                        npm ERR!     /opt/npm-debug.log
                                        npm not ok</http:></anonymous></anonymous> 
                                        
                                        1 Antwort Letzte Antwort
                                        0
                                        • V Offline
                                          V Offline
                                          vtec
                                          schrieb am zuletzt editiert von
                                          #91

                                          Попробуй так, что напишет

                                          cd /opt/iobroker
                                          sudo npm install iobroker.js-controller
                                          
                                          
                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          862

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe