Creating an OPA Hub Self Study Platform Part One

I am regularly asked by students how to set up and install an OPA Hub for self-study purposes. So this post series aims to give people a guide to follow. Obviously this sort of thing is perilous because there are so many permutations and languages and settings and so forth. But hey, who dares wins, eh? Over on my other home, the Siebel Hub, the production and maintenance of these documents has proven to be extremely useful to many, so I am hoping that it will also be the case here.

It goes without saying that I will not be held responsible for anything whatsoever that might happen if you follow this guide, and it is exclusively your responsibility to respect test licenses, security, usage policy and everything and anything else. That said, let’s go – from zero to OPA Hub in under 2 hours from scratch!

Get Windows up and running

You are going to be using Windows 2008 R2 64bit. This guide was based upon it. Download an evaluation version here

You are going to be using Oracle VIRTUAL BOX. This guide was based upon it. Begin by downloading the latest version of Virtual Box and running it on your computer. We will install Windows 2008 on a new virtual machine. Here are the different steps.

Windows Step 1

 

Click the New button in the Virtual Box main window, choosing the options below. The name of the Virtual Machine is entirely up to you.

Memory is the Next step. Give as much as you can, whilst not going over the red line. Who knows, you might want to install other software in the Virtual Machine so choose a level for your needs.

Windows Step 2

The Virtual Machine needs a hard disk so that we can install Windows. Select to create a new disk of about 60 Gb, less if fine but 25 Gb these days seems to be the minimum to be comfortable.

Windows Step 3

Choose the default file type and carry on.

Windows Step 4

The storage options just keep the default.

Windows Step 5

The location and size is up to you, especially if you have a fast external hard drive you could put it there.

Windows Step 6

Click Create. Now we need to insert the Windows DVD image and boot the machine. Click the Settings icon and go to the Storage section.

Vbox Storage CDROM

You can see the DVD icon is “empty”. Click the DVD icon with the green plus sign.

Wbox Storage CD ROM 2

Click the DVD icon and choose Virtual Optical Disk. Navigate to the ISO file you downloaded. Click OK and close the Settings.

Vbox Ready to Run Windows Install

 

Installing Pre-requisites

Our Virtual machine should now boot and we can login to Windows. Before you do that however ensure that you have network access from the Virtual Machine as you are going to do a lot of downloading now into the Virtual Machine.

Installing Windows Networking

In the virtual machine, download and install the latest Java SE (not JRE). Out of habit I installed it both in 32bit (x86) and 64bit (x64) but that probably wasn’t required.
Downloading Java JDK

All of the Java and the future MySQL and WebLogic downloads that you are about to do will require a free Oracle.com account.

Installing Java

Installed Java

You will also need to download and install Windows .NET Framework 4 before we download and install MySQL.

Downloading .NET 4

After downloading and installing .NET Framework 4, do not update it even if it asks you to.

Downloading .NET 4 Installed

Download and Install MySQL

The next stage of the plan is to get MySQL installed. We can install the latest available Community Edition ready to receive the OPA Hub database.

Find the download at http://dev.mysql.com/downloads/mysql 
Downloading MySQL

If you followed the steps up to now, the installer should run without issue (it needs .NET Framework 4). Choose the Developer Default Setup Type.

Install MySQL One

Ignore the failing requirements. They will attempt to “auto fix” and should do so without any issues. Any failed components, you don’t need them anyway.Install MySQL Two

Push through these setup screens as illustrated taking defaults and clicking Next.

Install MySQL Three

Execute the installation. This may take a long time, and you may receive warnings that it is taking too long. Ignore the warnings and click OK if they ask you to.

Install MySQL Four

Following that phase of installation will come the configuration. Press on!

Install MySQL Five

Create a root password for your MySQL server. Make a note as you will need it later.

Install MySQL Six

Accept the defaults for the following steps.

Install MySQL Seven

Wait while the product configures. Again, you may receive time warnings. Ignore them and continue.
Install MySQL Eight

We’re all finished here now.

Install MySQL Nine

Install MySQL Ten

The MySQL install is finished.

Install WebLogic Server

Now we download WebLogic – I chose 12c Quick Installer for Developers

Download Weblogic

Inside the zip file there is a JAR file. We launch it like this.Download Weblogic 2

C:\…..\bin\ java -jar fmw_12.2.1.0.0_wls_quick.jar (from a Command Prompt, substituting “….” with your path to the JDK. The readme file has details.

Install Weblogic

The installation is entirely without questions or steps to fulfill. Just watch and wait. When it has completed, you will need to start the configuration wizard. You can see how to do that in the window shown below.

Start Weblogic Config

And so we move on to part two…(this post is getting too long!)