In this post, the Ubuntu OS will be installed on the VM setup in part 1. Your optical drives should look like the following:
Now, click on the server in the left panel so it is highlighted, then press start on the top toolbar. The new screen may ask you which drive to boot from. If it does, choose the one with the iso file in it.
The setup screen will start with asking for your language, choose the language of your choice. I clicked English (for obvious reasons). Note: your screen may startup with a list of options (like create disk, install Ubuntu Server, etc., if it does, simply select Install Unbuntu Server.
Next, select location. Next, I selected NO to configure keyboard layout and accepted the next two defaults concerning the keyboard. The installation will then auto detect hardware:
Next, it requests the hostname, I am calling this server UbuntuServer:
Next, enter the name of a user, I have entered the first letter of my first name and my last name. Feel free to use whatever you desire, but do remember it for future use.
I entered the same value for my username.
The next screen is for your password. Use appropriate password strength for your password then continue. I chose not to use encryption for my home directory. This server is needed for speed, not security, I don’t wish it to be slowed down in any way. Choose no for Encrypt your home directory.
Configure the clock next, I took defaults, as it is not important for our task at hand. Next, the remaining hardware is detected and you should come to a screen asking about partition disks. I selected the default (Guided-use entire disk and set up LVM). The next screen I accepted the default (SCSI3).
Next screen select <yes> to write the changes to the disk and configure LVM.
Next screen is the disk partition screen. I chose the full size of the disk and when prompted I selected yes to write the changes to the disk. The install continues and may take a few minutes. There may be a request for information about a proxy. I do not have one setup, therefore I left it blank and continued.
The process will continue until asked if you wish to have automatic updates. I selected no automatic updates. On the software selection screen, I selected standard system utilities and openSSH server as shown below:
After several minutes of installing, you will be asked about install GRUB. I selected yes since this is a VM and I only have one drive set up. Lastly, the screen below will appear:
Select continue, the system will finish installation, reboot, and greet you with a login screen. You have successfully installed your Oracle VirtualBox Ubuntu Server! Next, we install OpenCV on the server.