前提需要安装好docker
安装依赖文件
sudo apt-get install \
jq \
wget \
curl \
udisks2 \
libglib2.0-bin \
network-manager \
dbus -y
下载最新版本OS-Agent的deb包
wget https://ghproxy.com/https://github.com/home-assistant/os-agent/releases/download/1.3.0/os-agent_1.3.0_linux_aarch64.deb
安装OS-Agent
sudo dpkg -i os-agent_1.3.0_linux_aarch64.deb
下载Home Assistant Supervised
wget https://ghproxy.com/https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
安装Home Assistant Supervised
sudo dpkg -i homeassistant-supervised.deb
homeassistant-supervised支持的开发板如下:
generic-x86-64
odroid-c2
odroid-n2
odroid-xu
qemuarm
qemuarm-64
qemux86
qemux86-64
raspberrypi
raspberrypi2
raspberrypi3
raspberrypi4
raspberrypi3-64
raspberrypi4-64
tinker
khadas-vim3
选择raspberry4 或者 raspberry4-64,等待大概20分钟,在浏览器中输入http://X.X.X.X:8123即可访问
安装完成后可以输入 sudo docker ps -a
查看运行的容器
网友评论