zoukankan      html  css  js  c++  java
  • WebLogic Server 12.1.2后的字符型安装模式

    weblogic Server 12.1.1全部都可以用原来方式.

    WebLogic Server 12.1.2后已经取消了console安装模式,目前只有gui和静默安装模式。并且安装方式下也有很大变化

    如果静默安装模式,需要创建一个response file,内容如下:

    [ENGINE]
    
    #DO NOT CHANGE THIS.
    Response File Version=1.0.0.0.0
    
    [GENERIC]
    
    #The oracle home location. This can be an existing Oracle Home or a new Oracle Home
    ORACLE_HOME=/home/oracle/Oracle/Middleware/Oracle_Home
    
    #Set this variable value to the Installation Type selected. e.g. WebLogic Server, Coherence, Complete with Examples.
    INSTALL_TYPE=WebLogic Server
    
    #Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
    MYORACLESUPPORT_USERNAME=
    
    #Provide the My Oracle Support Password
    MYORACLESUPPORT_PASSWORD=
    
    #Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration
    DECLINE_SECURITY_UPDATES=true
    
    #Set this to true if My Oracle Support Password is specified
    SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
    
    #Provide the Proxy Host
    PROXY_HOST=
    
    #Provide the Proxy Port
    PROXY_PORT=
    
    #Provide the Proxy Username
    PROXY_USER=
    
    #Provide the Proxy Password
    PROXY_PWD=
    
    #Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port]
    COLLECTOR_SUPPORTHUB_URL=

    可以采用 

    java -jar wls_121200.jar -silent -response /home/exampleuser/response/wls.rsp

    进行安装。

    如果需要Inventory,需要创建一个文件oraInst.loc

    inventory_loc=oui_inventory_directory
    inst_group=oui_install_group


    安装命令运行

    java -jar wls_121200.jar -silent -response /home/exampleuser/response/wls.rsp -invPtrLoc /home/exampleuser/oraInst.loc


    config.sh需要gui安装方式,但可以通过WLST进行字符交互型安装,安装方式如下:

    运行$WEBLOGIC_HOME/common/bin/commEnv.sh


    readTemplate("E:\wls1212_tmp\wlserver\common\templates\wls\wls.jar")

    cd('Servers/AdminServer')

    # Configure the Administration Server

    set('ListenAddress',''ericnie-lap'')

    set('ListenPort', 8001)

    cd('/')

    cd('Security/base_domain/User/weblogic')

    cmo.setPassword('weblogic12')

    setOption('OverwriteDomain', 'true')


    # Write the domain, close the domain template and exit from the WLST

    writeDomain('/export/home/wlsuser/domains/mydomain')

    closeTemplate()
    exit() 






  • 相关阅读:
    GB/T 38863-2020 干部网络培训 平台数据接口技术要求
    SF/T 0023-2019 全国公证综合管理信息系统技术规范
    JTS/T 198-3-2019 水运工程施工信息模型应用标准
    GA/T 467-2019 居民身份证验证安全控制模块接口技术规范
    JR/T 0192-2020 证券期货业移动互联网应用程序安全规范
    JR/T 0191-2020 证券期货业软件测试指南 软件安全测试
    C 实战练习题目85
    C 实战练习题目84
    C 实战练习题目83
    C 实战练习题目82
  • 原文地址:https://www.cnblogs.com/ericnie/p/5634410.html
Copyright © 2011-2022 走看看