『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: guoyang881017

在树莓派4B上安装hassio

  [复制链接]

0

主题

1

帖子

18

积分

新手上路

Rank: 1

积分
18
金钱
17
HASS币
0
发表于 2020-6-5 00:07:29 | 显示全部楼层
为啥我装完了之后左边没有hass.io啊。。。。
我吐了啊
回复

使用道具 举报

0

主题

61

帖子

1137

积分

金牌会员

Rank: 6Rank: 6

积分
1137
金钱
1076
HASS币
0
发表于 2020-6-5 11:57:04 | 显示全部楼层
謝謝分享:)
回复

使用道具 举报

0

主题

12

帖子

50

积分

注册会员

Rank: 2

积分
50
金钱
38
HASS币
0
发表于 2020-7-20 16:27:38 | 显示全部楼层
学习学习
回复

使用道具 举报

0

主题

92

帖子

729

积分

论坛积极会员

积分
729
金钱
637
HASS币
0
发表于 2020-8-2 06:59:07 | 显示全部楼层
看看最新的教程
回复

使用道具 举报

65

主题

853

帖子

3044

积分

论坛元老

Rank: 8Rank: 8

积分
3044
金钱
2184
HASS币
40
发表于 2020-9-18 22:06:45 | 显示全部楼层
最近打算入手4B+问一下楼主,4B选的4G 还是8G版本的?性能提升到底大不大?
回复

使用道具 举报

3

主题

120

帖子

674

积分

论坛积极会员

积分
674
金钱
554
HASS币
0
 楼主| 发表于 2020-9-28 15:23:10 | 显示全部楼层
plutosherry 发表于 2020-9-18 22:06
最近打算入手4B+问一下楼主,4B选的4G 还是8G版本的?性能提升到底大不大?

单纯跑hassio的话,2G就够了,4G都是浪费
回复

使用道具 举报

65

主题

853

帖子

3044

积分

论坛元老

Rank: 8Rank: 8

积分
3044
金钱
2184
HASS币
40
发表于 2020-9-29 10:40:58 | 显示全部楼层
guoyang881017 发表于 2020-9-28 15:23
单纯跑hassio的话,2G就够了,4G都是浪费

呃。。。。就是不但单纯跑hass,在docker下部署了不少其他的东西。
回复

使用道具 举报

65

主题

853

帖子

3044

积分

论坛元老

Rank: 8Rank: 8

积分
3044
金钱
2184
HASS币
40
发表于 2020-9-29 13:27:34 | 显示全部楼层
本帖最后由 plutosherry 于 2020-9-29 13:31 编辑
wget https://code.aliyun.com/neroxps/hassio_install/raw/master/install.sh

经测试neroxps的一键脚本已不适用于raspberry pi 4(8G)版。该换手动安装。以下是出错信息。
正在设置 auditd (1:2.8.4-3) ...
Job for auditd.service failed because the control process exited with error code.
See "systemctl status auditd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript auditd, action "start" failed.
● auditd.service - Security Auditing Service
   Loaded: loaded (/lib/systemd/system/auditd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-09-29 13:17:35 CST; 15ms ago
     Docs: man:auditd(8)
           https://github.com/linux-audit/audit-documentation
  Process: 4159 ExecStart=/sbin/auditd (code=exited, status=1/FAILURE)

9月 29 13:17:35 hassio systemd[1]: Starting Security Auditing Service...
9月 29 13:17:35 hassio auditd[4160]: Error - audit support not in kernel
9月 29 13:17:35 hassio systemd[1]: auditd.service: Control process exited, code=exited, status=1/FAILURE
9月 29 13:17:35 hassio auditd[4160]: Cannot open netlink audit socket
9月 29 13:17:35 hassio auditd[4160]: The audit daemon is exiting.
9月 29 13:17:35 hassio systemd[1]: auditd.service: Failed with result 'exit-code'.
9月 29 13:17:35 hassio systemd[1]: Failed to start Security Auditing Service.
dpkg: 处理软件包 auditd (--configure)时出错:
 已安装 auditd 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
 auditd
E: Sub-process /usr/bin/dpkg returned an error code (1)

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
########################### System version 2 ###########################
Linux version 5.4.51-v8+ (dom@buildbot) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)) #1333 SMP PREEMPT Mon Aug 10 16:58:35 BST 2020
########################### System info ###########################
Linux hassio 5.4.51-v8+ #1333 SMP PREEMPT Mon Aug 10 16:58:35 BST 2020 aarch64 GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装socat失败,请将检查上方安装错误信息。\033[0m
auditd服务启动出错。。。。导致一键安装中断了
回复

使用道具 举报

0

主题

34

帖子

350

积分

中级会员

Rank: 3Rank: 3

