Installing WebLogic Server 10.3.3 on Ubuntu (64-bit)

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.

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.

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.

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

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.

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

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

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

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

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!

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

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

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

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

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

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.

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

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.

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.

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

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

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.

The installation will run, and you can watch progress.

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

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.

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

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.

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

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.

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.

Here we see the summary screen, click on Next.

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

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

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.

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.

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

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!

About Mark Nelson

Mark Nelson is an Architect ("IC6") in the Platform Architecture Team in Oracle Development. Mark's focus area is continuous delivery, configuration management and provisioning - making it simple to manage the configuration of complex environments and applications built with Oracle Database, Fusion Middleware and Fusion Applications, on-premise and in the cloud. Before joining the Platform Architecture team, Mark was a senior member of the A-Team since 2010, and worked in Sales Consulting at Oracle since 2006 and various roles at IBM since 1994.
This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

7 Responses to Installing WebLogic Server 10.3.3 on Ubuntu (64-bit)

  1. Zakki Ahmed says:

    Hi,

    Very nice round up, I’ve written a similar blog, please echo your thoughts

    http://zakkiahmed.wordpress.com/2010/07/23/step-by-step-install-and-configure-weblogic-server/

  2. Pingback: Upgrade #Oracle #OIF to 11.1.1.3 #IDM #Identity « Deploying Identity Solutions

  3. johngwheeler says:

    You might also want to consider using the Smart Updater to perform the upgrade from 10.3.2 to 10.3.3. This *might* involve a smaller download size than the upgrade-installer. See http://soa-street.blogspot.com/2010/12/upgrade-weblogic-server-10320-to.html for details.

    John Wheeler.

    • Mark Nelson says:

      Thanks John, you’re right, that may be a good way for some people to do the upgrade. It is also possible to just download WebLogic 10.3.3 installers directly from OTN now, so the upgrade is not really needed for a new install any more.

  4. Laxman Thapa says:

    I was looking for a screen shot driven tutorial for installing Oracle Weblogic Server.
    This is the best one I found on the web..

    Thanks a lot!

Leave a Reply

Please log in using one of these methods to post your comment:

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