What to do before you start installing Weblogic 12 on a Oracle Linux 5.10 OS?


First, install the proper JDK: 1.7. Download it. Extract it in e.g. /usr/lib/java-1.7.0/

Second, do alternatives

/usr/sbin/alternatives --install /usr/bin/java java <full path to your java executable> <java version number>

I did:

/usr/sbin/alternatives --install /usr/bin/java java /usr/lib/java-1.7.0/jdk1.7.0_45/bin/java 17045

And check it:

java -version


When the JDK version is installed correctly, you can start to install the Weblogic application server (WLS)

First create a directory where you want to install/extract the WLS. E.g. /home/<your username>/wls/

Extract the contents of the WLS zip file to that directory

adjust your .bash_profile and add the following lines

JAVA_HOME=<your java home directory>
MW_HOME=<your WLS home directory>

save the changes, logout and log in

check the variables; start terminal (ctrl+alt+t)


it will show something like this: /usr/lib/java-1.7.0/jdk1.7.0_45/

start the installation script

 cd $MW_HOME

a lot of jar files will be deployed

when asked to create a new domain, answer NO ! (because it creates a domain inside the WS_HOME and that's not smart)

Now, setup the WLS environment


Create a new WLS domain and start WLS


NB. After a reboot you can start the domain with the startWeblogic.sh script, which can be found in your domain directory.





Joomla templates by a4joomla