Monthly Archives: January 2014

Oracle Database 12c on Oracle Linux 6 – Step 1: Download and Install Oracle VirtualBox and Oracle VirtualBox Extension Pack

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

Step 1 tends to change a bit between versions of VirtualBox. While the basic steps are pretty close, when the Windows UAC popups appear and some of the dialog boxes change a bit. Basically we’re going to download the software and walk through the wizards clicking next and then download the extension pack. Below is the latest install that I did.

Image

Open Firefox and go to http://virtualbox.org.

Image

Click the Downloads link.

Image

Click the x86/amd64 link.

Image

Click Save File.

Image

Open Windows Explorer and navigate to your Downloads directory and double-click the file you just downloaded. Note that it’s OK if the version number is different.

Image

Click Run.

Image

Click Next.

Click Next.

Image

Click Next.

Image

Click Yes.

Image

Click Install. At this point I got a Windows UAC popup which I accepted. Depending on your settings you may or may not get one.

Image

Check Always trust software from “Oracle Corporation”, and click Install.

Image

Uncheck the Start Oracle VM VirtualBox 4.3.4 after installation and click Finish.

Image

Back in your browser, click the All supported platforms link for the Extension Pack.

Image

Click OK.

Accept the warning if it appears.

Image

Click Install.

Image

Scroll down to the bottom of the license agreement and click I Agree. I got a Windows UAC popup which I accepted.

Image

Click OK.

You’re done with the Oracle VM VirtualBox installation.

Oracle Database 12c on Oracle Linux 6 – Assumptions <- Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 2: Download the Oracle Linux 6.4 iso

Advertisement

Oracle Database 12c on Oracle Linux 6 – Assumptions

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

Assumptions

  1. You have 64 bit Windows 7 on a 64 bit computer with at least 4 GB of RAM (preferably more) and at least 60 GB of free disk space. Note that it appears that Database 12c is really going to need quite a bit of memory, so 6 GB or more for the virtual machine would be ideal. Database 11g R2 worked with 4 GB.
  2. You have a network connection.
  3. You have an Oracle.com user account. If you don’t, just go to Oracle.com and click on the register link and follow the registration process.
  4. You have a CPU that supports VTx/AMD-v hardware acceleration and you have enabled hardware acceleration in your system bios. If you have not done this yet, google ‘Enabling VTx/AMD-v on a <Your machine type, for example Dell> <Your machine model number> to learn how to boot into your bios, enable the feature and then save and reboot your machine.

Here’s my system description. While it’s a few years old, it’s not a bad system with 8GB of RAM and a 4 core processor with 8 threads.

00 - Introduction 01

 

Oracle Database 12c on Oracle Linux 6 – Introduction < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 1: Download and Install Oracle VirtualBox and Oracle VirtualBox Extension Pack


Oracle Database 12c on Oracle Linux 6 – Introduction

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

My name is Rich Soule. I work as an Enterprise Solution Architect for RFD & Associates a Principal at C2 Consulting (staring in 2015) helping people architect and build hardware and software solutions to business problems, often with Oracle technology. I also teach the Oracle Database Certified Professional curriculum at Austin Community College. I put together this document to help people build Oracle database test systems and/or classroom/learning environments.

We used to build test systems on actual test computers (and we still do sometimes depending on what you are testing) but virtualization technology makes building test systems a breeze, so it is often leveraged for test systems today. When Oracle acquired Sun they also acquired VirtualBox, a free tool for building virtual machines. We’re going to use Oracle VirtualBox for this installation, but you could just skip the VirtualBox portion and use the guide to build an Oracle Linux desktop system on physical hardware if you wish.

Some notes:

Passwords – After doing demos for many years, I learned that it’s very hard to forget a password for a demo/test system if the password is always the same as the username. Thus the password for root ends up being root and the password for oracle ends up being oracle. In the administrative world we call these accounts ‘Joes’. Joes are highly unsecure and should never be used for any type of production system, nor should they be used for test systems where security matters. If security doesn’t matter, then Joes are perfect. When it comes to creating database passwords, Oracle Database 12c doesn’t let you do that out of the box so we’ll be using (at least initially) oracle_4U as the password for all oracle accounts (although I might advise you to turn them into Joes later).

Test – Yep, this is a document for building a test system and not even a real test system, but instead just a system that you can use to test out various features of Oracle or maybe as a classroom environment. In no way am I suggesting that you use these exact steps to build a production system although you’ll probably want to leverage quite a bit of the knowledge gained in your own systems. Just make sure that you are following best practices, especially as it relates to security.

Windows 7 – This guide was developed on my Windows 7 computer. I’m not sure if this will work on Windows 8 or any other host OS for that matter. It might, it might not. Remember that Microsoft added in a bunch of ‘security’ stuff to Windows so from time to time during the install process you may get User Access Control windows that pop up. I just accept whatever changes are going to be made. Obviously you’ll need administrative privileges on your computer to do this install.

Firefox – I used Firefox 24 during the Windows portion of this install. If you are using a different browser (Chrome, IE, or an older version of Firefox, or even something else), you’ll have to adjust what you’re doing to fit your browser of choice.

Screenshots – Some of them may be just a bit different than what you’ll see. I had already installed VirtualBox and built other VMs. Also I moved some of the screen shots around and took screen shots on different days, so ignore the time changes and background color changes that may pop up from time to time.

 

Oracle Database 12c on Oracle Linux 6 < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Assumptions

 


Oracle Database 12c on Oracle Linux 6

Rich Soule’s Complete Step-by-Step Guide to building a classroom environment by Installing and Configuring Oracle Database 12c with pluggable databases on Oracle Linux 6 using the Oracle Unbreakable Kernel on Oracle VM Virtualbox with Oracle Restart, Oracle ASM, Oracle SQL Developer, Enterprise Manager Database Express, Oracle Virtualbox Extensions, and rlwrap for Oracle command line tools.

This is round two of this document… I originally started this a few years ago, but this time I’m going to finish posting everything.

This series consists of the following posts:

 

Next post > Oracle Database 12c on Oracle Linux 6 – Introduction