赞
踩
1
|
sudo
nano
/etc/apt/sources
.list
|
1
|
sudo
nano
/etc/apt/sources
.list.d
/raspi
.list
|
1
2
3
4
5
6
|
sudo
apt-get
install
\
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
|
1
|
curl -fsSL https:
//download
.docker.com
/linux/
$(.
/etc/os-release
;
echo
"$ID"
)
/gpg
|
sudo
apt-key add -
|
1
2
3
|
echo
"deb [arch=armhf] https:
//download
.docker.com
/linux/debian
\
$(lsb_release -cs) stable" | \
sudo
tee
/etc/apt/sources
.list.d
/docker
.list
|
1
2
3
|
sudo
apt-get update
sudo
apt-get
install
docker-ce
sudo
usermod
-aG docker $USER
|
1
|
sudo
nano
/etc/docker/daemon
.json
|
1
2
3
|
cd
~
mkdir
.pip
sudo
nano ~/.pip
/pip
.conf
|
1
|
sudo
reboot
|
11、安装hassio切换到root
sudo
su
curl -sL https:
//raw
.githubusercontent.com
/home-assistant/hassio-build/master/install/hassio_install
|
bash
-s -- -m raspberrypi3
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。