Install HASSIO on Docker on Ubuntu on VMWare

 




Setup a VM instance

In your VMWare ESXI environment, setup a new VM
1. Select Linux, then Ubuntu-Linux 64bit
2. Select your cores (I’ve allocated all my available cores) and RAM (I’ve allocated 5 GB, overdone it but there is now plenty of resource)
3. Select NIC – E1000
4. SCSI controller – LSI logic Parallel
5. Disc – Create a new virtual disc (my choice was 150 GB and This Provisioning)
6. Complete

Install Ubuntu 18.04 server

1. Add the ISO in your Datastore within VMWare
2. Enable CD/DVD to connect on startup and select Datastore ISO file, browse to Ubuntu .iso file on the datastore
3. Start the VM
4. Proceed with the Ubuntu installation
5. Create a name, username, password, assign the IP address you want to use for your HASSIO, the usual Ubuntu setup…

Install Docker and HASSIO

1. After Ubuntu is up and running, SSH into it using the IP address chosen, the username and password created during setup
2. Type the following commands:

sudo apt-get update
sudo su
apt-get update
add-apt-repository universe
apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common




Docker Installation:
curl -fsSL get.docker.com | sh

Hassio Installation:

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

In a browser, head to the IP address chosen for the VM/Hassio, followed by the port 8123, you should see the HASSIO logo and the 20 minute wait message, but if you’ve allocated good resources towards your VM, it can take as little as 1 to 2 minutes to load.
Create a username and password, head to HASSIO addons, enable Samba.
From another machine, access the Backups folder using Samba, then drop in there a backup image of your existing config if you have one.
Head back to the Hass.io tab, select Snapshots, click the refresh icon, the backup should show up on there, select it, restore all and overwrite if you’d like.

…and

D.O.N.E

Enjoy it!!

Leave a Reply

Your email address will not be published. Required fields are marked *