Installing WebLogic Server 10.3.3 on Ubuntu (64-bit)

Introduction

In this post, I provide detailed instructions on how to install WebLogic Server 10.3 on Ubuntu (64-bit).

Main Article

Update:  This post describes a method for installing WebLogic Server 10.3.3 which involves first installing 10.3.2 and then patching up to 10.3.3.  It also now possible to just install 10.3.3 directly.  If you are an Oracle customer, you can download the 10.3.3 installer from eDelivery.

Another update:  You can now download a 10.3.3 installer from Oracle Technology Network, and also a “zip” distribution which you don’t need to “install” – just unzip -very handy for developers or for scripting test environments.

Yet another update: If you are reading this post because you are interested in installing SOA Suite, BPM Suite or WebCenter on a 64-bit Linux system, you may find more of what you are looking for in this post.  You may also want to install an Oracle database on Ubuntu?  If so, please take a look at this post.

Today, I was asked how to install the 64-bit (generic) version of WebLogic Server 10.3.3 on 64-bit Ubuntu.  For this post, I am using 64-bit Ubuntu 10.04 LTS Lucid Lynx, running in Oracle VirtualBox 3.20.

First we need to install the Sun JDK, which is a supported JDK for WebLogic Server.  As root, install the Sun JDK:

# cd /usr/lib/jvm
# sh <PATH>/jdk-6u20-linux-x64.bin

Next, we install WebLogic Server 10.3.2.  You can download this from Oracle Technology Network.  You want the Generic version of the Oracle WebLogic Server 11gR1 (10.3.2) – Package Installer.  Note: 10.3.2, not 10.3.3.

To install this, we run the following command, as a normal user:

$ /usr/lib/jvm/jdk1.6.0_20/bin/java -jar wls1032_generic.jar

After a few moments, the installer will appear.  Click on the Next button to start.

ubuntu-slide01

On the next screen we can set the location for our “Middleware Home.”  This is the directory where WebLogic Server will be installed.  I just accepted the default.

ubuntu-slide02

On the next screen you can provide your Oracle Support credentials (if you wish to) so that you can be notified of any important updates.  I just unchecked the box and clicked on Next to continue.  You will have to confirm in the popup box as shown.

ubuntu-slide03

On the next screen, we can select the type of installation.  I chose Typical and clicked on Next.

ubuntu-slide04

Next we select the JDK we wish to use.  This should already be showing the one we just installed and used to start the installation program, so you can go ahead and click on Next.

ubuntu-slide05

Next, we can specify the product installation directory.  I just took the default and clicked on Next.

ubuntu-slide06

Now we get a summary screen.  Click on Next to start the installation.

ubuntu-slide07

The installation will run, and we can watch the progress.

ubuntu-slide08

Once installation is completed we will see the following screen. Uncheck the Run Quickstart and then click on Done to exit the installation program.

ubuntu-slide09

We now have WebLogic Server 10.3.2 installed.  Next we need to download the 10.3.3 Upgrade Installer from Oracle Support.  If you have not used Oracle Support (formerly known as Metalink) for a while, you may notice it looks a little different now!

ubuntu-slide10

Once you have signed in go to the Patches & Updates section.

ubuntu-slide11

Click on the link for Product or Family (Advanced Search).

ubuntu-slide12

In the Product field, type in Oracle WebLogic Server, or select it from the list.

ubuntu-slide13

In the Release field, use the drop down box to select WLS 10.3.3.

ubuntu-slide14

In the Platform field, use the drop down to select Linux x86-64.

ubuntu-slide15

Click on the Search button.  You should get the following patch in your results.  Click on the patch number to open details of the patch.

ubuntu-slide16

On the right hand side, click on the Download button to download the patch and then unzip it.

ubuntu-slide17

This will give you a README file and the Upgrade Installer, called wls1033_upgrade_generic.jar.

To run the upgrade installer, we issue the following command:

$ /usr/lib/jvm/jdk1.6.0_20/bin/java -jar wls1033_upgrade_generic.jar

After a few moments, the Upgrade Installer will start.  Warning:  You may experience a little Déjà vu at this point!  Click on the Next button to start.

ubuntu-slide18

First, we need to select the Middleware Home to use.  Pick the same one we used earlier to install WebLogic Server 10.3.2.  This should be automatically selected for you.  Click on Next.

ubuntu-slide19

Again you can provide your Oracle Support credentials, or not, as you choose.

ubuntu-slide20

A summary screen will be displayed.  You may notice that WebLogic Server 10.3.3 includes some new options.  Click on Next to continue.

ubuntu-slide21

If you accept the defaults and leave that option selected, like I did, you will get a screen confirming where you want to install it.  Just accept the defaults again and click on Next to continue.

ubuntu-slide22

The installation will run, and you can watch progress.

ubuntu-slide23

Again, uncheck the Run Quickstart option and click on Done to exit the installer.

ubuntu-slide24

Now that the installation is finished, we want to create a domain.  This is done using the “config” script.

$ cd /home/mark/Oracle/Middleware/wlserver_10.3/common/bin
$ ./config.sh

After a few moments, the Configuration Wizard will start.  Select Create a new WebLogic Domain and click on Next to get started.

ubuntu-slide25

On the next screen you get the option to add some extensions.  I just accepted the defaults and clicked on Next.

ubuntu-slide26

Here you can give your domain a name and set the location where it will be stored.  Again, accept the defaults and click on Next.

ubuntu-slide27

On the next screen you need to set the administrator’s password by entering it twice.  Then click on Next.

ubuntu-slide28

Now you can select whether you want the server to run in Development or Production Mode, and which JDK to use.  Again, just accept the defaults and click on Next.

ubuntu-slide29

Here you get the option to change many other settings, and next time you create a domain, you might like to experiment with some of those, instead of just taking the defaults all the time!  But for now, let’s just click on Next again.

ubuntu-slide30

Here we see the summary screen, click on Next.

ubuntu-slide31

The domain will be created, and we can watch the progress.

ubuntu-slide32

After a few moments, the domain creation will be finished and we can click on Done to exit the Configuration Wizard.

ubuntu-slide33

Now we are ready to start up our server using the following commands:

$ cd /home/mark/Oracle/Middleware/user_projects/domains/base_domain
$ ./startWebLogic.sh

As the server starts up, if you look carefully at the output messages you may notice that it tells us it is running in 64-bit mode.

ubuntu-slide34

Once you get the message telling you the server is RUNNING, you can open up a browser and go to the WebLogic Server console.  This will be at http://yourserver:7001/console, and you can log on with the user weblogic and the password you created a moment ago.

ubuntu-slide35

When you click on Log In, you will see the console:

ubuntu-slide36

So, there we have it, a 64-bit WebLogic Server running on 64-bit Ubuntu.  The procedure for other Linux variants, Solaris, etc. is pretty similar and even installing on 64-bit Windows is not too different!  Good luck.

P.S.:  If there are any Ubuntu developers reading this post, I have not used Ubuntu for years and I must say that it looks fantastic and was very easy to install and use.  Congratulations on the great work!

Add Your Comment