I will explain How to Create and Configure a Virtual Machine VM on Oracle Virtualbox in this article.
Read following article before this.
Create a Virtual Machine on Virtualbox
Click New button on the Virtualbox and start Virtual Machine creation. Information such as the name of virtual machine, directory where the configurations will be located, which operating system it will be, and version etc..
Installation continues by Clicking Next. This step determines the amount of RAM to be given to the virtual machine. Since the physical PC has 8GB, it is given as 2GB, you can change this settings later.
Hard disk setup to the virtual machine is done as follows.
File type of the hard disk is selected as follows.
Size of hard disk that will be added to the virtual machine will be fixed or will increase as it is used in this step.
For personal use as in this installation, it is recommended to install dynamically.
Size of hard disk to be added to the virtual machine is determined in this step.
Since it will be the first installation, 40GB is provided, new disks will be added in the next steps.
Installation of the virtual machine configuration is completed. Now, after configuring some of the virtual machines, we will start Oracle linux installation.
Right-click the virtual machine on the Virtualbox, click Settings and check the settings.
On the Storage tab, the Oracle Linux installation iso file is attached to the virtual machine as follows. When the virtual server is started, the Oracle linux iso file will be read and started installation.
A virtual Network adapter is attached to the virtual machine as a Bridged Adapter as follows. With this network, the virtual server will be connected to the internet as well as the Internet and linux yum and rpm packages will be downloaded.
After setting up network and iso file, press OK button and right click on virtual machine on Virtualbox and click Start Linux installation.
If you want to learn how to install Oracle Linux, you can read following article.