Installatie Home Assistant

Nu kunnen we starten met het installeren van Home Assistant.

sudo -i
 apt-get update
 apt-get install -y software-properties-common apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
 systemctl disable ModemManager
 systemctl stop ModemManager
 curl -fsSL get.docker.com | sh

Gevolgd door

curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s

Nu nog zorgen dat het ip adres van deze machine statisch gemaakt word, hiervoor passen we het bestand /etc/network/interfaces aan. De sectie voor het primaire netwerk:

The primary network interface
 allow-hotplug enp2s0
 iface enp2s0 inet dhcp

Word aangepast naar:

The primary network interface
 allow-hotplug enp2s0
 iface enp2s0 inet static
       address 192.168.178.4
       netmask 255.0.0.0
       gateway 192.168.178.1

Geef een reactie