Installing Oracle WebLogic Server 11gR1 and Oracle Forms 11 on Redhat

In this session i will try to document how I installed the oracle Fusion Weblogic Server and the Oracle Forms. I did this a couple times before, and although the installation is pretty simple (yes, I really talk about the Oracle we all love 😉 ) I found I need to document the steps somewhere, just to have a reference. So if you have a need to install this software also: keep reading!

Summary:

The OS I’m installing on is: Red Hat Enterprise Linux Server release 5.4 (Tikanga) 32 Bit.. I already had Oracle Forms and reports 10g installed on this machine, so the dependencies for certain packages are already on this machine. I did not need to install extra packages.

The username to install is the OS username “oracle”. This is just an unprivileged user which I use to install and run oracle software. There is no magic in this username, it’s just that I like to see all the processes from Oracle running under oracle names.

The software I downloaded from the oracle site is:

  • Oracle WebLogic Server 11gR1 (10.3.5) + Coherence – Package Installer -> Filename is: wls1035_linux32.bin
  • Portal, Forms, Reports and Discoverer (11.1.1.2.0) (this is the full install consisting of 4 disks) -> Filenames are: ofm_pfrd_linux_11.1.1.2.0_32_diskX_1of1.zip
  • Portal, Forms, Reports and Discoverer (11.1.1.3.0) (this is the patch, one minor download of about 1.3 GB) -> Filename is: ofm_pfrd_linux_11.1.1.3.0_32_disk1_1of1.zip
  • Java SE Development Kit 6 Update 25. This is because I want to use a java installation independent of the Oracle WLS installation -> Filename is: jdk-6u25-linux-i586.bin

Start the engines – installing WebLogic Server 11gR1 (10.3.5)!

Since the files are the size of a decent movie download, I place them on the server itself, so I do not have to wait between the installations to have the files copied from the network to the server where I would like to run this software.

Before installing the WLS we need to make sure we have a JDK installed. I install mine in /opt/java with a symlink, to make changing version easier..

(as root):

# chmod +x jdk-6u25-linux-i586.bin
# cd /opt
# /path/to/jdk-6u25-linux-i586.bin
...

Java(TM) SE Development Kit 6 successfully installed.

Product Registration is FREE and includes many benefits:
* Notification of new versions, patches, and updates
* Special offers on Oracle products, services and training
* Access to early releases and documentation

Product and system data will be collected. If your configuration
supports a browser, the JDK Product Registration form will
be presented. If you do not register, none of this information
will be saved. You may also register your JDK later by
opening the register.html file (located in the JDK installation
directory) in a browser.

For more information on what data Registration collects and
how it is managed and used, see:
http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html

Press Enter to continue.....

Done.

So. That was easy.. Now a symlink as stated above:

# ln -s jdk1.6.0_25 java
# ls -l
lrwxrwxrwx  1 root root   11 May 11 12:18 java -> jdk1.6.0_25
drwxr-xr-x 10 root root 4096 May 11 12:13 jdk1.6.0_25
#

Next we are installing WebLogic Server 11gR1 (WLS for short), since the forms need this software as a prerequisite.

Navigate to the dir where the installation file is  located and make the file executable:

$chmod +x wls1035_linux32.bin

Now we need to determine where to place the software. I like to have all the stuff in one place..It’s confusing enough without all the files scattered all over the server:

# mkdir /oracle <-- this is where I want the software
# chown oracle /oracle

Ok, the prereqs are done. Now for the real thing: installing the WLS software.

Run the installer aka the .bin file, be sure you are not root!

[oracle@pro010 installFiles]$ ./wls1035_linux32.bin
Extracting 0%....................................................................................................100%

Press next

Change/ browse to the location to where you like to install the software. In my case: /oracle…


My server is not allowed to take a stroll on the internet, so nope, I do not want this..unchecking the checkbox, and moving on…


I’m pretty sure about this..Press yes..

Sjees..Dejavu! Press next..

Select Custom here, since I do not dare to get rid of the coherence (and it’s saves just a few mb anyway..). I also want to have some examples added to my installation (is this the right time to mention this is a test server? 😉 )


Scroll a bit down in the list, and select the two green circled options..Press next when done.

I like to have my JDK flavour outside of the oracle environment, so type or browse to the correct location of the JDK of choice. Otherwise select the preferred JDk from the list..Press Next when done..

Change the paths or name if preferred, but I’m happy as it all installs in the correct location..Press Next when done.

Nice! It all looks good..Press Next..Or go back if you would like to change a thing..

