userdoc:guest_vm_hyperv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:guest_vm_hyperv [2017/03/28 17:48]
abelbeck
userdoc:guest_vm_hyperv [2017/03/28 18:03] (current)
abelbeck
Line 16: Line 16:
   * CPU: 2 Processor Cores   * CPU: 2 Processor Cores
   * Virtual Storage: 4 to 8 GB   * Virtual Storage: 4 to 8 GB
-  * Network: Virtual Switch (needs to be created in advance in the Hyper-V Manager)+  * Network: Virtual Switch (Bridged Interface)
  
 **Assumptions:** **Assumptions:**
Line 29: Line 29:
 !!Special Thanks ->!! Nick Mace graciously provided the following configuration detail. !!Special Thanks ->!! Nick Mace graciously provided the following configuration detail.
  
-... TBD ...+Create a new virtual machine using Hyper-V ManagerIf using Hyper-V Server 2012R2 or later, you must select a "Generation 1" virtual machineThe screenshot below shows a new virtual machine with the default configuration and a virtual hard disk attached:
  
 {{:userdoc:vm_hyperv-1-NewVirtualMachine.png?nolink|1-NewVirtualMachine}} {{:userdoc:vm_hyperv-1-NewVirtualMachine.png?nolink|1-NewVirtualMachine}}
 +
 +Add a new "Network Adapter". Select the Virtual Switch to attach the network adapter to. Note that the VLAN ID for the network adapter is specified here:
  
 {{:userdoc:vm_hyperv-2-AddNetworkAdapter.png?nolink|2-AddNetworkAdapter}} {{:userdoc:vm_hyperv-2-AddNetworkAdapter.png?nolink|2-AddNetworkAdapter}}
 +
 +Configure the remaining network adapters, specifying the VLAN ID for each:
  
 {{:userdoc:vm_hyperv-3-ConfigureOtherNetworkAdapters.png?nolink|3-ConfigureOtherNetworkAdapters}} {{:userdoc:vm_hyperv-3-ConfigureOtherNetworkAdapters.png?nolink|3-ConfigureOtherNetworkAdapters}}
 +
 +Browse to the AstLinux installation ISO and mount this on the DVD drive:
  
 {{:userdoc:vm_hyperv-4-MountISO.png?nolink|4-MountISO}} {{:userdoc:vm_hyperv-4-MountISO.png?nolink|4-MountISO}}
 +
 +Set the required number of virtual processors:
  
 {{:userdoc:vm_hyperv-5-SetRequiredNumberofProcessors.png?nolink|5-SetRequiredNumberofProcessors}} {{:userdoc:vm_hyperv-5-SetRequiredNumberofProcessors.png?nolink|5-SetRequiredNumberofProcessors}}
 +
 +Set the required amount of memory:
  
 {{:userdoc:vm_hyperv-6-SetRequiredMemory.png?nolink|6-SetRequiredMemory}} {{:userdoc:vm_hyperv-6-SetRequiredMemory.png?nolink|6-SetRequiredMemory}}
 +
 +Save the changes to the virtual machine. Connect to the virtual machine through Hyper-V Manager and start it. The AstLinux Installation ISO will boot and the installer will run. Choose the "Install" option:
  
 {{:userdoc:vm_hyperv-7-InstallAstLinux.png?nolink|7-InstallAstLinux}} {{:userdoc:vm_hyperv-7-InstallAstLinux.png?nolink|7-InstallAstLinux}}
 +
 +Choose the version of Asterisk to be installed. Confirm the target install disk (there will be only one, unless further disks were added to the virtual machine). Confirm that disk should be overwritten. The 3 stages of installation will run: validating the AstLinux image; erasing the first 1GB of the disk; writing the AstLinux image. This should take only a few minutes. Once the installation has finished, choose the "Shutdown" option. Eject the AstLinux installation ISO:
  
 {{:userdoc:vm_hyperv-8-EjectISO.png?nolink|8-EjectISO}} {{:userdoc:vm_hyperv-8-EjectISO.png?nolink|8-EjectISO}}
  
-{{:userdoc:vm_hyperv-9-AstLinuxRunning.png?nolink|9-AstLinuxRunning}}+Start up the virtual machine. AstLinux will boot. The Hyper-V hypervisor will be detected and the Hyper-V kernel modules will be loaded automaticallyThe first network adapter will be brought up and will acquire an IP address through DHCP. At the end of the boot process, the IP address will be shown:
  
 +{{:userdoc:vm_hyperv-9-AstLinuxRunning.png?nolink|9-AstLinuxRunning}}
  
 Finally, configure AstLinux using the normal **[[userdoc:new-install|setup]]**. Finally, configure AstLinux using the normal **[[userdoc:new-install|setup]]**.
  
 !!Tip ->!! Note the "IPv4 Address:" on the screen and access the VM with SSH or an HTTPS browser on the same network. !!Tip ->!! Note the "IPv4 Address:" on the screen and access the VM with SSH or an HTTPS browser on the same network.
  • userdoc/guest_vm_hyperv.1490741328.txt.gz
  • Last modified: 2017/03/28 17:48
  • by abelbeck