Installing Oracle Linux 6 on VirtualBox VM

This is a quick post on installing Oracle Linux 6 on VirtualBox. This post was originally intended to create a VM (1st node) of a RAC setup.

You can download the required software from below links:-

STEP 1 – Oracle VirtualBox Installation.

Run the setup from the downloaded Oracle VirtualBox software, this would present you with setup dialog box as below. Proceed with the setup to perform a clean installation.
oraclevirtualboxinstall

STEP 2 – Create Virtual Machine

Once VirtualBox is installed, open the VirtualBox Manager to create a new machine by clicking at New tab, this will open following dialog box.

Enter the desired VM’s Name and Choose the OS as per the software handy with you.
oraclevirtualboxinstall

STEP 3 – Memory Settings

Choose appropriate memory setting, as per the available RAM on your host machine.

oraclevirtualboxinstall

STEP 4 – Virtual Hard Disk

At this stage choose the default i.e. Create new hard disk.
oraclevirtualboxinstall

STEP 5 – Choose the File Type for Virtual Disk

Depending on your need choose the File type accordingly, if not sure, choose the default i.e. VDI
oraclevirtualboxinstall

STEP 6 – Virtual Disk Storage Details

If this is a test env. choose Dynamically Allocated else for better performance choose Fixed Size.
oraclevirtualboxinstall

STEP 7 – Virtual Disk File Location

Choose the appropriate path at the Host machine where you want to create the physical file for Virtual Disk and also specify the Size.
oraclevirtualboxinstall

STEP 8 – Create Virtual Disk

Review the information in the Summary and Click on Create tab to create the Virtual Disk with specified configuration.
oraclevirtualboxinstall

STEP 9 – VM – System Settings

Choose the appropriate system settings (RAM, Processor, etc) as per your requirement
oraclevirtualboxinstall

STEP 10 – VM – Network  Settings – Adapter 1

Choose the Network Adapter for your env. Since we need 2 Network Adapter for Public and Private Communication, we would enable 2 Network Adapter with Bridged Network Configuration.
oraclevirtualboxinstall

STEP 11 – VM – Network  Settings – Adapter 2

Choose the network configuration for 2nd Adapter and then close the settings dialog box.
oraclevirtualboxinstall

STEP 12 – Start the VM

Right click on the VM and choose Start => Normal Start
oraclevirtualboxinstall

STEP 13 – Installation Media

During Start the VM would prompt for installation media, choose the ISO of the OS you have selected during STEP – 2 and click Next.
oraclevirtualboxinstall

STEP 14 – Start the VM
oraclevirtualboxinstall

STEP 15 – OS Installation

Once the VM is booted with provided ISO, choose the Install or upgrade an existing system tab and hit Enter.
oraclevirtualboxinstall

STEP 16 – OS Installation

Press tab to move focus to the “Skip” key, then press Enter.
oraclevirtualboxinstall

STEP 17 – OS Installation

Click Next
oraclevirtualboxinstall

STEP 18 – OS Installation

Choose Language and click Next.
oraclevirtualboxinstall

STEP 19 – OS Installation

Choose Keyboard setting and click Next.
oraclevirtualboxinstall

STEP 20 – OS Installation

Choose the appropriate Storage Option and click Next.
oraclevirtualboxinstall

STEP 21 – OS Installation

If this warning is prompted, Choose Yes, discard any data to format the partition.

In case any error regarding initialize is prompted choose Re-initialize all and proceed.
oraclevirtualboxinstall

STEP 22 – OS Installation

Enter the desired hostname for this VM.

Here we are choosing ora12node1.

And then Choose the Configure Network tab.
oraclevirtualboxinstall

STEP 23 – OS Installation

Choose System eth0 and Click Edit, in the Network Connections tab.
oraclevirtualboxinstall

STEP 24 – OS Installation

In Editing System eth0 dialog box, tick on Connect Automatically and Available to all users check boxes.

Then click the IPv4 Settings tab.
oraclevirtualboxinstall

STEP 25 – OS Installation

In the IPv4 Settings tab, ensure the Method is Manual (Since we are not using DHCP) and Add the Network Address, Netmask and Gateway accordingly.