Ok, time for a small cup of java..(the brown stuff that is!) The installer should be done in no-time..

Ok, the installation of WLS is done. If you like you can add an domain here, but we don’t need one for the Forms and Reports installation. So I deselect the Run Quickstart and press Done.

Going in first gear- installing Portal, Forms, Reports and Discoverer (11.1.1.2.0).

Before we can install the Portal, Forms, Reports and Discoverer (from here on we just call it FORMS) software we need to unpack the downloaded files…

[oracle@pro010 Disk1]$ for i in 1 2 3 4
do
unzip ofm_pfrd_linux_11.1.1.2.0_32_disk${i}_1of1.zip
done
<snippet>

inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup25.28.1.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup25.29.1.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup25.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup26.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup27.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup28.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup29.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup30.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup31.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup32.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup33.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup34.jar
inflating: Disk4/stage/Components/oracle.network.client/11.1.0.7.0/1/DataFiles/filegroup35.jar
creating: Disk4/stage/Components/oracle.ldap.client/
creating: Disk4/stage/Components/oracle.ldap.client/11.1.1.2.0/
creating: Disk4/stage/Components/oracle.ldap.client/11.1.1.2.0/1/
creating: Disk4/stage/Components/oracle.ldap.client/11.1.1.2.0/1/DataFiles/
inflating: Disk4/stage/Components/oracle.ldap.client/11.1.1.2.0/1/DataFiles/filegroup6.jar
inflating: Disk4/stage/Components/oracle.ldap.client/11.1.1.2.0/1/DataFiles/filegroup5.jar
inflating: Disk4/stage/Components/oracle.ldap.client/11.1.1.2.0/1/DataFiles/filegroup4.jar
inflating: Disk4/stage/Components/oracle.ldap.client/11.1.1.2.0/1/DataFiles/filegroup3.jar
inflating: Disk4/stage/Components/oracle.ldap.client/11.1.1.2.0/1/DataFiles/filegroup2.jar
inflating: Disk4/stage/Components/oracle.ldap.client/11.1.1.2.0/1/DataFiles/filegroup1.jar
inflating: Disk4/stage/Components/oracle.ldap.client/11.1.1.2.0/1/DataFiles/filegroup8.jar
inflating: Disk4/stage/Components/oracle.ldap.client/11.1.1.2.0/1/DataFiles/filegroup7.jar
creating: Disk4/stage/Components/oracle.classicwls.top/
creating: Disk4/stage/Components/oracle.classicwls.top/11.1.1.2.0/
creating: Disk4/stage/Components/oracle.classicwls.top/11.1.1.2.0/1/
creating: Disk4/stage/Components/oracle.classicwls.top/11.1.1.2.0/1/DataFiles/
inflating: Disk4/stage/Components/oracle.classicwls.top/11.1.1.2.0/1/DataFiles/filegroup2.jar
inflating: Disk4/stage/Components/oracle.classicwls.top/11.1.1.2.0/1/DataFiles/filegroup1.jar
creating: Disk4/stage/Components/oracle.apr/
creating: Disk4/stage/Components/oracle.apr/11.1.1.2.0/
creating: Disk4/stage/Components/oracle.apr/11.1.1.2.0/1/
creating: Disk4/stage/Components/oracle.apr/11.1.1.2.0/1/DataFiles/
inflating: Disk4/stage/Components/oracle.apr/11.1.1.2.0/1/DataFiles/filegroup1.jar
creating: Disk4/stage/Components/oracle.wsm/
creating: Disk4/stage/Components/oracle.wsm/11.1.1.2.0/
creating: Disk4/stage/Components/oracle.wsm/11.1.1.2.0/1/
creating: Disk4/stage/Components/oracle.wsm/11.1.1.2.0/1/DataFiles/
inflating: Disk4/stage/Components/oracle.wsm/11.1.1.2.0/1/DataFiles/filegroup1.jar
creating: Disk4/stage/Components/oracle.xmlrpc/
creating: Disk4/stage/Components/oracle.xmlrpc/11.1.1.2.0/
creating: Disk4/stage/Components/oracle.xmlrpc/11.1.1.2.0/1/
creating: Disk4/stage/Components/oracle.xmlrpc/11.1.1.2.0/1/DataFiles/
inflating: Disk4/stage/Components/oracle.xmlrpc/11.1.1.2.0/1/DataFiles/filegroup1.jar
inflating: Disk4/stage/disk.label
<snippet>
[oracle@pro010 installFiles] cd Disk1
[oracle@pro010 Disk1]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 270 MB.   Actual 114231 MB    Passed
Checking swap space: must be greater than 500 MB.   Actual 3925 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-05-11_03-47-38PM. Please wait ...
[oracle@pro010 Disk1]$

