Creating a virtual machine in VMware with Ubuntu 16.10 - martikainen87/Home-Automation GitHub Wiki
Open your VMware vSphere client and choose "New Virtual Machine" (shortcut: Ctrl+N)
Give it name, calling mine HomeAssistantDev for this project, and to use as a development server for my production HA instance
Choose where to store the files for the virtual server
Choose Virtual Machine Version, I'm going for version 11 since I'm running ESXi 6.0.0
Choose Linux ass Operating system and Ubuntu Linux(64-bit), if you do not have the installation image for it you can download it from: https://www.ubuntu.com/download/server im using Ubuntu Server 16.10, upload the image to your datastore.
Give the machine some CPU's, I'm giving mine 8 vCPU's, but that is overkill since this system runs fine on a Raspberry Pi
Give it some memory, I'm going with 4GB.
Connect it to a network
Add a SCSI controller, LSI Logic Parallel
Choose to create a new virtual disk
Give it some gigabytes, 20 should be plenty enough
Click next on the Advanced options
Choose to "Edit the virtual machine settings before completion" and click continue
Remove the Floppy
Choose the CD/DVD hardware and tick "Connect at Power on" then select "Datastore ISO File" and click browse Choose the image for Ubuntu 16.10 and click OK/next, then go ahead and finish the virtual machine creation and power on the machine
Go to the console view in your vSphere client
Choose English as installation language
Choose your Country
The installation might have problems finding your language to adjust your keyboard, choose United Kingdom if you are Swedish, or you wont be able to use "å, ä, ö" for your configuration (names on devices or rooms for example), you will get questions in the next step to verify your keyboard to get the swedish characters.
The configuration will ask you to press certain keys or answer if you have a specific character on your keyboard.
Enter the hostname, use the same as the name you gave the virtual machine, for simplicity
Add some info about your user (this is not used in the configuration later on)
Create a new user, it is wise to choose "pi" as most guides on the internet are made for raspberry pi and thats the default username on most installations.
Create a password for it
I choose to not encrypt my home directory, not sure if encryption could cause problems for Home Assistant so I would advice to not encrypt it.
Configure your time zone
Set up your disk, I'm using the default choices for ubuntu
Choose Yes (default is NO, dont be to quick to hit enter!)
Continue
Choose Yes (default is NO, dont be to quick to hit enter!)
Leave it blank and click continue, unless you want to use a proxy
Choose "No automatic Updates", you do not want your HA instance to install stuff without some safety net like doing a snapshot in VMware before updating to be able to verify that HA works fine after the update.
Add these: Samba File Server OpenSSH Server
Click yes
Remove the installation media and press "Finish", your VM will reboot and you will now be able to reach it by SSH