This video show how to install Install Ubuntu 17.04 on Windows 10 with Oracle VirtualBox 5.1. Basically, the steps is very straightforward.
But...after setup, I cannot google in the browser. And it was found some sites can be reached, some sites cannot. Even cannot run apt-get update. After some searching, I found it's related to DNSSEC in /etc/systemd/resolved.conf.
To fix it, edit the file /etc/systemd/resolved.conf:
$ sudo nano /etc/systemd/resolved.conf
uncomment #DNSSEC=allow-downgrade and replace allow-downgrade with off .
Save and Exit
This video show how:
This page have a good explanation: Hectic Geek - Websites Not Loading (dns issue) After Installing Ubuntu 17.04? [fix]
Install Guest Addition:
The Guest Additions are designed to be installed inside a virtual machine after the guest operating system has been installed. They consist of device drivers and system applications that optimize the guest operating system for better performance and usability. (https://www.virtualbox.org/manual/ch04.html)
It's strongly recommended to install Guest Addition. In case of Ubuntu 17.04, simple click Devices on VirtualBox menu bar, and click Insert Guest Addition CD image...
Share folder between host Windows 10 and guest Ubuntu 17.04:
Starting with version 4.0, VirtualBox can mount shared folders automatically, at your option (link). This video show how to set auto-mount share folder in host Windows 10, and also add user to vboxsf group in guest Ubuntu to access the share folder. (Guest Addition is need)