Once through press Apply.

oraclevirtualboxinstall

STEP 26 – OS Installation

Now proceed similarly for System eth1.
oraclevirtualboxinstall

STEP 27 – OS Installation
oraclevirtualboxinstall

STEP 28 – OS Installation
oraclevirtualboxinstall

STEP 29 – OS Installation

Once through with both the Network Connections close the dialog box and click Next.
oraclevirtualboxinstall

STEP 30 – OS Installation

Choose the relevant timezone and click Next.
oraclevirtualboxinstall

STEP 31 – OS Installation

Enter the credentials for root user and click Next.
oraclevirtualboxinstall

STEP 32 – OS Installation

Choose the appropriate partitioning type, if you want to review and modify the partitioning, tick the checkbox Review and modify partitioning layout.
oraclevirtualboxinstall

STEP 33 – OS Installation

Choose Write changes to disk.
oraclevirtualboxinstall

STEP 34 – OS Installation

Click on Customize Now tick box and Click Next.

We want to choose following packages for our installation:-

  • Base System > Base
  • Base System > Compatibility libraries
  • Base System > Hardware monitoring utilities
  • Base System > Large Systems Performance
  • Base System > Network file system client
  • Base System > Performance Tools
  • Base System > Perl Support
  • Servers > Server Platform
  • Servers > System administration tools
  • Desktops > Desktop
  • Desktops > Desktop Platform
  • Desktops > Fonts
  • Desktops > General Purpose Desktop
  • Desktops > Graphical Administration Tools
  • Desktops > Input Methods
  • Desktops > X Window System
  • Applications > Internet Browser
  • Development > Additional Development
  • Development > Development Tools

oraclevirtualboxinstall

STEP 35 – OS Installation (Choose Packages)

Choose the appropriate base packages, in case you need to install additional packages Click on the Optional packages tab.
oraclevirtualboxinstall

STEP 36 – OS Installation (Choose Packages)

In the Optional Packages dialog box, Choose the appropriate rpms.
oraclevirtualboxinstall

STEP 37 – OS Installation (Choose Packages)
oraclevirtualboxinstall

STEP 38 – OS Installation (Choose Packages)
oraclevirtualboxinstall

STEP 39 – OS Installation (Choose Packages)

Ensure all the packages mentioned below are chosen.

  • Base System > Base
  • Base System > Compatibility libraries
  • Base System > Hardware monitoring utilities
  • Base System > Large Systems Performance
  • Base System > Network file system client
  • Base System > Performance Tools
  • Base System > Perl Support
  • Servers > Server Platform
  • Servers > System administration tools
  • Desktops > Desktop
  • Desktops > Desktop Platform
  • Desktops > Fonts
  • Desktops > General Purpose Desktop
  • Desktops > Graphical Administration Tools
  • Desktops > Input Methods
  • Desktops > X Window System
  • Applications > Internet Browser
  • Development > Additional Development
  • Development > Development Tools

oraclevirtualboxinstall

STEP 40 – OS Installation

Wait for the installation to complete. If this asks for reboot please reboot the system.
oraclevirtualboxinstall

STEP 41 – OS Installation (Welcome Screen)

Click Forward tab on the Welcome Screen.
oraclevirtualboxinstall

STEP 42 – OS Installation (License)

Accept the agreement and click Forward.
oraclevirtualboxinstall

STEP 43 – OS Installation (Software Update)

Choose the appropriate option and click forward.
oraclevirtualboxinstall

STEP 44 – OS Installation (Security Update)
oraclevirtualboxinstall

STEP 45 – OS Installation (Finish Updates Setup)
oraclevirtualboxinstall

STEP 46 – OS Installation (Post Installation)

We would create the user afterwards so click Forward.
oraclevirtualboxinstall

STEP 47 – OS Installation (Post Installation)

Adjust the Date and Time and Click Forward.
oraclevirtualboxinstall

STEP 48 – OS Installation (Post Installation)

Accept the default settings and click Finish.
oraclevirtualboxinstall

STEP 49 – OS Installation (Post Installation)

Login with the root creds to login to the machine.
oraclevirtualboxinstall

And you have your VM with Linux 6 installed.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s