虚拟机运行树莓派不能安装domoticz

安装、编译、权限、安全和启动问题请在此发帖提问。
版面规则
安装、编译、权限、安全和启动问题请在此发帖提问。
有问题请说明详细情况,有图的截图!
别只说一句安装不上,执行不了!
截图请截大图,别就截一行。。。
回复
piskarev
帖子: 3
注册时间: 周六 9月 02, 2017 09:41

虚拟机运行树莓派不能安装domoticz

帖子 piskarev »

我是在虚拟机里面运行的树莓派,安装domoticz的时候,用 sudo curl -L install.domoticz.cn | bash这条命令,最后显示
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: There are 78 updates available for your system!
::: We recommend you run 'apt-get upgrade' after installing Domoticz!
:::
::: Checking for apt-utils... installed!
::: Checking for whiptail... installed!
::: Checking for git... installed!
::: Checking for curl... installed!
::: Checking for libcurl3... installed!
::: Checking for unzip... installed!
::: Checking for wget... installed!
::: Checking for sudo... installed!
::: Checking for cron... installed!
::: Checking for libudev-dev... installed!
::: Downloading Domoticz
::: Current User: pi
HTTP Port: 9080
HTTPS Port: 543
:::
::: Destination folder=/home/pi/domoticz
--2017-09-02 02:56:11-- http://releases.domoticz.cn/download.ph ... chine=i686
Resolving releases.domoticz.cn (releases.domoticz.cn)... 180.150.226.150
Connecting to releases.domoticz.cn (releases.domoticz.cn)|180.150.226.150|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.domoticz.cn/download.php?ch ... chine=i686 [following]
--2017-09-02 02:56:12-- https://www.domoticz.cn/download.php?ch ... chine=i686
Resolving www.domoticz.cn (www.domoticz.cn)... 180.150.226.150
Connecting to www.domoticz.cn (www.domoticz.cn)|180.150.226.150|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: release/release/domoticz_linux_i686.tgz [following]
--2017-09-02 02:56:13-- https://www.domoticz.cn/release/release ... x_i686.tgz
Connecting to www.domoticz.cn (www.domoticz.cn)|180.150.226.150|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-09-02 02:56:13 ERROR 404: Not Found.
显示没找到安装文件。

如果用sudo curl -L install.domoticz.com | bash 这个。最后显示
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: There are 78 updates available for your system!
::: We recommend you run 'apt-get upgrade' after installing Domoticz!
:::
::: Checking for apt-utils... installed!
::: Checking for whiptail... installed!
::: Checking for git... installed!
::: Checking for curl... installed!
::: Checking for libcurl3... installed!
::: Checking for unzip... installed!
::: Checking for wget... installed!
::: Checking for sudo... installed!
::: Checking for cron... installed!
::: Checking for libudev-dev... installed!
::: Downloading Domoticz
::: Current User: pi
HTTP Port: 8080
HTTPS Port: 443
:::
::: Destination folder=/home/pi/domoticz
--2017-09-02 03:02:16-- http://www.domoticz.com/download.php?ch ... chine=i686
Resolving www.domoticz.com (www.domoticz.com)... 104.31.78.142, 104.31.79.142, 2400:cb00:2048:1::681f:4f8e, ...
Connecting to www.domoticz.com (www.domoticz.com)|104.31.78.142|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://releases.domoticz.com/releases/r ... x_i686.tgz [following]
--2017-09-02 03:02:17-- http://releases.domoticz.com/releases/r ... x_i686.tgz
Resolving releases.domoticz.com (releases.domoticz.com)... 104.31.78.142, 104.31.79.142, 2400:cb00:2048:1::681f:4f8e, ...
Reusing existing connection to www.domoticz.com:80.
HTTP request sent, awaiting response... 404 Not Found
2017-09-02 03:02:18 ERROR 404: Not Found.
两个地址不一样,但都找不到安装文件,
想请教一个这个是怎么回事??
头像
DT27
帖子: 345
注册时间: 周四 3月 30, 2017 08:54
Gender:

Re: 虚拟机运行树莓派不能安装domoticz

帖子 DT27 »

虚拟机平台是i686,Domoticz安装包没有这个平台的。
树莓派真机平台是armv7l。
你要虚拟机装的话,装个x86_64的Ubuntu吧。
piskarev
帖子: 3
注册时间: 周六 9月 02, 2017 09:41

Re: 虚拟机运行树莓派不能安装domoticz

帖子 piskarev »

好的,谢谢
chinesesich
帖子: 26
注册时间: 周二 6月 06, 2017 13:50

Re: 虚拟机运行树莓派不能安装domoticz

帖子 chinesesich »

DT27 写了: 周六 9月 02, 2017 11:02 虚拟机平台是i686,Domoticz安装包没有这个平台的。
树莓派真机平台是armv7l。
你要虚拟机装的话,装个x86_64的Ubuntu吧。
现在树莓派有Desktop版本了,可以虚拟机安装了。
ldyz223
帖子: 2
注册时间: 周五 3月 16, 2018 18:05

Re: 虚拟机运行树莓派不能安装domoticz

帖子 ldyz223 »

楼主,我顺便问一下。为什么我安装的时候就卡在Checking for libudev-dev...pi@rasberrypi,这样就不动了,是要继续等还是哪里出现问题了。。。
头像
Admin
网站管理员
帖子: 122
注册时间: 周六 2月 25, 2017 12:47
Gender:

Re: 虚拟机运行树莓派不能安装domoticz

帖子 Admin »

ldyz223 写了: 周五 4月 27, 2018 17:30 楼主,我顺便问一下。为什么我安装的时候就卡在Checking for libudev-dev...pi@rasberrypi,这样就不动了,是要继续等还是哪里出现问题了。。。
先确认你的软件源没问题,你是不是修改过软件源?

代码: 全选

sudo apt-get install libudev-dev
回复