Update from April 2014: This post has been superseded by this post: Oracle Database 12c on Oracle Linux 6
I created this blog last year so I could write down the steps taken to create an Oracle Education classroom environment using Oracle VirtualBox. I teach Oracle Education classes for Austin Community College (ACC) and also for RFD & Associates, Inc. under a program called the Workforce Development Program. You can see my previous blog post for a description of the Workforce Development Program. Tomorrow I’m teaching a class at ACC to do all of the below with my students from the DBA I and DBA II courses plus a special guest, so I thought it was finally time to start getting this all down.
There are a number of steps to create the classroom environment. Over the next few weeks I intend to write a post for each of the steps. As each post is written, I’ll update each step in the list below to point to those posts.
Here’s the steps that I took to create the classroom environment:
- Download and install Oracle VirtualBox including the Extension Pack.
- Download the Oracle Linux ISO from edelivery.oracle.com/linux.
- Create a virtual machine running Oracle Linux.
- Create a local yum repository from the DVD content and add asmlib downloaded from linux.oracle.com.
While you could just use an online repository instead of a local repository, the local repository allows you to install RPMs even if you are not connected to a network. I find this is nice from time to time, and we are more worried about the Oracle Database than we are about having the most up to date Linux environment.
- Install asmlib, asmsupport, and the oracle-validated RPMs and create the required directories including a stage directories for Oracle Grid Infrastructure and Oracle Database.
We’re also going to make the Linux User IDs and Group IDs match the training material.
- Install Oracle VirtualBox Guest Additions.
- Install rlwrap.
Optional, but oh so nice.
- Create the ASM disks and then configure and start ASM.
- Configure the Oracle user’s environment including a really nice login.sql script.
- Download Oracle Grid Infrastructure and Oracle Database 11g R2.
- Install Oracle Grid Infrastructure and create a +FRA (Fast Recovery Area) disk group in addition to the +DATA disk group.
- Install the Oracle Database software.
- Use the Database Creation Assistant to create a Database instance.
If you follow the above steps, you’ll have a training environment that matches the Oracle training material for the majority of the Oracle Database Administrator training classes (but not all, for instance the Real Application Clusters or RAC class is obviously a bit different).
June 5th, 2012 at 2:17 pm
[…] This is Step 1 in my 13 step process for creating an Oracle Education classroom environment using VirtualBox. […]
July 29th, 2012 at 9:22 pm
[…] This is Step 2 in my 13 step process for creating an Oracle Education classroom environment using VirtualBox. […]
July 31st, 2013 at 1:10 am
Hi Rich Soule,
I am not able to understand from Step 4 to 9. Could u explain in detail with steps..
Is it possible to provide me the image of Virtual box that u created..
July 31st, 2013 at 8:12 am
I thought the steps did have detail…
The image is quite large (60GB), so it isn’t something I could send.
If you search for Oracle VM Image Downloads on google, you’ll find downloads for Oracle VMs including one with Oracle 11g.