0% found this document useful (0 votes)
30 views

OracleDB12c-OEL7.2-VirtualBox Setup Instruction

The document provides steps to create a virtual machine using Oracle VM VirtualBox, install Oracle Linux 7.2 as the guest operating system, and configure basic settings. It describes selecting machine settings like RAM, storage, and network adapters. The virtual machine boots from the Oracle Linux ISO which launches the installer. The installer guides the user through partitioning disks, software selection, and initial configuration before rebooting into the new virtual machine.

Uploaded by

Salmooni
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

OracleDB12c-OEL7.2-VirtualBox Setup Instruction

The document provides steps to create a virtual machine using Oracle VM VirtualBox, install Oracle Linux 7.2 as the guest operating system, and configure basic settings. It describes selecting machine settings like RAM, storage, and network adapters. The virtual machine boots from the Oracle Linux ISO which launches the installer. The installer guides the user through partitioning disks, software selection, and initial configuration before rebooting into the new virtual machine.

Uploaded by

Salmooni
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 30

Creating the virtual machine

Start Oracle VM VirtualBox Manager and select Machine → New from the top menu.

Give the virtual machine a name (mine is called “OEL72-Test1”), set its type to Linux and the version to Oracle. Click Next.

Set the amount of RAM to 4096 MB and click Next.


Leave the “Create a virtual hard drive now” option selected and click Create.

Leave the HDD type to VDI and click Next.


Leave the allocation type to “Dynamically allocated” and click Next.

Name the disk “LinuxRoot.vdi” and set its size to 25 GB. Click Create.
This is the final step of the VM creation wizard, so you should see the newly created VM in your list of virtual machines. Select
the machine and choose Machine → Settings from the top menu. This will open the Settings screen where we can setup
additional resources.

Select Storage from the list and then select Controller from the storage tree. Click the Add hard disk button (that’s the one that
looks like a set of disk plates with a green plus sign on top of them).

VirtualBox will then ask you if you want to create new or choose an existing disk. Click the Create new disk button.
Leave the type to VDI and click Next.

Select “Dynamically allocated” and click Next.


Name the disk “OracleU01” and set its size to 100 GB.

You should now see two disks attached to your SATA controller. Time to attach the Linux ISO.
Select the Empty item under your IDE controller and then click “Set up the virtual CD/DVD drive” button (the one that looks
like a CD, next to the “CD/DVD Drive” drop-down list). This will open a list of commands. Select “Choose a virtual CD/DVD disk
file” from the list.

Select the Linux ISO file and click Open.

The ISO image appears under your IDE controller.

Our final task is to set up the machine networks, so you can comfortably interact with it while still having internet access from
inside the VM. Click Network from the list on the left.
Set Adapter 1 to “Host-only Adapter” and make sure the “Enable Network Adapter” option is checked. Then click the “Adapter
2” tab.

Enable the second adapter and set its “Attached to” option to NAT. Click OK.
Change the number of processor to 4.
The virtual machine is now fully configured. Time to boot it up and start the Linux installation.
Installing Oracle Linux 7.2
Select the newly created VM and click Machine → Start from the VirtualBox Manager’s menu. This will start the virtual machine
and it will automatically boot from the Oracle Linux ISO image.

Press Enter.
Select the appropriate language and select the "Set keyboard to default layout for selected language" option, then click the
"Continue" button.

Click the "I want to proceed." button on the pre-release software warning screen.
You are presented with the "Installation Summary" screen. You must complete any marked items before you can continue with
the installation. Depending on your requirements, you may also want to alter the default settings by clicking on the relevant
links.

Click the "Installation Destination" link.


If you want to modify the partitioning configuration, choose both local disks (sda and sdb) and then click the "Continue" button
and work through the partitioning screens.
Click on “Click here to create them automatically”.
Update the new SYSTEM filesystem based on the following table.

Size File System Drive


(MB)
/boot 3072 MiB Ext4 sda
N.A. 5120 MiB swap sda
/ 38 GiB ext4 sda
/home 4096 MiB ext4 sda

Click on the Done button on the top left corner.


You will be presented with a warning screen just to confirm and Accept the Changes that was made. Click on the Accept
Changes button.
Click on Network & Hostname to set the hostname (oel72test1.localdomain) and enable the two network adapters, then press
Done.
It would be advisable to click on the "Software Selection" link and pick the following options if you want a GUI console.

 Base Environment > Server with GUI


 Add-Ons for Selected Environment > KDE
 Add-Ons for Selected Environment > Compatibility Libraries
 Add-Ons for Selected Environment > Development Tools
 Once you have completed your selections, click the "Done" button.
Click on KDUMP and disable it by unchecking the box and then clicking Done.
Once you have completed your alterations to the default configuration, click the "Begin Installation" button.
Click the "Root Password" link.
Enter the root password (oracle) and click the "Done" button.
Wait for the installation to complete. When prompted, click the "Reboot" button.
Accept the language by clicking the "Next" button.
Accept the input sources by clicking the "Next" button.
Select your time zone and click Next.
Create the oracle user and set a password
Click the "Start using Oracle Linux Server" button.
You are now presented with the console screen.
The first boot configuration is now completed. Select Other at the login screen and login as root.

You might also like