It seems we are missing an Inventory. I must agree on this, since I never created one before…I place mine in the oracle home of the USER ORACLE, since Oracle doesn’t really like this dir in the same dir as the software installation. And this is in my opinion the next best place..The settings proposed by the installer are fine by me, so I press Ok.

Since I do have root access ( hehehehe 😉 )  on this machine..I run the script as root.

[oracle@pro010 Disk1]$ su
Password:
[root@pro010 Disk1]# /home/oracle/oraInventory/createCentralInventory.sh
Setting the inventory to /home/oracle/oraInventory
Setting the group name to oracle
Creating the Oracle inventory pointer file (/etc/oraInst.loc)
Changing permissions of /home/oracle/oraInventory to 770.
Changing groupname of /home/oracle/oraInventory to oracle.
The execution of the script is complete
[root@pro010 Disk1]#

Press ok, and be sure the leave the checkbox unchecked.

Looks nice…

Right..You can read the text and come to the conclusion there is additional software required..well…I did anyway and I went looking for the Repository Creation Utility. Let’s just say: you don’t need it. Well…I didn’t need it.. 😉 So just press next.

Since I encountered issues in previous releases with the patch, I do not configure the software, I just install the software and after the patch is applied, I will configure a INSTANCE HOME.Select the install software button and press Next.

The installer is checking my system…hmmm…

Of course there is in issue…when is there not an issue with Oracle installers…Anyway, after investigating it turns out one software package is to new *sigh*..I just press Next and ignore this..

Change the name (if you like) of the oracle home directory.. I changed mine to formsRep11…just because as_1 is not my thing…

I still don’t want email, so unchecked the box..

There is some nagging quality to this…Be strong, say yes!

I say: let’s just do this…Press Install..

I think it is time for the next helping of some hot java again..

Almost there….

Alright! It’s done! Press Next to continue..

Of course we do this..back at the terminal, become root, and..

[root@pro010 Disk1]# /oracle/formsRep11/oracleRoot.sh
[root@pro010 Disk1]#

Hmm..not much excitement there…oh well…back to the installer and press Ok.

Whoot!..we made it! 😉 Press Finish to end this part…

Before we install the patch, it’s good housekeeping to clean up the mess we made..so:

[oracle@pro010 installFiles]$ rm -rf Disk*
[oracle@pro010 installFiles]$

Going to second gear.. – installing Portal, Forms, Reports and Discoverer (11.1.1.3.0)

Again, unzip the file..

[oracle@pro010 installFiles]$ unzip ofm_pfrd_linux_11.1.1.3.0_32_disk1_1of1.zip
inflating: Disk3/stage/Patches/oracle.sysman.oms.core.uias/11.1.1.3.0/1/DataFiles/filegroup1.jar
creating: Disk3/stage/Patches/oracle.sysman.common/
creating: Disk3/stage/Patches/oracle.sysman.common/10.2.0.5.5/
creating: Disk3/stage/Patches/oracle.sysman.common/10.2.0.5.5/1/
creating: Disk3/stage/Patches/oracle.sysman.common/10.2.0.5.5/1/DataFiles/
inflating: Disk3/stage/Patches/oracle.sysman.common/10.2.0.5.5/1/DataFiles/filegroup3.jar
inflating: Disk3/stage/Patches/oracle.sysman.common/10.2.0.5.5/1/DataFiles/filegroup2.jar
inflating: Disk3/stage/Patches/oracle.sysman.common/10.2.0.5.5/1/DataFiles/filegroup1.jar
creating: Disk3/stage/Patches/oracle.sysman.plugin.as.main.agent/
creating: Disk3/stage/Patches/oracle.sysman.plugin.as.main.agent/11.1.1.3.0/
creating: Disk3/stage/Patches/oracle.sysman.plugin.as.main.agent/11.1.1.3.0/1/
creating: Disk3/stage/Patches/oracle.sysman.plugin.as.main.agent/11.1.1.3.0/1/DataFiles/
inflating: Disk3/stage/Patches/oracle.sysman.plugin.as.main.agent/11.1.1.3.0/1/DataFiles/filegroup3.jar
inflating: Disk3/stage/Patches/oracle.sysman.plugin.as.main.agent/11.1.1.3.0/1/DataFiles/filegroup2.jar
inflating: Disk3/stage/Patches/oracle.sysman.plugin.as.main.agent/11.1.1.3.0/1/DataFiles/filegroup1.jar
creating: Disk3/stage/Patches/oracle.sysman.agent/
creating: Disk3/stage/Patches/oracle.sysman.agent/10.2.0.5.5/
creating: Disk3/stage/Patches/oracle.sysman.agent/10.2.0.5.5/1/
creating: Disk3/stage/Patches/oracle.sysman.agent/10.2.0.5.5/1/DataFiles/
inflating: Disk3/stage/Patches/oracle.sysman.agent/10.2.0.5.5/1/DataFiles/filegroup3.jar
inflating: Disk3/stage/Patches/oracle.sysman.agent/10.2.0.5.5/1/DataFiles/filegroup2.jar
inflating: Disk3/stage/Patches/oracle.sysman.agent/10.2.0.5.5/1/DataFiles/filegroup1.jar
inflating: Disk3/stage/disk.label
[oracle@pro010 installFiles]$

