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

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

[基础教程] 【六神分享】Raspbian无人值守 一键安装Docker+Hassio 支持3B+

  [复制链接]

175

主题

2967

帖子

7606

积分

超级版主

我就是六神

Rank: 8Rank: 8

积分
7606
金钱
4614
HASS币
398

活跃会员教程狂人灌水之王

QQ
 楼主| 发表于 2018-7-16 12:21:43 | 显示全部楼层
aaa 发表于 2018-7-15 17:42
大佬如何为  samba 配置用户密码,这样暴露不太好吧

论坛有很多教程 呢
回复

使用道具 举报

34

主题

335

帖子

1848

积分

金牌会员

Rank: 6Rank: 6

积分
1848
金钱
1513
HASS币
0
发表于 2018-7-16 13:28:53 | 显示全部楼层
本帖最后由 aaa 于 2018-7-16 13:31 编辑
jyz_0501 发表于 2018-7-16 12:21
论坛有很多教程 呢
[global]
netbios name = raspberrypi
server string = The Pi File Center
workgroup = WORKGROUP
hosts allow =
remote announce =
remote browse sync =
create mask = 0777
directory mask = 0777
force user = root
force create mode = 0777
force directory mode = 0777
hosts allow = 
security = user

[Home Assistant] 
path = /usr/share/hassio
comment = No comment
browsable = yes
read only = no
valid users = pi
writable = yes
guest ok = yes
public = yes


[Pi Home] 
path = /
comment = No comment
browsable = yes
read only = no
valid users = pi
writable = yes
guest ok = yes
public = yes


[Pi Share] 
path = /home/pi
comment = No comment
browsable = yes
read only = no
valid users = pi
writable = yes
guest ok = yes
public = yes

sudo smbpasswd -a pi

设置好密码后,就提示没有权限访问了,不知道哪里出错了,麻烦大佬分析一下


回复

使用道具 举报

175

主题

2967

帖子

7606

积分

超级版主

我就是六神

Rank: 8Rank: 8

积分
7606
金钱
4614
HASS币
398

活跃会员教程狂人灌水之王

QQ
 楼主| 发表于 2018-7-16 13:40:48 | 显示全部楼层
aaa 发表于 2018-7-16 13:28
[code][global]
netbios name = raspberrypi
server string = The Pi File Cente ...

默认的是分配给了pi 用户的权限  你是用什么用户设置的密码
回复

使用道具 举报

34

主题

335

帖子

1848

积分

金牌会员

Rank: 6Rank: 6

积分
1848
金钱
1513
HASS币
0
发表于 2018-7-16 13:43:49 | 显示全部楼层
jyz_0501 发表于 2018-7-16 13:40
默认的是分配给了pi 用户的权限  你是用什么用户设置的密码

pi@raspberrypi:
回复

使用道具 举报

34

主题

335

帖子

1848

积分

金牌会员

Rank: 6Rank: 6

积分
1848
金钱
1513
HASS币
0
发表于 2018-7-16 13:54:52 | 显示全部楼层
不知道哪里搞错了,新建的用户名试了好多,都是不行,正在找资料,关键不知道哪里错了,看文档跟天书一样
回复

使用道具 举报

0

主题

39

帖子

340

积分

中级会员

Rank: 3Rank: 3

