weblogic12c下载及安装

下载地址:http://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html

安装步骤:


1. Extract the contents of the zip to a directory (eg: /home/myhome/mywls)
   This will create a base directory named wls12120 under /home/myhome/mywls
   MW_HOME will be the entire directory including the base directory. 

翻译:将下载文件解压到home/myhome/mywls下







2. Setup JAVA_HOME and MW_HOME variables in the current shell as required
   for the target platform.
翻译:设置JAVA_HOME环境变量(参考另一篇博客即可),MW_HOME环境变量。也可手动在我的电脑->属性->环境变量里配置,方法类似。

  Linux
    $ export JAVA_HOME=/home/myhome/myjavahome
    $ export MW_HOME=/home/myhome/mywls/wls12120


  Mac
    $ export JAVA_HOME=
      /System/Library/Frameworks/JavaVM.framework/Versions/1.7/Home
    $ export USER_MEM_ARGS="-Xmx1024m -XX:MaxPermSize=256m"       
    $ export MW_HOME=/home/myhome/mywls/wls12120


  Windows
    > set JAVA_HOME=C:\home\myhome\myjavahome
    > set MW_HOME=C:\home\myhome\mywls\wls12120




3. Run the installation configuration script in the MW_HOME directory.

  This step is required to be run only once. If you move the installation to 
  another location/machine, you need to rerun this step.
翻译:运行wls12120\configure.cmd(windows下),若是linux下则运行configure.sh

  Linux/Mac
    $ . ./configure.sh 


  Windows
    > configure.cmd
    
  To run the installation configuration in silent mode.
  
  Linux/Mac
    $. ./configure.sh -silent
  
  Windows
    > configure.cmd -silent
    
  Exit status of zero means the script was successful.


  On Windows, this step retains the WLS environment settings for the current shell. 
  So, the next step can be omitted.


4. Setup WLS environment in the current shell. 
翻译:运行wls12120\wlserver\server\bin\setWLSEnv.cmd

   Linux
    $ . $MW_HOME/wlserver/server/bin/setWLSEnv.sh 


   Mac
    $ . $MW_HOME/wlserver/server/bin/setWLSEnv.sh 


   Windows
    > %MW_HOME%\wlserver\server\bin\setWLSEnv.cmd


5. Create a new WLS domain and start WLS.
   
   It is recommended that you create domains outside the MW_HOME.


   Linux
    $ mkdir /home/myhome/mydomain
    $ cd /home/myhome/mydomain
    $ $JAVA_HOME/bin/java $JAVA_OPTIONS -Xmx1024m -XX:MaxPermSize=256m weblogic.Server
    
   Mac
    $ mkdir /home/myhome/mydomain
    $ cd /home/myhome/mydomain
    $ $JAVA_HOME/bin/java $JAVA_OPTIONS -Xmx1024m -XX:MaxPermSize=256m weblogic.Server

   Windows
    > mkdir C:\home\myhome\mydomain
    > cd C:\home\myhome\mydomain
    > %JAVA_HOME%\bin\java.exe %JAVA_OPTIONS% -Xmx1024m -XX:MaxPermSize=256m weblogic.Server


   Once the domain is created, you can shutdown WLS and restart it with the 
   scripts provided in the newly created domain. 
   

本人用的就是这种方法:
   Note: You can also create the domain by invoking the GUI configuration
   wizard (Run MW_HOME/wlserver/common/bin/config.[sh|cmd]).


6. If you already have an existing domain that you want to run with this 
   installation, edit the DOMAIN_HOME/bin/setDomainEnv.sh script and change the 
   WL_HOME to point to the new installation - ${MW_HOME}/wlserver/


   Note: If the existing domain has samples configured, the server will issue
   failures during startup as samples are not included in the zip distribution.


7. Start a browser and open up url - 'http://localhost:7001/console' to 
   administer the server.
 翻译:打开浏览器,输入http://localhost:7001/console
8. If you need samples, evaluation database (Derby) or console help files for
   for non-english locales, you can download the supplemental zip and extract 
   it under MW_HOME. Follow instructions in README_SUPP.txt to properly setup
   samples.


WHAT IS NOT INCLUDED
--------------------
The following components are not available in the zip distribution.


# Native JNI libraries for unsupported platforms
# Samples, evaluation database (Derby), non-english console help
  (can be added by using the WLS supplemental zip)


CLEANUP
-------
Delete the MW_HOME directory. Note that this will delete everything under
MW_HOME. If you have created domains or extracted supplemental zip those 
files will be removed as well. Ensure that you don't create domains or 
applications under MW_HOME directory for easier migration. 


UPGRADE
-------
In-place upgrade of installation is not supported in the zip distribution. 
Download the new version of zip distribution and extract it to a new location. 
Change the MW_HOME to point to the new location and update the startup scripts
in your domains to point to the new MW_HOME.


KNOWN ISSUES
------------
# [MAC OS X] Memory settings have to be explicitly defined using the 
  USER_MEM_ARGS variable prior to running any domain scripts.
# [MAC OS X] The config wizard does not recognize a Mac OS X JDK installation 
  and issues a warning. But, it successfully creates a domain and should not 
  cause any issue running servers in the domain.
# [MAC OS X] The zip distribution has limited support for functionality 
  requiring native support. JMS C clients, auto stack-dumps, auto privileged 
  port binding are not supported.
# [ALL OS] Smart update tool is not supported in a zip distribution.
# [ALL OS] The zip distribution should not be extracted to an existing MW_HOME
  or BEA_HOME which had been created by a regular installers. Doing so will
  conflict with already installed products and is unsupported.


PATCHING
--------
# Installations based on the WebLogic Zip Distribution cannot be patched. If
 you require a patch, you must install WebLogic using a full distribution, and
 then use OPatch to apply the required patch.



英文部分来自bea(已被oracle收购),仅供参考,有问题请提问。

你可能感兴趣的:(Java,Web综合)