zoukankan      html  css  js  c++  java
  • DOCKER上安装HASSIO

    更新源列表命令

    sudo apt-get update
    sudo apt-get upgrade –y

    This is the list of packages you need to have available on your system that will run Hass.io if you are using Debian/Ubuntu:

    apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common

    其中部分系统已经安装过了。

    安装支持库文件

    sudo apt-get install bash socat jq

    拉取Homeassistant镜像

    sudo docker pull homeassistant/qemux86-64-homeassistant:latest

    拉取Supervisor镜像

    sudo docker pull homeassistant/amd64-hassio-supervisor:latest

    安装Hass.io
    修改root管理密码

    sudo passwd


    切换用户到root

    su root


    到root根目录

    cd


    运行下面的命令完成安装

    curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -s
    root@OptiPlex:~# curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -s
    [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] Install AppArmor scripts
    Created symlink /etc/systemd/system/multi-user.target.wants/hassio-apparmor.service → /etc/systemd/system/hassio-apparmor.service.
    [Info] Run Hass.io
    root@OptiPlex:~#

    相关帖子:https://bbs.hassbian.com/thread-4520-1-1.html

    Portainer

  • 相关阅读:
    k8s pod 定义 文件 yaml
    动态规划(1)
    Angular封装WangEditor富文本组件
    使用Angular CDK实现一个Service弹出Toast组件
    让Angular自定义组件支持form表单验证
    等了半年,m1芯片原生支持的.NET IDE出现了
    eachrt
    dgy
    开源节流
    company
  • 原文地址:https://www.cnblogs.com/arrive/p/9243973.html
Copyright © 2011-2022 走看看