积分
340
金钱
301
HASS币
0
发表于 2018-7-17 14:40:13 | 显示全部楼层
这是什么情况
RC6W1)DB29SAD}$U{2SU[]6.png
回复

使用道具 举报

0

主题

70

帖子

406

积分

中级会员

Rank: 3Rank: 3

积分
406
金钱
336
HASS币
0
发表于 2018-7-21 13:17:47 | 显示全部楼层
按照楼主教程成功安装,网关下的子设备都识别了,yeelight吸顶灯也成功了,但是家里还有厨下式净水器,空气净化器pro,扫地机,加湿器等等,还没接入homeassistant,wifi设备要通过miio接入,可是论坛始终也没见专门针对docker hassio接入WiFi设备的详细教程,望大神再出一个教程。
回复

使用道具 举报

175

主题

2967

帖子

7606

积分

超级版主

我就是六神

Rank: 8Rank: 8

积分
7606
金钱
4614
HASS币
398

活跃会员教程狂人灌水之王

QQ
 楼主| 发表于 2018-8-7 10:53:26 | 显示全部楼层
本帖最后由 jyz_0501 于 2018-8-7 11:15 编辑

以下为用时12分钟的全部会话


login as: pi
[url=mailto:[email protected]][email protected][/url]'s password:
Linux raspberrypi 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Aug  7 02:21:20 2018

SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.


Wi-Fi is disabled because the country is not set.
Use raspi-config to set the country before use.

pi@raspberrypi:~ $ cd /tmp
pi@raspberrypi:/tmp $ sudo nano docker_hassio.sh
pi@raspberrypi:/tmp $ sudo chmod u+x docker_hassio.sh
pi@raspberrypi:/tmp $ sudo ./docker_hassio.sh 1>&2

02:22:27一键安装脚本开始执行
deb [url=http://mirrors.aliyun.com/raspbian/raspbian/]http://mirrors.aliyun.com/raspbian/raspbian/[/url] stretch main non-free contrib
#deb [url=http://mirrors.ustc.edu.cn/raspbian/raspbian/]http://mirrors.ustc.edu.cn/raspbian/raspbian/[/url] stretch main non-free contrib
deb-src [url=http://mirrors.aliyun.com/raspbian/raspbian/]http://mirrors.aliyun.com/raspbian/raspbian/[/url] stretch main non-free contrib
#deb-src [url=http://mirrors.ustc.edu.cn/raspbian/raspbian/]http://mirrors.ustc.edu.cn/raspbian/raspbian/[/url] stretch main non-free contrib
#deb [url=http://mirrors.aliyun.com/debian/]http://mirrors.aliyun.com/debian/[/url] stretch main ui
deb [url=http://mirrors.ustc.edu.cn/raspbian/raspbian/]http://mirrors.ustc.edu.cn/raspbian/raspbian/[/url] stretch main ui

02:22:30>>>>>>>>>>更新源软件库<<<<<<<<<<
Get:1 [url=http://mirrors.ustc.edu.cn/raspbian/raspbian]http://mirrors.ustc.edu.cn/raspbian/raspbian[/url] stretch InRelease [15.0 kB]
Get:2 [url=http://mirrors.ustc.edu.cn/raspbian/raspbian]http://mirrors.ustc.edu.cn/raspbian/raspbian[/url] stretch/main armhf Packages [11.7 MB]
Get:3 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch InRelease [15.0 kB]
Get:4 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/contrib Sources [75.2 kB]
Get:5 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main Sources [9,716 kB]
Get:6 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/non-free Sources [125 kB]
Get:7 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf Packages [11.7 MB]
Get:8 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/non-free armhf Packages [95.2 kB]
Get:9 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/contrib armhf Packages [56.9 kB]
Fetched 33.4 MB in 23s (1,422 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  ca-certificates dpkg dpkg-dev file fuse libcups2 libcupsimage2 libdpkg-perl
  libexiv2-14 libfaad2 libfuse2 libgs9 libgs9-common libmagic-mgc libmagic1
  libpam-systemd libsoup-gnome2.4-1 libsoup2.4-1 libsystemd0 libudev1 patch
  shared-mime-info systemd systemd-sysv tzdata udev
26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.0 MB of archives.
After this operation, 14.3 kB of additional disk space will be used.
Get:1 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf dpkg armhf 1.18.25 [2,055 kB]
Get:2 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf systemd-sysv armhf 232-25+deb9u4 [81.3 kB]
Get:3 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libpam-systemd armhf 232-25+deb9u4 [174 kB]
Get:4 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libsystemd0 armhf 232-25+deb9u4 [257 kB]
Get:5 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf systemd armhf 232-25+deb9u4 [2,220 kB]
Get:6 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf udev armhf 232-25+deb9u4 [1,072 kB]
Get:7 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libudev1 armhf 232-25+deb9u4 [120 kB]
Get:8 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf tzdata all 2018e-0+deb9u1 [267 kB]
Get:9 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf file armhf 1:5.30-1+deb9u2 [63.6 kB]
Get:10 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libmagic1 armhf 1:5.30-1+deb9u2 [105 kB]
Get:11 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libmagic-mgc armhf 1:5.30-1+deb9u2 [222 kB]
Get:12 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf dpkg-dev all 1.18.25 [1,595 kB]
Get:13 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libdpkg-perl all 1.18.25 [1,287 kB]
Get:14 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf patch armhf 2.7.5-1+deb9u1 [99.4 kB]
Get:15 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf ca-certificates all 20161130+nmu1+deb9u1 [182 kB]
Get:16 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf fuse armhf 2.9.7-1+deb9u1 [69.0 kB]
Get:17 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libfuse2 armhf 2.9.7-1+deb9u1 [115 kB]
Get:18 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libcupsimage2 armhf 2.2.1-8+deb9u2 [120 kB]
Get:19 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libcups2 armhf 2.2.1-8+deb9u2 [273 kB]
Get:20 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libexiv2-14 armhf 0.25-3.1+deb9u1 [618 kB]
Get:21 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libfaad2 armhf 2.8.0~cvs20161113-1+deb9u1 [151 kB]
Get:22 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libgs9 armhf 9.20~dfsg-3.2+deb9u2 [1,735 kB]
Get:23 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libgs9-common all 9.20~dfsg-3.2+deb9u2 [5,161 kB]
Get:24 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libsoup2.4-1 armhf 2.56.0-2+deb9u2 [248 kB]
Get:25 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libsoup-gnome2.4-1 armhf 2.56.0-2+deb9u2 [16.3 kB]
Get:26 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf shared-mime-info armhf 1.8-1+deb9u1 [728 kB]
Fetched 19.0 MB in 4s (4,332 kB/s)
apt-listchanges: Reading changelogs...
Preconfiguring packages ...
(Reading database ... 115448 files and directories currently installed.)
Preparing to unpack .../dpkg_1.18.25_armhf.deb ...
Unpacking dpkg (1.18.25) over (1.18.24) ...
Setting up dpkg (1.18.25) ...
(Reading database ... 115448 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_232-25+deb9u4_armhf.deb ...
Unpacking systemd-sysv (232-25+deb9u4) over (232-25+deb9u2) ...
Preparing to unpack .../libpam-systemd_232-25+deb9u4_armhf.deb ...
Unpacking libpam-systemd:armhf (232-25+deb9u4) over (232-25+deb9u2) ...
Preparing to unpack .../libsystemd0_232-25+deb9u4_armhf.deb ...
Unpacking libsystemd0:armhf (232-25+deb9u4) over (232-25+deb9u2) ...
Setting up libsystemd0:armhf (232-25+deb9u4) ...
(Reading database ... 115448 files and directories currently installed.)
Preparing to unpack .../systemd_232-25+deb9u4_armhf.deb ...
Unpacking systemd (232-25+deb9u4) over (232-25+deb9u2) ...
Preparing to unpack .../udev_232-25+deb9u4_armhf.deb ...
Unpacking udev (232-25+deb9u4) over (232-25+deb9u2) ...
Preparing to unpack .../libudev1_232-25+deb9u4_armhf.deb ...
Unpacking libudev1:armhf (232-25+deb9u4) over (232-25+deb9u2) ...
Setting up libudev1:armhf (232-25+deb9u4) ...
(Reading database ... 115448 files and directories currently installed.)
Preparing to unpack .../00-tzdata_2018e-0+deb9u1_all.deb ...
Unpacking tzdata (2018e-0+deb9u1) over (2018c-0+deb9u1) ...
Preparing to unpack .../01-file_1%3a5.30-1+deb9u2_armhf.deb ...
Unpacking file (1:5.30-1+deb9u2) over (1:5.30-1+deb9u1) ...
Preparing to unpack .../02-libmagic1_1%3a5.30-1+deb9u2_armhf.deb ...
Unpacking libmagic1:armhf (1:5.30-1+deb9u2) over (1:5.30-1+deb9u1) ...
Preparing to unpack .../03-libmagic-mgc_1%3a5.30-1+deb9u2_armhf.deb ...
Unpacking libmagic-mgc (1:5.30-1+deb9u2) over (1:5.30-1+deb9u1) ...
Preparing to unpack .../04-dpkg-dev_1.18.25_all.deb ...
Unpacking dpkg-dev (1.18.25) over (1.18.24) ...
Preparing to unpack .../05-libdpkg-perl_1.18.25_all.deb ...
Unpacking libdpkg-perl (1.18.25) over (1.18.24) ...
Preparing to unpack .../06-patch_2.7.5-1+deb9u1_armhf.deb ...
Unpacking patch (2.7.5-1+deb9u1) over (2.7.5-1) ...
Preparing to unpack .../07-ca-certificates_20161130+nmu1+deb9u1_all.deb ...
Unpacking ca-certificates (20161130+nmu1+deb9u1) over (20161130+nmu1) ...
Preparing to unpack .../08-fuse_2.9.7-1+deb9u1_armhf.deb ...
Unpacking fuse (2.9.7-1+deb9u1) over (2.9.7-1) ...
Preparing to unpack .../09-libfuse2_2.9.7-1+deb9u1_armhf.deb ...
Unpacking libfuse2:armhf (2.9.7-1+deb9u1) over (2.9.7-1) ...
Preparing to unpack .../10-libcupsimage2_2.2.1-8+deb9u2_armhf.deb ...
Unpacking libcupsimage2:armhf (2.2.1-8+deb9u2) over (2.2.1-8) ...
Preparing to unpack .../11-libcups2_2.2.1-8+deb9u2_armhf.deb ...
Unpacking libcups2:armhf (2.2.1-8+deb9u2) over (2.2.1-8) ...
Preparing to unpack .../12-libexiv2-14_0.25-3.1+deb9u1_armhf.deb ...
Unpacking libexiv2-14:armhf (0.25-3.1+deb9u1) over (0.25-3.1) ...
Preparing to unpack .../13-libfaad2_2.8.0~cvs20161113-1+deb9u1_armhf.deb ...
Unpacking libfaad2:armhf (2.8.0~cvs20161113-1+deb9u1) over (2.8.0~cvs20161113-1) ...
Preparing to unpack .../14-libgs9_9.20~dfsg-3.2+deb9u2_armhf.deb ...
Unpacking libgs9:armhf (9.20~dfsg-3.2+deb9u2) over (9.20~dfsg-3.2+deb9u1) ...
Preparing to unpack .../15-libgs9-common_9.20~dfsg-3.2+deb9u2_all.deb ...
Unpacking libgs9-common (9.20~dfsg-3.2+deb9u2) over (9.20~dfsg-3.2+deb9u1) ...
Preparing to unpack .../16-libsoup2.4-1_2.56.0-2+deb9u2_armhf.deb ...
Unpacking libsoup2.4-1:armhf (2.56.0-2+deb9u2) over (2.56.0-2+deb9u1) ...
Preparing to unpack .../17-libsoup-gnome2.4-1_2.56.0-2+deb9u2_armhf.deb ...
Unpacking libsoup-gnome2.4-1:armhf (2.56.0-2+deb9u2) over (2.56.0-2+deb9u1) ...
Preparing to unpack .../18-shared-mime-info_1.8-1+deb9u1_armhf.deb ...
Unpacking shared-mime-info (1.8-1+deb9u1) over (1.8-1) ...
Setting up libgs9-common (9.20~dfsg-3.2+deb9u2) ...
Setting up libexiv2-14:armhf (0.25-3.1+deb9u1) ...
Setting up tzdata (2018e-0+deb9u1) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Tue Aug  7 02:23:45 UTC 2018.
Universal Time is now:  Tue Aug  7 02:23:45 UTC 2018.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libfuse2:armhf (2.9.7-1+deb9u1) ...
Setting up libsoup2.4-1:armhf (2.56.0-2+deb9u2) ...
Setting up libfaad2:armhf (2.8.0~cvs20161113-1+deb9u1) ...
Setting up libdpkg-perl (1.18.25) ...
Setting up libsoup-gnome2.4-1:armhf (2.56.0-2+deb9u2) ...
Setting up libmagic-mgc (1:5.30-1+deb9u2) ...
Setting up libmagic1:armhf (1:5.30-1+deb9u2) ...
Setting up patch (2.7.5-1+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up udev (232-25+deb9u4) ...
addgroup: The group `input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
Setting up systemd (232-25+deb9u4) ...
addgroup: The group `systemd-journal' already exists as a system group. Exiting.
Removed /etc/systemd/system/getty.target.wants/[email protected].
Created symlink /etc/systemd/system/getty.target.wants/[email protected] → /lib/systemd/system/[email protected].
Processing triggers for man-db (2.7.6.1-2) ...
Setting up shared-mime-info (1.8-1+deb9u1) ...
Processing triggers for dbus (1.10.26-0+deb9u1) ...
Setting up ca-certificates (20161130+nmu1+deb9u1) ...
Updating certificates in /etc/ssl/certs...
20 added, 35 removed; done.
Setting up fuse (2.9.7-1+deb9u1) ...
update-initramfs: deferring update (trigger activated)
Setting up libcups2:armhf (2.2.1-8+deb9u2) ...
Setting up systemd-sysv (232-25+deb9u4) ...
Setting up file (1:5.30-1+deb9u2) ...
Setting up libcupsimage2:armhf (2.2.1-8+deb9u2) ...
Setting up dpkg-dev (1.18.25) ...
Setting up libgs9:armhf (9.20~dfsg-3.2+deb9u2) ...
Setting up libpam-systemd:armhf (232-25+deb9u4) ...
Processing triggers for initramfs-tools (0.130) ...
Processing triggers for ca-certificates (20161130+nmu1+deb9u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for libc-bin (2.24-11+deb9u3) ...
02:24:42>>>>>>>>>>获取安装镜像资源<<<<<<<<<<
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.4.8).
ca-certificates is already the newest version (20161130+nmu1+deb9u1).
curl is already the newest version (7.52.1-5+deb9u6).
The following additional packages will be installed:
  gir1.2-packagekitglib-1.0 python3-pycurl python3-software-properties
  unattended-upgrades
Suggested packages:
  libcurl4-gnutls-dev python-pycurl-doc python3-pycurl-dbg bsd-mailx
  mail-transport-agent needrestart
The following NEW packages will be installed:
  gir1.2-packagekitglib-1.0 gnupg2 python3-pycurl python3-software-properties
  software-properties-common unattended-upgrades
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 587 kB of archives.
After this operation, 1,445 kB of additional disk space will be used.
Get:1 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf gir1.2-packagekitglib-1.0 armhf 1.1.5-2+deb9u1 [34.7 kB]
Get:2 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf gnupg2 all 2.1.18-8~deb9u2 [299 kB]
Get:3 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf python3-pycurl armhf 7.43.0-2 [58.4 kB]
Get:4 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf python3-software-properties all 0.96.20.2-1 [49.5 kB]
Get:5 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf software-properties-common all 0.96.20.2-1 [83.6 kB]
Get:6 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf unattended-upgrades all 0.93.1+nmu1 [61.7 kB]
Fetched 587 kB in 0s (879 kB/s)
Preconfiguring packages ...
Selecting previously unselected package gir1.2-packagekitglib-1.0.
(Reading database ... 115433 files and directories currently installed.)
Preparing to unpack .../0-gir1.2-packagekitglib-1.0_1.1.5-2+deb9u1_armhf.deb ...
Unpacking gir1.2-packagekitglib-1.0 (1.1.5-2+deb9u1) ...
Selecting previously unselected package gnupg2.
Preparing to unpack .../1-gnupg2_2.1.18-8~deb9u2_all.deb ...
Unpacking gnupg2 (2.1.18-8~deb9u2) ...
Selecting previously unselected package python3-pycurl.
Preparing to unpack .../2-python3-pycurl_7.43.0-2_armhf.deb ...
Unpacking python3-pycurl (7.43.0-2) ...
Selecting previously unselected package python3-software-properties.
Preparing to unpack .../3-python3-software-properties_0.96.20.2-1_all.deb ...
Unpacking python3-software-properties (0.96.20.2-1) ...
Selecting previously unselected package software-properties-common.
Preparing to unpack .../4-software-properties-common_0.96.20.2-1_all.deb ...
Unpacking software-properties-common (0.96.20.2-1) ...
Selecting previously unselected package unattended-upgrades.
Preparing to unpack .../5-unattended-upgrades_0.93.1+nmu1_all.deb ...
Unpacking unattended-upgrades (0.93.1+nmu1) ...
Setting up python3-pycurl (7.43.0-2) ...
Setting up gnupg2 (2.1.18-8~deb9u2) ...
Processing triggers for systemd (232-25+deb9u4) ...
Setting up unattended-upgrades (0.93.1+nmu1) ...

Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version

Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
Created symlink /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service → /lib/systemd/system/unattended-upgrades.service.
Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
Processing triggers for man-db (2.7.6.1-2) ...
Setting up gir1.2-packagekitglib-1.0 (1.1.5-2+deb9u1) ...
Setting up python3-software-properties (0.96.20.2-1) ...
Processing triggers for dbus (1.10.26-0+deb9u1) ...
Setting up software-properties-common (0.96.20.2-1) ...
Processing triggers for systemd (232-25+deb9u4) ...
Processing triggers for dbus (1.10.26-0+deb9u1) ...
02:25:00>>>>>>>>>>安装 Docker GPG KEY<<<<<<<<<<
OK
02:25:05>>>>>>>>>>安装DockerCE仓库<<<<<<<<<<
deb [arch=armhf] [url=https://download.docker.com/linux/debian]https://download.docker.com/linux/debian[/url]       stretch stable
02:25:09>>>>>>>>>>安装DockerCE<<<<<<<<<<
Hit:1 [url=http://mirrors.ustc.edu.cn/raspbian/raspbian]http://mirrors.ustc.edu.cn/raspbian/raspbian[/url] stretch InRelease
Hit:2 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch InRelease
Get:3 [url=https://download.docker.com/linux/debian]https://download.docker.com/linux/debian[/url] stretch InRelease [39.1 kB]
Get:4 [url=https://download.docker.com/linux/debian]https://download.docker.com/linux/debian[/url] stretch/stable armhf Packages [3,313 B]
Fetched 42.4 kB in 2s (17.3 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  aufs-dkms aufs-tools cgroupfs-mount cpp-4.6 dkms gcc-4.6
  linux-headers-3.6-trunk-common linux-headers-3.6-trunk-rpi linux-kbuild-3.6
  linux-kbuild-4.9 pigz
Suggested packages:
  aufs-dev gcc-4.6-locales python3-apport menu libmudflap0-4.6-dev gcc-4.6-doc
  libgcc1-dbg libgomp1-dbg libquadmath-dbg libmudflap0-dbg libcloog-ppl1
  | libcloog-ppl0 libppl-c4 libppl12 | libppl9 binutils-gold
The following NEW packages will be installed:
  aufs-dkms aufs-tools cgroupfs-mount cpp-4.6 dkms docker-ce gcc-4.6
  linux-headers-3.6-trunk-common linux-headers-3.6-trunk-rpi linux-kbuild-3.6
  linux-kbuild-4.9 pigz
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 42.6 MB of archives.
After this operation, 189 MB of additional disk space will be used.
Get:1 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf pigz armhf 2.3.4-1 [50.0 kB]
Get:2 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf dkms all 2.3-2 [74.8 kB]
Get:3 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf linux-kbuild-4.9 armhf 4.9.82-1+deb9u3+rpi1 [709 kB]
Get:4 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf aufs-dkms armhf 4.9+20161219-1 [169 kB]
Get:5 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf aufs-tools armhf 1:4.1+20161219-1 [101 kB]
Get:6 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf cgroupfs-mount all 1.3 [5,716 B]
Get:7 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf cpp-4.6 armhf 4.6.4-5+rpi1 [4,145 kB]
Get:8 [url=https://download.docker.com/linux/debian]https://download.docker.com/linux/debian[/url] stretch/stable armhf docker-ce armhf 18.06.0~ce~3-0~debian [28.3 MB]
Get:9 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf gcc-4.6 armhf 4.6.4-5+rpi1 [4,363 kB]
Get:10 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf linux-headers-3.6-trunk-common armhf 3.6.9-1~experimental.1+rpi7 [4,189 kB]
Get:11 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf linux-kbuild-3.6 armhf 3.6-1~experimental.1+rpi2+b2 [136 kB]
Get:12 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf linux-headers-3.6-trunk-rpi armhf 3.6.9-1~experimental.1+rpi7 [414 kB]
Fetched 42.6 MB in 40s (1,060 kB/s)
Selecting previously unselected package pigz.
(Reading database ... 115595 files and directories currently installed.)
Preparing to unpack .../00-pigz_2.3.4-1_armhf.deb ...
Unpacking pigz (2.3.4-1) ...
Selecting previously unselected package dkms.
Preparing to unpack .../01-dkms_2.3-2_all.deb ...
Unpacking dkms (2.3-2) ...
Selecting previously unselected package linux-kbuild-4.9.
Preparing to unpack .../02-linux-kbuild-4.9_4.9.82-1+deb9u3+rpi1_armhf.deb ...
Unpacking linux-kbuild-4.9 (4.9.82-1+deb9u3+rpi1) ...
Selecting previously unselected package aufs-dkms.
Preparing to unpack .../03-aufs-dkms_4.9+20161219-1_armhf.deb ...
Unpacking aufs-dkms (4.9+20161219-1) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../04-aufs-tools_1%3a4.1+20161219-1_armhf.deb ...
Unpacking aufs-tools (1:4.1+20161219-1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../05-cgroupfs-mount_1.3_all.deb ...
Unpacking cgroupfs-mount (1.3) ...
Selecting previously unselected package cpp-4.6.
Preparing to unpack .../06-cpp-4.6_4.6.4-5+rpi1_armhf.deb ...
Unpacking cpp-4.6 (4.6.4-5+rpi1) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../07-docker-ce_18.06.0~ce~3-0~debian_armhf.deb ...
Unpacking docker-ce (18.06.0~ce~3-0~debian) ...
Selecting previously unselected package gcc-4.6.
Preparing to unpack .../08-gcc-4.6_4.6.4-5+rpi1_armhf.deb ...
Unpacking gcc-4.6 (4.6.4-5+rpi1) ...
Selecting previously unselected package linux-headers-3.6-trunk-common.
Preparing to unpack .../09-linux-headers-3.6-trunk-common_3.6.9-1~experimental.1+rpi7_armhf.deb ...
Unpacking linux-headers-3.6-trunk-common (3.6.9-1~experimental.1+rpi7) ...
Selecting previously unselected package linux-kbuild-3.6.
Preparing to unpack .../10-linux-kbuild-3.6_3.6-1~experimental.1+rpi2+b2_armhf.deb ...
Unpacking linux-kbuild-3.6 (3.6-1~experimental.1+rpi2+b2) ...
Selecting previously unselected package linux-headers-3.6-trunk-rpi.
Preparing to unpack .../11-linux-headers-3.6-trunk-rpi_3.6.9-1~experimental.1+rpi7_armhf.deb ...
Unpacking linux-headers-3.6-trunk-rpi (3.6.9-1~experimental.1+rpi7) ...
Setting up aufs-tools (1:4.1+20161219-1) ...
Setting up docker-ce (18.06.0~ce~3-0~debian) ...
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
Setting up cpp-4.6 (4.6.4-5+rpi1) ...
Setting up linux-headers-3.6-trunk-common (3.6.9-1~experimental.1+rpi7) ...
Setting up cgroupfs-mount (1.3) ...
Setting up dkms (2.3-2) ...
Setting up linux-kbuild-4.9 (4.9.82-1+deb9u3+rpi1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for systemd (232-25+deb9u4) ...
Setting up gcc-4.6 (4.6.4-5+rpi1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up linux-kbuild-3.6 (3.6-1~experimental.1+rpi2+b2) ...
Setting up pigz (2.3.4-1) ...
Setting up aufs-dkms (4.9+20161219-1) ...
Loading new aufs-4.9+20161219 DKMS files...
It is likely that 4.14.50-v7+ belongs to a chroot's host
Building for 3.6-trunk-rpi, 4.14.50+ and 4.14.50-v7+
Building initial module for 3.6-trunk-rpi
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
Skipped.
Module build for kernel 4.14.50+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Module build for kernel 4.14.50-v7+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Setting up linux-headers-3.6-trunk-rpi (3.6.9-1~experimental.1+rpi7) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.6-trunk-rpi
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
02:26:43>>>>>>>>>>创建 DockerCE 仓库镜像<<<<<<<<<<
{
  "registry-mirrors": ["https://registry.docker-cn.com"]
}
[global]
trusted-host=mirrors.aliyun.com
index-url=http://mirrors.aliyun.com/pypi/simple
02:26:56>>>>>>>>>>获取最新源列表并更新软件<<<<<<<<<<
Hit:1 [url=http://mirrors.ustc.edu.cn/raspbian/raspbian]http://mirrors.ustc.edu.cn/raspbian/raspbian[/url] stretch InRelease
Hit:2 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch InRelease
Hit:3 [url=https://download.docker.com/linux/debian]https://download.docker.com/linux/debian[/url] stretch InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
02:27:07>>>>>>>>>>安装bash socat jq支持库软件<<<<<<<<<<
Reading package lists... Done
Building dependency tree
Reading state information... Done
bash is already the newest version (4.4-5).
The following additional packages will be installed:
  libjq1 libonig4
The following NEW packages will be installed:
  jq libjq1 libonig4 socat
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 625 kB of archives.
After this operation, 1,822 kB of additional disk space will be used.
Get:1 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libonig4 armhf 6.1.3-2 [127 kB]
Get:2 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libjq1 armhf 1.5+dfsg-1.3 [119 kB]
Get:3 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf jq armhf 1.5+dfsg-1.3 [58.9 kB]
Get:4 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf socat armhf 1.7.3.1-2+deb9u1 [320 kB]
Fetched 625 kB in 1s (416 kB/s)
Selecting previously unselected package libonig4:armhf.
(Reading database ... 123708 files and directories currently installed.)
Preparing to unpack .../libonig4_6.1.3-2_armhf.deb ...
Unpacking libonig4:armhf (6.1.3-2) ...
Selecting previously unselected package libjq1:armhf.
Preparing to unpack .../libjq1_1.5+dfsg-1.3_armhf.deb ...
Unpacking libjq1:armhf (1.5+dfsg-1.3) ...
Selecting previously unselected package jq.
Preparing to unpack .../jq_1.5+dfsg-1.3_armhf.deb ...
Unpacking jq (1.5+dfsg-1.3) ...
Selecting previously unselected package socat.
Preparing to unpack .../socat_1.7.3.1-2+deb9u1_armhf.deb ...
Unpacking socat (1.7.3.1-2+deb9u1) ...
Setting up socat (1.7.3.1-2+deb9u1) ...
Setting up libonig4:armhf (6.1.3-2) ...
Setting up libjq1:armhf (1.5+dfsg-1.3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up jq (1.5+dfsg-1.3) ...
02:27:17>>>>>>>>>>安装Samba Git Screen Net-tools Nmap工具软件,配置Samba共享目录<<<<<<<<<<
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.11.0-3+deb9u3).
net-tools is already the newest version (1.60+git20161116.90da8a0-1).
The following additional packages will be installed:
  attr libaio1 libfile-copy-recursive-perl liblinear3 liblua5.3-0 libpcap0.8
  ndiff python-bs4 python-dnspython python-html5lib python-ldb python-lxml
  python-samba python-tdb python-webencodings samba-common-bin
  samba-dsdb-modules samba-vfs-modules tdb-tools update-inetd
Suggested packages:
  liblinear-tools liblinear-dev python-genshi python-lxml-dbg python-lxml-doc
  python-gpgme bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools
  winbind ufw heimdal-clients byobu | screenie | iselect
The following NEW packages will be installed:
  attr libaio1 libfile-copy-recursive-perl liblinear3 liblua5.3-0 libpcap0.8
  ndiff nmap python-bs4 python-dnspython python-html5lib python-ldb
  python-lxml python-samba python-tdb python-webencodings samba
  samba-common-bin samba-dsdb-modules samba-vfs-modules screen tdb-tools
  update-inetd
0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.6 MB of archives.
After this operation, 52.6 MB of additional disk space will be used.
Get:1 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf python-dnspython all 1.15.0-1 [102 kB]
Get:2 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf python-ldb armhf 2:1.1.27-1 [30.0 kB]
Get:3 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf python-tdb armhf 1.3.11-2 [15.3 kB]
Get:4 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf python-samba armhf 2:4.5.12+dfsg-2+deb9u2 [1,143 kB]
Get:5 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf samba-common-bin armhf 2:4.5.12+dfsg-2+deb9u2 [555 kB]
Get:6 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf tdb-tools armhf 1.3.11-2 [25.7 kB]
Get:7 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libfile-copy-recursive-perl all 0.38-1 [20.6 kB]
Get:8 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf update-inetd all 4.44 [20.8 kB]
Get:9 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf samba armhf 2:4.5.12+dfsg-2+deb9u2 [869 kB]
Get:10 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf screen armhf 4.5.0-6 [547 kB]
Get:11 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf attr armhf 1:2.4.47-2 [41.3 kB]
Get:12 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libaio1 armhf 0.3.110-3 [9,366 B]
Get:13 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf liblinear3 armhf 2.1.0+dfsg-2 [34.9 kB]
Get:14 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf liblua5.3-0 armhf 5.3.3-1 [96.8 kB]
Get:15 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf libpcap0.8 armhf 1.8.1-3 [123 kB]
Get:16 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf python-bs4 all 4.5.3-1 [86.7 kB]
Get:17 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf python-webencodings all 0.5-2 [10.3 kB]
Get:18 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf python-html5lib all 0.999999999-1 [88.0 kB]
Get:19 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf python-lxml armhf 3.7.1-1 [793 kB]
Get:20 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf samba-dsdb-modules armhf 2:4.5.12+dfsg-2+deb9u2 [304 kB]
Get:21 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf samba-vfs-modules armhf 2:4.5.12+dfsg-2+deb9u2 [334 kB]
Get:22 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf ndiff all 7.40-1 [280 kB]
Get:23 [url=http://mirrors.aliyun.com/raspbian/raspbian]http://mirrors.aliyun.com/raspbian/raspbian[/url] stretch/main armhf nmap armhf 7.40-1 [5,051 kB]
Fetched 10.6 MB in 8s (1,276 kB/s)
Preconfiguring packages ...
Selecting previously unselected package python-dnspython.
(Reading database ... 123769 files and directories currently installed.)
Preparing to unpack .../00-python-dnspython_1.15.0-1_all.deb ...
Unpacking python-dnspython (1.15.0-1) ...
Selecting previously unselected package python-ldb.
Preparing to unpack .../01-python-ldb_2%3a1.1.27-1_armhf.deb ...
Unpacking python-ldb (2:1.1.27-1) ...
Selecting previously unselected package python-tdb.
Preparing to unpack .../02-python-tdb_1.3.11-2_armhf.deb ...
Unpacking python-tdb (1.3.11-2) ...
Selecting previously unselected package python-samba.
Preparing to unpack .../03-python-samba_2%3a4.5.12+dfsg-2+deb9u2_armhf.deb ...
Unpacking python-samba (2:4.5.12+dfsg-2+deb9u2) ...
Selecting previously unselected package samba-common-bin.
Preparing to unpack .../04-samba-common-bin_2%3a4.5.12+dfsg-2+deb9u2_armhf.deb ...
Unpacking samba-common-bin (2:4.5.12+dfsg-2+deb9u2) ...
Selecting previously unselected package tdb-tools.
Preparing to unpack .../05-tdb-tools_1.3.11-2_armhf.deb ...
Unpacking tdb-tools (1.3.11-2) ...
Selecting previously unselected package libfile-copy-recursive-perl.
Preparing to unpack .../06-libfile-copy-recursive-perl_0.38-1_all.deb ...
Unpacking libfile-copy-recursive-perl (0.38-1) ...
Selecting previously unselected package update-inetd.
Preparing to unpack .../07-update-inetd_4.44_all.deb ...
Unpacking update-inetd (4.44) ...
Selecting previously unselected package samba.
Preparing to unpack .../08-samba_2%3a4.5.12+dfsg-2+deb9u2_armhf.deb ...
Unpacking samba (2:4.5.12+dfsg-2+deb9u2) ...
Selecting previously unselected package screen.
Preparing to unpack .../09-screen_4.5.0-6_armhf.deb ...
Unpacking screen (4.5.0-6) ...
Selecting previously unselected package attr.
Preparing to unpack .../10-attr_1%3a2.4.47-2_armhf.deb ...
Unpacking attr (1:2.4.47-2) ...
Selecting previously unselected package libaio1:armhf.
Preparing to unpack .../11-libaio1_0.3.110-3_armhf.deb ...
Unpacking libaio1:armhf (0.3.110-3) ...
Selecting previously unselected package liblinear3:armhf.
Preparing to unpack .../12-liblinear3_2.1.0+dfsg-2_armhf.deb ...
Unpacking liblinear3:armhf (2.1.0+dfsg-2) ...
Selecting previously unselected package liblua5.3-0:armhf.
Preparing to unpack .../13-liblua5.3-0_5.3.3-1_armhf.deb ...
Unpacking liblua5.3-0:armhf (5.3.3-1) ...
Selecting previously unselected package libpcap0.8:armhf.
Preparing to unpack .../14-libpcap0.8_1.8.1-3_armhf.deb ...
Unpacking libpcap0.8:armhf (1.8.1-3) ...
Selecting previously unselected package python-bs4.
Preparing to unpack .../15-python-bs4_4.5.3-1_all.deb ...
Unpacking python-bs4 (4.5.3-1) ...
Selecting previously unselected package python-webencodings.
Preparing to unpack .../16-python-webencodings_0.5-2_all.deb ...
Unpacking python-webencodings (0.5-2) ...
Selecting previously unselected package python-html5lib.
Preparing to unpack .../17-python-html5lib_0.999999999-1_all.deb ...
Unpacking python-html5lib (0.999999999-1) ...
Selecting previously unselected package python-lxml.
Preparing to unpack .../18-python-lxml_3.7.1-1_armhf.deb ...
Unpacking python-lxml (3.7.1-1) ...
Selecting previously unselected package samba-dsdb-modules.
Preparing to unpack .../19-samba-dsdb-modules_2%3a4.5.12+dfsg-2+deb9u2_armhf.deb ...
Unpacking samba-dsdb-modules (2:4.5.12+dfsg-2+deb9u2) ...
Selecting previously unselected package samba-vfs-modules.
Preparing to unpack .../20-samba-vfs-modules_2%3a4.5.12+dfsg-2+deb9u2_armhf.deb ...
Unpacking samba-vfs-modules (2:4.5.12+dfsg-2+deb9u2) ...
Selecting previously unselected package ndiff.
Preparing to unpack .../21-ndiff_7.40-1_all.deb ...
Unpacking ndiff (7.40-1) ...
Selecting previously unselected package nmap.
Preparing to unpack .../22-nmap_7.40-1_armhf.deb ...
Unpacking nmap (7.40-1) ...
Setting up python-dnspython (1.15.0-1) ...
Setting up python-tdb (1.3.11-2) ...
Processing triggers for install-info (6.3.0.dfsg.1-1+b1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up python-bs4 (4.5.3-1) ...
Setting up libaio1:armhf (0.3.110-3) ...
Processing triggers for systemd (232-25+deb9u4) ...
Setting up python-lxml (3.7.1-1) ...
Setting up tdb-tools (1.3.11-2) ...
update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode
Processing triggers for man-db (2.7.6.1-2) ...
Setting up screen (4.5.0-6) ...
Setting up liblinear3:armhf (2.1.0+dfsg-2) ...
Setting up liblua5.3-0:armhf (5.3.3-1) ...
Setting up samba-dsdb-modules (2:4.5.12+dfsg-2+deb9u2) ...
Setting up python-webencodings (0.5-2) ...
Setting up attr (1:2.4.47-2) ...
Setting up libfile-copy-recursive-perl (0.38-1) ...
Setting up libpcap0.8:armhf (1.8.1-3) ...
Setting up python-ldb (2:1.1.27-1) ...
Setting up update-inetd (4.44) ...
Setting up samba-vfs-modules (2:4.5.12+dfsg-2+deb9u2) ...
Setting up nmap (7.40-1) ...
Setting up python-samba (2:4.5.12+dfsg-2+deb9u2) ...
Setting up ndiff (7.40-1) ...
Setting up python-html5lib (0.999999999-1) ...
Setting up samba-common-bin (2:4.5.12+dfsg-2+deb9u2) ...
Setting up samba (2:4.5.12+dfsg-2+deb9u2) ...
Adding group `sambashare' (GID 115) ...
Done.
Samba is not being run as an AD Domain Controller, masking samba-ad-dc-service.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc-service.
Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for systemd (232-25+deb9u4) ...
02:28:13>>>>>>>>>>安装Docker可视化工具(portainer)<<<<<<<<<<
latest: Pulling from portainer/portainer
d1e017099d17: Pull complete
cf0554861c9a: Pull complete
Digest: sha256:ab096b92ed177b47adfa8a9a99e304d36596efa557b9627c066cee164cc39910
Status: Downloaded newer image for portainer/portainer:latest
02:28:34>>>>>>>>>>拉取 armhf-homeassistant镜像<<<<<<<<<<
latest: Pulling from homeassistant/armhf-homeassistant
ee7d700abbf2: Pull complete
a1653f4692c1: Pull complete
6d4ae60bdbb4: Pull complete
dce3e48577a2: Pull complete
23b28b2c891e: Pull complete
553343c8472d: Pull complete
4e9c6c763715: Pull complete
db101e496983: Pull complete
63e56d66c732: Pull complete
20ced6c29ef6: Pull complete
adab13c13ef7: Pull complete
bc626d77f4f9: Pull complete
a6f229203a0b: Pull complete
e2cc90d1497a: Pull complete
8905ffefafa6: Pull complete
7d70ac53d4c3: Pull complete
cea1ea7e542a: Pull complete
cd8894b70f25: Pull complete
2c85b783f0cb: Pull complete
0508b3ee0706: Pull complete
8ddbd37d59fa: Pull complete
Digest: sha256:12a5145542c4ff41a54f120bbca78d236985e6d181906745e05c892ca75b210f
Status: Downloaded newer image for homeassistant/armhf-homeassistant:latest
02:32:29>>>>>>>>>>拉取 armhf-hassio-supervisor镜像<<<<<<<<<<
latest: Pulling from homeassistant/armhf-hassio-supervisor
ee7d700abbf2: Already exists
a1653f4692c1: Already exists
6d4ae60bdbb4: Already exists
dce3e48577a2: Already exists
c23253206d75: Pull complete
2d39b0b2ef26: Pull complete
5f7b3ebade40: Pull complete
3e5592a83740: Pull complete
9eceddde82ea: Pull complete
ea7352ec64c6: Pull complete
240ef8969438: Pull complete
d369921e7c4a: Pull complete
be6aa9b4bc42: Pull complete
Digest: sha256:9b3abaff92054916419be4f55fc994769457d9dca3a8eeacacb274aa07000f0e
Status: Downloaded newer image for homeassistant/armhf-hassio-supervisor:latest
02:33:14>>>>>>>>>>使用root用户安装 Hass.io<<<<<<<<<<
[Info] Install supervisor docker
[Info] Install supervisor startup scripts
Created symlink /etc/systemd/system/multi-user.target.wants/hassio-supervisor.service → /etc/systemd/system/hassio-supervisor.service.
[Info] Run Hass.io
02:34:45>>>>>>>>>>配置Docker可视化工具到9010端口<<<<<<<<<<
0f03ece6b1050a51743927540fff06637a12c3735693e718055de725b2a0f899
02:34:47>>>>>>>>>>安装完成,配置完Portainer后,输出Hassio日志<<<<<<<<<<
02:34:47>>>>>>>>>>请用浏览器打开IP:9010,完成Portainer的配置
等待中,按 任意键 进行下一步
02:37:42>>>>>>>>>>输出Hassio日志<<<<<<<<<<
-- Logs begin at Thu 2016-11-03 17:16:42 UTC. --
^C
pi@raspberrypi:/tmp $ cd
pi@raspberrypi:~ $ sudo dpkg-reconfigure tzdata

Current default time zone: 'Asia/Shanghai'
Local time is now:      Tue Aug  7 10:38:42 CST 2018.
Universal Time is now:  Tue Aug  7 02:38:42 UTC 2018.

回复

使用道具 举报

0

主题

114

帖子

815

积分

高级会员

Rank: 4

积分
815
金钱
701
HASS币
0
发表于 2018-8-12 21:59:24 | 显示全部楼层
本帖最后由 pcboy128 于 2018-8-12 22:00 编辑

楼主,我是树莓派3b(非3b+),系统烧录版本是2018-06-27版的raspbian;我分拆了一下你的脚本,发现最后一句,sudo su -c "curl -sL https://raw.githubusercontent.co ... tall/hassio_install | bash -s -- -m raspberrypi3" 会报以下信息
------------------------------------------------------------
[Warning] No AppArmor support on Host.
[Warning] No NetworkManager support on Host.
[Info] Install supervisor docker
invalid reference format
------------------------------------------------------------
journalctl -fu hassio-supervisor.service 查询的日志是空白的

主要还是"invalid reference format"这句报错

我把脚本最后一句标识机器类型的 raspberrypi3 改成armhf 就可以正常输出正常信息

------------------------------------------------------------
[Warning] No AppArmor support on Host.
[Warning] No NetworkManager support on Host.
[Info] Install supervisor docker
[Info] Install supervisor startup scripts
Created symlink /etc/systemd/system/multi-user.target.wants/hassio-supervisor.service → /etc/systemd/system/hassio-supervisor.service.
[Info] Run Hass.io
------------------------------------------------------------

然后查journalctl -fu hassio-supervisor.service等个5分钟hass.io就能跑起来

所以建议楼主看看这个是不是日常问题以便更新脚本
回复

使用道具 举报

175

主题

2967

帖子

7606

积分

超级版主

我就是六神

Rank: 8Rank: 8

积分
7606
金钱
4614
HASS币
398

活跃会员教程狂人灌水之王

QQ
 楼主| 发表于 2018-8-13 21:25:28 | 显示全部楼层
pcboy128 发表于 2018-8-12 21:59
楼主,我是树莓派3b(非3b+),系统烧录版本是2018-06-27版的raspbian;我分拆了一下你的脚本,发现最后一 ...

好的,谢谢测试,我试一下
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 03:53 , Processed in 0.067845 second(s), 34 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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