zoukankan      html  css  js  c++  java
  • 实战weblogic集群之安装weblogic

    一、系统及软件版本

    OS版本:Red Hat Enterprise Linux Server release 6.6
    WebLogic Server 版本: 10.3.3.0
    JDK版本:1.7.0_79

    软件包:jdk-7u79-linux-x64.tar.gz、wls1033_generic.jar

    二、集群服务器规划

    三、修改主机名及添加hosts

    确保集群中每台服务器主机名不一样,然后修改/etc/hosts文件,添每台主机IP及对应主机名。此步骤务必要做,否则后面启动weblogic可能会报错。

    四、安装jdk及weblogic

    1、集群中每台服务器安装jdk

    $ tar zxf jdk-7u79-linux-x64.tar.gz

    $ mv jdk1.7.0_79 /app/sinova/

    $ cd /app/sinova/ 

    $ vi .bash_profile #添加和修改如下内容

    JAVA_HOME=/app/sinova/jdk1.7.0_79
    PATH=${JAVA_HOME}/bin:$PATH:$HOME/bin

    export PATH JAVA_HOME

    $ . . bash_profile #重新加载配置

    $ java -version  #出现以下内容,表示jdk配置生效
    java version "1.7.0_79"
    Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
    Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)

    2、安装weblogic,此步骤在管理节点(10.70.52.11)上安装即可。

    第1步:启动安装,使用字符界面进行安装

    java -jar wls1033_generic.jar 
    Unable to instantiate GUI, defaulting to console mode.
    Extracting 0%....................................................................................................100%
    
    
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Welcome:
    --------
    
    This installer will guide you through the installation of WebLogic 10.3.3.0. 
    Type "Next" or enter to proceed to the next prompt.  If you want to change data entered previously, type "Previous".  You may quit the installer at any time by typing "Exit".
    
    
    
    
    Enter [Exit][Next]>    #直接回车

    第2步:选择weblogic安装目录

    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Choose Middleware Home Directory:
    ---------------------------------
    
        "Middleware Home" = [Enter new value or use default 
    "/app/sinova/Oracle/Middleware"]
    
    
    
    
    Enter new Middleware Home OR [Exit][Previous][Next]> /app/sinova/Oracle

    第3步:

    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Choose Middleware Home Directory:
    ---------------------------------
    
        "Middleware Home" = [/app/sinova/Oracle]
    
    Use above value or select another option:
        1 - Enter new Middleware Home
        2 - Change to default [/app/sinova/Oracle/Middleware]
    
    
    
    
    Enter option number to select OR [Exit][Previous][Next]>  #回车确认

    第4步:配置不接受安全更新

    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Register for Security Updates:
    ------------------------------
    
    Provide your email address to be informed of security issues, install the product, and initiate configuration manager. http://www.oracle.com/support/policies.html
    
       1|Email:[]
       2|My Oracle Support Password:[]
       3|Receive Security Update:[Yes]
    
    
    
    Enter index number to select OR [Exit][Previous][Next]> 3

    第5步:

    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Register for Security Updates:
    ------------------------------
    
    Provide your email address to be informed of security issues, install the product, and initiate configuration manager. http://www.oracle.com/support/policies.html
    
        "Receive Security Update:" = [Enter new value or use default "Yes"]
    
    
    
    Enter [Yes][No]? no

    第6步:

    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Register for Security Updates:
    ------------------------------
    
    Provide your email address to be informed of security issues, install the product, and initiate configuration manager. http://www.oracle.com/support/policies.html
    
        "Receive Security Update:" = [Enter new value or use default "Yes"]
    
    
        ** Do you wish to bypass initiation of the configuration manager and
        **  remain uninformed of critical security issues in your configuration?
    
    
    Enter [Yes][No]? yes

    第7步:

    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Register for Security Updates:
    ------------------------------
    
    Provide your email address to be informed of security issues, install the product, and initiate configuration manager. http://www.oracle.com/support/policies.html
    
       1|Email:[]
       2|My Oracle Support Password:[]
       3|Receive Security Update:[No]
    
    
    
    Enter index number to select OR [Exit][Previous][Next]> #直接回车

    第8步:

    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Choose Install Type:
    --------------------
    
    Select the type of installation you wish to perform. 
    
     ->1|Typical
        |  Install the following product(s) and component(s):
        | - WebLogic Server
        | - Oracle Coherence
    
       2|Custom
        |  Choose software products and components to install and perform optional 
        |configuration.
    
    
    
    
    
    Enter index number to select OR [Exit][Previous][Next]> #直接回车,选择典型安装即可

    第9步:

    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    JDK Selection (Any * indicates Oracle Supplied VM):
    ---------------------------------------------------
    
    JDK(s) chosen for use with this product installation will be installed. Supported defaults if not deselected will be used in script string-substitution.
    
       1|Add Local Jdk
       2|/app/sinova/jdk1.7.0_79[x]
    
    
    
       *Estimated size of installation:  727.6 MB
    
    
    Enter 1 to add or >= 2 to toggle selection  OR [Exit][Previous][Next]> #直接回车

    第10步:

    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Choose Product Installation Directories:
    ----------------------------------------
    
    Middleware Home Directory: [/app/sinova/Oracle]
    
    Product Installation Directories:
    
    
       1|WebLogic Server: [/app/sinova/Oracle/wlserver_10.3]
       2|Oracle Coherence: [/app/sinova/Oracle/coherence_3.5]
    
    
    
    
    Enter index number to select OR [Exit][Previous][Next]> #直接回车

    第11步:

    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    The following Products and JDKs will be installed:
    --------------------------------------------------
    
        WebLogic Platform 10.3.3.0
        |_____WebLogic Server
        |    |_____Core Application Server
        |    |_____Administration Console
        |    |_____Configuration Wizard and Upgrade Framework
        |    |_____Web 2.0 HTTP Pub-Sub Server
        |    |_____WebLogic SCA
        |    |_____WebLogic JDBC Drivers
        |    |_____Third Party JDBC Drivers
        |    |_____WebLogic Server Clients
        |    |_____WebLogic Web Server Plugins
        |    |_____UDDI and Xquery Support
        |    |_____Evaluation Database
        |_____Oracle Coherence
             |_____Coherence Product Files
    
        *Estimated size of installation: 727.7 MB
    
    
    
    
    Enter [Exit][Previous][Next]> #直接回车

    第12步:安装完成

    Jun 30, 2015 6:16:53 PM java.util.prefs.FileSystemPreferences$1 run
    INFO: Created user preferences directory.
    
    
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Installing files..
    
    0%          25%          50%          75%          100%
    [------------|------------|------------|------------]
    [***************************************************]
    
    
    Performing String Substitutions... 
    
    
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Configuring OCM...
    
    0%          25%          50%          75%          100%
    [------------|------------|------------|------------]
    [***************************************************]
    
    
    Creating Domains...
    
    
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Installation Complete
    
    
    Congratulations! Installation is complete.
    
    
    Press [Enter] to continue or type [Exit]> #回车
    
    <-------------------- Oracle Installer - WebLogic 10.3.3.0 ------------------->
    
    Clean up process in progress ...

    进入/app/sinova目录,会发现新产生了一个Oracle目录,表示weblogic已安装好。

  • 相关阅读:
    UWP Xaml设计器中输入特殊字符
    UWP DEP0700: 应用程序注册失败。[0x80073CF9] Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9)
    UWP 使用Windows.Media.FaceAnalysis.FaceDetector检测人脸
    .Net Core和.Net Standard直观理解
    双屏互动h5
    前端发展趋势与开发技巧
    git学习总结
    前端路由
    【react开发】使用swiper插件,loop:true时产生的问题解决方案
    【纪念】我的大学同学名单
  • 原文地址:https://www.cnblogs.com/Eivll0m/p/4626102.html
Copyright © 2011-2022 走看看