Install Ubuntu
Install VirtualBox 5.0.22 for OS X hosts.
Download Ubuntu for Desktop 64-bit ISO image.
ubuntu-15.10-desktop-amd64.iso
New virtual machine
Type: Linux
Version: Ubuntu (64-bit)
Memory size is 3072MB
Create a virtual hard disk now
Hard disk file type is VDI
Storage on physical hard disk is Dynamically allocated
Select your File location and size
Setting virtual machine
Select your virtual machine and then press Settings button.
Switch to the Storage tag.
Select the Empty node of Controller: IDE root in Storage Tree.
Select IDE Secondary Master for Optional Drive in its Attributes.
Press disk button.
Press Choose Virtual Optical Disk File button.
Select your ISO image such as ubuntu-15.10-desktop-amd64.iso.
Install Ubuntu
Select your virtual machine and then press Start button.