= $headContent ?>
Configuring Ubuntu VM in Windows Hyper-V with wi-fi Contents
Recommendations
- Image: image-file-name
- Ubuntu machine configuration:
- OpenSSH server
- LAMP server
- MySQL root password: root-password
Create an internal virtual network switch
- Press Windows key and type Hyper-V.
- Click Hyper-V Manager to start Hyper-V Manager application.
- In Actions pane, click Virtual Switch Manager....
- Under Virtual Switches, ensure New virtual network switch is selected.
- Under Create virtual switch, select Internal.
- Click Create Virtual Switch.
- Give the switch a name.
- Click OK.
Share Internet with your wi-fi adapter
- Click Windows key.
- Type View network connections, click Settings and start the View network connections applet.
- Right-click on your wi-fi adapter and click Properties.
- Click on Sharing tab.
- Check Allow other network users to connect through this computer's Internet connection.
- Under Home networking connection, selectthe virtual network switch created in section A.
- Click OK.
Create virtual machine
- Click Windows key and type Hyper-V.
- Type Hyper-V Manager and start Hyper-V Manager application.
- In Actions pane, click New and select Virtual Machine....
- In Name, enter ubuntu-12.10-server-amd64 and click Next >.
- In Startup memory, enter 2048, check Use Dynamic Memory for this virtual machine. and click Next >.
- Click Next >.
- In Size, enter 30 and click Next >.
- Select Install an operating system from a boot CD/DVD-ROM.
- Select Image file (.iso) and click Browse... to select the image file image-file-name.
- Click Next >.
- Click Finish.
Configure virtual machine
- Right-click newly created virtual machine and select Settings....
- Under Hardware, click Network Adapter and click Remove.
- Under Hardware, click Add Hardware.
- Select Legacy Network Adapter and click Add.
- Under Legacy Network Adapter, in Virtual switch, select the virtual network switch created in section A.
- Click OK.