Change into the just unpacked Disk1 dir and run the installer..

[oracle@pro010 installFiles]$ cd Disk1/
[oracle@pro010 Disk1]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 80 MB.   Actual 111208 MB    Passed
Checking swap space: must be greater than 512 MB.   Actual 3925 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-05-12_08-54-49AM. Please wait ...
[oracle@pro010 Disk1]$

Log: /home/oracle/oraInventory/logs/install2011-05-12_08-54-49AM.log

Ah! Here we go..nice splash screen..so we now know our display is still working…

Well..we did somewhat what is asked, beside the configure part…but that is not an issue..we did enough 😉 So we press Next.

All is looking good..previous installation is found..so we can go on..press Next.

Oracle is realy on the Spam track..I still do not want that mail thingie..So unchecking the checkbox and press Next.

Nag screen by Oracle…press Yes..

Finally! We are getting somewhere…This is what we need/want..so we press Install.

Yep…you’ve guessed it…java time!

And we are done! Press Next.

Ok, we open a shell again (or return to the already open one) and become root.

[oracle@pro010 Disk1]$ su
Password:
[root@pro010 Disk1]# /oracle/formsRep11/oracleRoot.sh
Finished product-specific root actions.
Finished product-specific root actions.
[root@pro010 Disk1]#

Done. Now back to the installer and press Ok.

Ok. We made it to the finish..So put on a big smile and..press Finish.

The road to the future – The end..

We have now installed the software, but we did not configure a thing. So nothing is started either..
In the next blog I will detail how I configured my installation of Forms and Weblogic. In the meantime I’m obliged to say this is a good time to create a backup..I don’t do this since this is a test server, but for production you might want to consider this.

Bye!

Advertisements

About GemsOfProgramming

Beeing a previously enthusiastic Java programmer, I rolled into the Oracle Database Administration world. It turned out I got a knack for this, and since approx. 2000 I'm a full time DBA. My experiences touches lot of Oracle products like Forms and Reports 9/10, JDAPI, Application Server, Weblogic Fusion and of course: Oracle Enterprise Databases, JavaFX, Swing and other Java components.
This entry was posted in Forms/Reports and tagged , , . Bookmark the permalink.

5 Responses to Installing Oracle WebLogic Server 11gR1 and Oracle Forms 11 on Redhat

  1. sreekanth says:

    its really very nice

  2. Ashwani says:

    Hi,

    I also need to install Oracle Internet Application Server 11g R1 with Patchset 2 applied (11.1.1.3.0)
    Oracle Forms(11.1.1.3.0)
    Oracle Reports(11.1.1.3.0)
    Oracle Discoverer(11.1.1.3.0).
    1) After search on google I found that we also need RCU(Repository Creation Utility) to create schemas for Oracle portal and Discoverer, but in your installation steps you did not use RCU, Can I know how can we skip use of RCU?

    2) I also found 11.1.1.3.0 supports web logic 10.3.3, but you used 10.3.5, Can we do so?

    Your help would be much appreciated.

    Thanks,
    Ashwani

    • Hi,

      as for question 1: After testing I found that if you do not intend to use the Portal or Discoverer, the RCU is not needed at all, even if the documentation says so. It had me confused also, and it took me a while to find the software..only to discover I didn’t need it.

      Q2: The reason I used 10.3.5 is that these version work together well, the other combination should work, but I can’t guarantee this.If there is no compelling reason not to use 10.3.5, I would use this version.

      Succes!

  3. tbak says:

    thanks, can you please provide the configuration part?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s