Monday Sep 03, 2012

How to Install WebLogic 12c ZIP on Linux

UPDATE July 1st 2014 - See recent post about WebLogic 12.1.3 and its Maven integration, support of key Java EE 7 APIs and configuration using Docker.

I knew that WebLogic had this small ZIP distribution, of only 184M, but what I didn't know was that it is so easy to install it on Linux machines, specially for development purposes, that I thought I had to blog about it.

You may want to check this blog, where I found the missing part on this how to, but I'm blogging this again because I wanted to put it in a simpler way, straight to the point. And if you are looking for a how to for Mac, check Arun Gupta's post.

 So, here's the step-by-step:

  1. Download the ZIP distribution
    Don't forget to accept the OTN Free Developer License Agreement!
  2. Unzip the content of the file exactly where you want to keep your local installation of WebLogic 12c
  3. Make sure you have JAVA_HOME environment variable pointing to a local install of Oracle JDK 7
    • For example: export JAVA_HOME=/usr/lib/jvm/java-7-oracle
  4. Open your terminal and go to that directory
  5. Set the following environment variable
    • $ export CONFIG_JVM_ARGS=-Djava.security.egd=file:/dev/./urandom
  6. Call configure.sh
  7. When asked, say [Y] to create a default domain, and then provide a username and password
  8. Domain will be automatically started after created
  9. Go to http://localhost:7001/console

 

Enjoy!

About


Bruno has been having fun working with Java since 2000 and now helps Oracle on sharing the technology accross all Latin America. Also plays videogames, does trekking and loves beer.

Follow me on Twitter! @brunoborges

Search

Archives
« September 2015
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today