logo for asktheoracle.net
leftimage for asktheoracle.net

Oracle 11g Installation and Configuration With VirtualBox and Oracle Enterprise Linux (Part 2)

This is part 2 of our guide to installing Oracle 11g on virtual Oracle Enterprise Linux on Windows Vista.

Part 1 covers the installation of VirtualBox (stage 1) and the configuration of the virtual machine (stage 2).

This part covers stage 3 - the installation and confguration of Linux on the virtual machine in preparation for installing the Oracle 11g database software (stage 4).

Part 3 covers the installation and configuration of the database in the virtual Linux environment (stage 4).

Stage 3 - Installing Oracle Enterprise Linux on the Virtual Machine


Installation of Linux is quite straightforward once you've created your virtual machine - you just need to boot the virtual machine with the installation dvd in the relevant drive.

Step 1 - Download Oracle Enterprise Linux

Oracle Enterprise Linux is available for free from Oracle's e-delivery site, however registration is required.

Step 2 - Burn to a Bootable Dvd

You could of course burn to cds but you would need ten of them! Burning to a dvd is much more convenient and makes installation much quicker and easier.

Step 3 - Start the Virtual Machine

To beign the Linux installation, start the virtual machine (by clicking on the big green arrow) with the bootable Oracle Enterprise Linux dvd in the drive and installation will start when you press the <ENTER> key.

Start Virtual Machine

Step 4 - Install Linux

Once anaconda (the Linux installer) starts it's just a case of selecting the following parameters:
  • the language(s) you want
  • which keyboard you have (US, UK, Russian, etc)
  • the type of installation (desktop, workstation, server or custom)
  • automatic or manual partitioning (selecting automatic here means much less work later)
  • the time zone
  • packages you want installed
  • boot loader/network/firewall configuration
and letting it run (mostly). As it's a virtual machine, the default settings are usually appropriate.

Oracle Tips & Tricks to SKYROCKET Your Career!

If you're not already a subscriber to Oracle Tips and Tricks, you're  missing out on a myriad of tips and techniques to help you become a better, faster, smarter developer. Subscribe now and ignite your career.


Step 4a - Disk Partitioning

After a few steps, you are asked to choose manual or automatic partitioning.

You  might choose manual partitioning if you want to specify different mount points for the Oracle 11g software and the database data files but unless you're using different physical disks for this you're just making the environment more complicated than it needs to be.

Choosing automatic partitioning let's the Linux installer specify the mount points as if everything is on the same physical disk. Choosing this option makes installation easier.

After you've selected the partitioning method (and your partitions if partitioning manually), the installation routine warns you that it needs to format your hard disks! You don't need to worry though as they are only virtual disks.  As far as the installer  is concerned the (virtual) disks need to be formatted, so say "Yes" to this.

Disk partition setup

Step 4b - Automatic Partitioning

This step seems redundant having just indicated that you're happy for the whole disk to be formatted, however you're now asked to choose which partitiions can be removed or whether you want to use only the free space on the disk(s). It is safe to specify the removal of all partitions as it's an unitialized virtual disk and to confirm that you want to do this.

Step 4c - Boot Loader Configuration

As it's a virtual machine just accept the default.

Step 4d - Network Configuration

It's unlikley you'll want to change anything here.

Step 4e - Firewall Configuration

As it was a virtual machine running under Windows we didn't enable a firewall.

Step 4f - Additional Language Support

The default language should be set automatically using the settings on your computer. Unless you need additional langauges just deselect "English (USA)" and select the appropriate language for your area (if you're not in the US).

Step 4g - Time Zone Selection

This has to be set manually and involves picking your nearest city from a map of the world.

Step 4h - Specify Root Password

Remember what you enter here as you will need it again.

Step 4i - Package Installation

At this point you can fine tune the package selection. Oracle needs packages like gcc so it's best to include the software development packages although they can be added later if necessary.

Step 4j - Begin Linux Installation

Once you confirm the installation can start, you just have to sit back and wait untill it's finished before you can proceed to the next step of installing Oracle 11g.

Step 4i - Reboot Virtual Linux and Accept Licence


Once the installation has finished you have to reboot. Unfortunately it doesn't restart automatically. In our installation at least there are 2 Linux boot options: Enterprise (2.6.9-42.0.0.0.1.ELsmp) and Enterprise (2.6.9-42.0.0.0.1.EL) with the first option being the default. You have to access the boot menu and select the 2nd option (without the smp suffix) to get it to start.

Finally, once you've accepted the licence, agreeing to no technical support etc, Linux starts and you're now ready for the next stage - downloading and installing Oracle 11g.

Looking for Oracle 11g Training?

With our partners we offer instructor-led Oracle training on or off site in the UK as well as training via the Internet. See here for Oracle 11g training in the UK. Or contact us for details of our on-line training courses and for Oracle training in the US.