This post will describe the installation of Oracle Enterprise Linux 5 Update 6 (64 bit) to host Oracle Identity Management.
I am installing Oracle Enterprise Linux 5 Update 6 within on a virtual machine using Oracle Virtualbox 4.0.12, just to add another Oracle Tool to the stack. This can be downloaded here.
After installing Oracle Virtualbox on the host, start it. On the welcome screen chose the New icon.
On the welcome screen click on the Next button. On the next screen provide a name for the virtual machine and select the OS type Linux Oracle (64 bit).
Click Next and on the next screen provide the allocation of RAM memory for the virtual machine.
Click Next. On the next screen check Boot Hard Disk and option Create new hard disk.
Click Next. This will bring up the Create New Hard Disk wizard welcome screen. Click Next on this screen.
This will bring up the Hard Disk Storage Type screen. Chose Dynamically expand storage and click on the Next button. On the next screen provide the maximum hard disk size. I will set it to 100GB.
Click on the Next button. This will bring up the Summary screen. Click on the Finish button.
We have now created a container for our virtual machine with default settings. We will have to adjust some settings before starting the installation of Oracle Enterprise Linux 5. Click on the Settings button in the top menu of VirtualBox and chose System from the left pane. Deselect Floppy, we (and who else in the world) will not use this.
Choose Storage from the left pane and click on the CD/DVD icon marked with the red sqare.
We will now select the installation image of Oracle Enterprise Linux we downloaded in the previous post.
Chose Network from the left pane and select Bridged Adapter.
Click the Ok button to save the settings. Click on Start icon in the top menu to start the installation of Oracle Enterprise Linux. The following screen will show.
At this moment the virtual machine takes control of your mouse and keyboard and these will be 'trapped' within the virtual machine. To release your mouse and keyboard from the virtual machine hit right control key on your keyboard. Now you can manage your host again. To go back to managing the virtual machine click somewhere on the virtual machine. This will trap your mouse and keyboard again within the virtual machine.
Hit the enter key to start the installation. On the next screen hit Tab to chose Skip testing the installation CD and hit enter.
On the Welcome screen chose the Next button.
On the next screen chose the desired language. I will chose the default English.
On the next screen chose the keyboard type. I will chose the default US English.
Now a screen will popup asking you Initialize the drive.
Chose Yes on this screen. Don't be afraid, it's will not erasing your host hard disk, just the hard disk of the virtual machine.
On the next screen you can change partition settings of the hard disk of the virtual machine. I will leave this as is and hit the Next button. This will popup a 'Are your sure' screen, answer with Yes.
This brings up the network settings screen.
Click on the Edit button. On the next screen disable IPv6 and click on the Ok button.
Back on the network settings screen set the hostname to your desired hostname, in my case FusionIDM and click on Next.
On the next screen chose your location for time settings and click on Next.
On the next screen set the password for root. Note this down somewhere and do not lose it.
On the next screen choose option Customize now and click on Next.
We will now chose additional software to be installed with Linux that is needed for Oracle installations.
On the next screen select Development in the left pane and check Development Libraries.
Click on Optional packages and select library libstc++44-devel and click on Close.
Now check Development Tools in the right pane and select all gcc libs and lmake lib.
Now select Base System from the left pane and check System Tools from the right pane. Click on Optional packages.
In the list of packages select oracle-validated package. This package will create a Linux user oracle and will create necessary Linux groups. This package will also set Linux kernel parameters needed for Oracle installations. This will save us a lot of time.
On the next Summary screen hit Next. Installation of Linux will start. After all the packages have been installed you will see a screen that installation completed successfully. On this screen click on the Reboot button. After reboot a first time only install wizard will start. On the welcome screen click on button Forward. The license agreement screen will now show. Accept the agreement and click on Forward. Now the firewall settings screen shows.
Set the proper settings for your firewall. I will chose to disable the firewall, since I am installing a sandbox. Click on Forward.
On the next screen you can set SELinux settings. For the same reason I will disable this. Now Kdump screen settings will show. I will also disable this. Next comes the screen for Date and time setting. Synchronise your system clock.
Now the wizard takes us to the Create user screen. We do not want to create a user, since the oracle-validated package created the oracle user for us that we will be using for the installation. Click on Forward.
Leave the next two screen of the wizard (Sound Card & Additional CDs) as is and click on Finish. System will now reboot and you will be presented the Login screen. In this screen log in with user root and password you provided during the installation.
Once logged in start a Terminal session via menu Applications -> Accessories -> Terminal and set a password for the oracle user.
From the VirtulBox menu, select Devices -> Install Guest Additions.
This will mount a CD with tools for Virtalbox.
Open a Terminal session and submit the following command ./VBoxLinuxAdditions.run
Reboot the system and log in with the user oracle and the password you just set.
With Guest Additions installed you can now seamlessly use your mouse between host en vm without using the right control key to release mouse and keyboard.
After reboot you will also see that you can chose an additional screen resolution 1024x768.
By default Oracle Enterprise Linux (on vm?) has as screen resolution of 800x600. The Fusion Middleware installation screens have a higher resolution, which will results in the installation screens being larger than the monit0r screen. You will not be able to see the bottom of the installation screen, where the action buttons (Cancel, Next, Finish) reside and this can be very irritating during installation. So chose screen resolution 1024x768!
From the network monitor set your network connection.
Click on tab Support and note your ip-address.
Now open your /etc/hosts file and add a new line with your network ip-address and hostname.
This may seem unnecessary, but trust me, the Fusion Middleware installers fail on this point!
Installation of Oracle Enterprise Linux 5.6 is now complete and we are ready to stage and install Oracle Identity Management.
In next post I will first describe the steps you need to take to create an Oracle Database for Identity Management.
[...] my next post I will first describe how to install Oracle Enterprise Linux 5 Update 6 to host [...]
ReplyDeleteGreat post, ill be waiting the next post!!!! just im trying to install Fusion Applications too. Good luck
ReplyDelete[...] my previous post I described the steps you need to take to install Oracle Enterprise Linux. As prerequisite for [...]
ReplyDeleteIts very good blog..! very detail.
ReplyDeleteI just bumped into this post. This is very distinctively done and for a newbie on linux OS, I found this documentation very well detailed that I did not have any problem following it.
ReplyDeleteCould you tell me how to get to the network monitor to set up network connection, that is the Connection Properties: eth0? This is the only portion that I needed more answers. I am using the same LINUX version on Oracle Virtualbox.
Thanks so much.
Randolph
Hi Jaime Did u install Fusion Applications?
ReplyDelete