积分
350
金钱
316
HASS币
0
发表于 2020-10-11 15:24:06 | 显示全部楼层
[info]: 安装 hassio 必要依赖.....
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster InRelease
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/raspberrypi buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
76 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
apparmor is already the newest version (2.13.2-10).
apparmor set to manually installed.
apparmor-utils is already the newest version (2.13.2-10).
avahi-daemon is already the newest version (0.7-4+b1).
curl is already the newest version (7.64.0-4+deb10u1).
jq is already the newest version (1.5+dfsg-2+b1).
net-tools is already the newest version (1.60+git20180626.aebd88e-1).
network-manager is already the newest version (1.14.6-2+deb10u1).
socat is already the newest version (1.7.3.2-2).
The following additional packages will be installed:
  libauparse0 libqrencode4
Suggested packages:
  audispd-plugins
The following NEW packages will be installed:
  auditd libauparse0 libqrencode4 qrencode
0 upgraded, 4 newly installed, 0 to remove and 76 not upgraded.
Need to get 326 kB of archives.
After this operation, 868 kB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster/main armhf libauparse0 armhf 1:2.8.4-3 [61.9 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster/main armhf auditd armhf 1:2.8.4-3 [193 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster/main armhf libqrencode4 armhf 4.0.2-1 [33.9 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster/main armhf qrencode armhf 4.0.2-1 [37.8 kB]
Fetched 326 kB in 2s (210 kB/s)
Selecting previously unselected package libauparse0:armhf.
(Reading database ... 94722 files and directories currently installed.)
Preparing to unpack .../libauparse0_1%3a2.8.4-3_armhf.deb ...
Unpacking libauparse0:armhf (1:2.8.4-3) ...
Selecting previously unselected package auditd.
Preparing to unpack .../auditd_1%3a2.8.4-3_armhf.deb ...
Unpacking auditd (1:2.8.4-3) ...
Selecting previously unselected package libqrencode4:armhf.
Preparing to unpack .../libqrencode4_4.0.2-1_armhf.deb ...
Unpacking libqrencode4:armhf (4.0.2-1) ...
Selecting previously unselected package qrencode.
Preparing to unpack .../qrencode_4.0.2-1_armhf.deb ...
Unpacking qrencode (4.0.2-1) ...
Setting up libqrencode4:armhf (4.0.2-1) ...
Setting up qrencode (4.0.2-1) ...
Setting up libauparse0:armhf (1:2.8.4-3) ...
Setting up auditd (1:2.8.4-3) ...
Created symlink /etc/systemd/system/multi-user.target.wants/auditd.service → /lib/systemd/system/auditd.service.
Job for auditd.service failed because the control process exited with error code.
See "systemctl status auditd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript auditd, action "start" failed.
● auditd.service - Security Auditing Service
   Loaded: loaded (/lib/systemd/system/auditd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2020-10-11 15:19:34 CST; 22ms ago
     Docs: man:auditd(8)
           https://github.com/linux-audit/audit-documentation
  Process: 3309 ExecStart=/sbin/auditd (code=exited, status=1/FAILURE)

Oct 11 15:19:34 raspberrypi systemd[1]: Starting Security Auditing Service...
Oct 11 15:19:34 raspberrypi auditd[3310]: Error - audit support not in kernel
Oct 11 15:19:34 raspberrypi auditd[3310]: Cannot open netlink audit socket
Oct 11 15:19:34 raspberrypi auditd[3310]: The audit daemon is exiting.
Oct 11 15:19:34 raspberrypi systemd[1]: auditd.service: Control process exited, code=exited, status=1/FAILURE
Oct 11 15:19:34 raspberrypi auditd[3309]: Cannot daemonize (Success)
Oct 11 15:19:34 raspberrypi systemd[1]: auditd.service: Failed with result 'exit-code'.
Oct 11 15:19:34 raspberrypi auditd[3309]: The audit daemon is exiting.
Oct 11 15:19:34 raspberrypi systemd[1]: Failed to start Security Auditing Service.
dpkg: error processing package auditd (--configure):
installed auditd package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (241-7~deb10u4+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Errors were encountered while processing:
auditd
E: Sub-process /usr/bin/dpkg returned an error code (1)

################# 发到论坛时,请把上方日志也一并粘贴发送 ################
########################### System version ###########################
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
########################### System version 2 ###########################
Linux version 5.4.51-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1333 SMP Mon Aug 10 16:51:40 BST 2020
########################### System info ###########################
Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
########################### END ###########################
\033[0;31m[ERROR]: 安装curl失败,请将检查上方安装错误信息。\033[0m

相关问题可以访问https://bbs.iobroker.cn或者加QQ群776817275咨询
回复

使用道具 举报

1

主题

42

帖子

442

积分

论坛积极会员

积分
442
金钱
400
HASS币
0
发表于 2021-1-2 21:45:32 | 显示全部楼层
学习一下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-23 09:32 , Processed in 0.063261 second(s), 36 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表