Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Help about MediaWiki
FUTO
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Introduction to a Self Managed Life: a 13 hour & 28 minute presentation by FUTO software
(section)
Main Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== 1.2 Install the Home Assistant Virtual Machine on Ubuntu Server Linux ==== Before, we chose “local install media” when installing Ubuntu Server to our virtual machine for mailcow, but Home Assistant is a little different. It’s an operating system that is all ready to go – it’s installed, configured, etc. We are going to be choosing the “import existing disk image” option to boot it up. * '''Open Virtual Machine Manager''': ** Right-click on the desktop of your Ubuntu Server. ** Navigate to '''Applications > System > Virtual Machine Manager'''. * '''Create a New Virtual Machine''': ** Once Virtual Machine Manager is open, click on '''Create a new virtual machine'''. ** In the wizard that appears, choose the option '''Import existing disk image'''. ** Unlike the past virtual machine where we were installing an operating system from scratch, this is an image of an operating system that has already been “installed” and configured elsewhere; therefore, all we need to do is import it. * '''Select the Home Assistant Image''': ** When prompted to choose an installation source, browse to <code>/var/lib/libvirt/images/</code> and select the Home Assistant <code>.qcow2</code> image you moved in the previous step. * '''Choose Operating System Type''': ** Select '''Generic Linux 2022''' as the operating system type. The official Home Assistant instructions suggest using a “generic” Linux option. * '''Set Memory and CPU Allocation''': ** Set the RAM to 2048 MB (2 GB). ** Assign 2 CPUs to the virtual machine. ** It is recommended to use 2 CPUs, even though this might feel like overkill for a thermostat-related function. And it does. * '''Name the Virtual Machine''': ** In the same setup window, name the virtual machine <code>homeassistant</code>. * '''Customize Configuration Before Installation''': ** Before clicking '''Finish''', make sure you check the box that says '''Customize configuration before install'''. * '''Set Firmware to UEFI''': you want UEFI x86-64: <code>/usr/share/OVMF/OVMF_CODE_4M.fd</code> – DO NOT CHOOSE THE ONE THAT SAYS “SECBOOT” '''Set up this virtual machine to start every time the host computer, happycloud, boots by typing this into a terminal:''' <pre>virsh autostart homeassistant</pre> * Check that this is set up properly by typing <code>virsh dominfo homeassistant</code> and seeing if the autostart line is set to enable. * If you don’t do this, you will realize once it is too late & you’ve left your house after you have rebooted your server (for whatever reason) that none of your services are working. This will suck. <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxdmy_tmp_48c367ce.png File:lu55028jxdmy_tmp_1f366dc.png File:lu55028jxdmy_tmp_8ebe041d.png File:lu55028jxdmy_tmp_d116f2c3.png File:lu55028jxdmy_tmp_2cfe4d00.png File:lu55028jxdmy_tmp_9f65df5c.png File:lu55028jxdmy_tmp_c95bffa.png File:lu55028jxdmy_tmp_d42cf5c1.png File:lu55028jxdmy_tmp_f0ebdd74.png </gallery> <span id="step-2-start-and-configure-home-assistant"></span>
Summary:
Please note that all contributions to FUTO may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
FUTO:Copyrights
for details).
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:
Cancel
Editing help
(opens in new window)