How to Install Weblogic on Ubuntu

Weblogic is an application server from Oracle which resides in Oracle Fussion Middlware. This howto will simply show how to install Weblogic on Ubuntu.

Note : Screen shot are in small resolution. Please click on the individual screens for better visibility.

Pre-Requirement
1. You must installed JAVA on Ubuntu before starting Weblogic installation
To install JAVA on Ubuntu click here
2. Download installer from here

In this how-to we are installing Weblogic in GUI(Graphical) mode.

Run java -version to check JAVA installation. In case java command not found you need to install JAVA. Please click here to install JAVA on Ubuntu.

Now install weblogic using java command. I have downloaded platform independent file of weblogic installer. So to execute the same run,

cd ~/Download
java -jar wls1035_generic.jar

Installer will get extracted in /tmp location, so ensure that you have more than 2GB space in /tmp location.

On the welcome screen, click NEXT

On Choose Middleware Directory, choose Create a new Middleware directory.
We have choose /app/Oracle/Middleware. From here onwards I will use MIDDLEWARE_DIR instead of full path i.e /app/Oracle/Middleware

On Register for security Updates, we disable the same as it is not needed in this setup.


On Choose Install Type, we are going to choose Typical

On JDK Selection, installer will detect java version automatically. If you want to select different java then click on Browse

On Choose Product Installation Directories, It should be like this
Product Installation Directories
Weblogic Server
MIDDLEWARE_DIR/wlserver_10.3
Oracle Coherence
MIDDLEWARE_DIR/coherence_3.6

On Installation Summary, verify everything and click NEXT.

Progress screen

That’s it Basic Weblogic has been completed.

Now we need to create a domain and Administrator server for the domain

To do so, run,

MIDDLEWARE_DIR/wlserver_10.3/common/quickstart/quickstart.sh

You will get Quick Start welcome screen. To create domain click on Getting Started with Weblogic Server.

Now select Create a New weblogic domain to create new domain

On Select Domain Source, by default Basic weblogic server domain get selected. Click NEXT to go ahead

On Specify Domain Name and Location, specify domain name. We are creating techienote as our domain. Click NEXT

On Configure Administrator User Name and Password, specify username and password for Administrator server and click NEXT. You are going to need this username and password while starting Weblogic and accessing admin console.

Our environment is Production, so in Configure Server Start Mode and JDK, choose Production Mode and click NEXT

On Select Optional Configuration Choose Administrator Server.

On Configure Choose Administrator Server, enter Server Name, Listen Address, Listen Port. By default weblogic will listen on 7001 TCP port.

On Configuration Summary verify details and click on NEXT


At the end setup will show you admin server URL. In my case it is http://ubuntu.home.network:7001

No we need to start Weblogic server to access Admin console.
To start admin console, run
MIDDLEWARE_DIR/user_projects/domains/techienote/bin/startWebLogic.sh

Now it will ask you username and password. Enter username and password which you have selected earlier.

At the successful startup, you will get server started in running mode text in command prompt.

Now to access Admin Console, open Browser and enter admin server url i.e. http://hostname:port/console
Enter username and password to access admin console.

Voila this is it. We have successfully installed Weblogic server on Ubuntu.

Page 2 of 2«12
rss twitter facbook

Categories

Archives