zoukankan      html  css  js  c++  java
  • weblogic12.1.3 静默安装 建域

    --安装依赖包

    yum -y install compat-libcap1 compat-libstdc++ gcc gcc-c++ glibc-devel libaio-devel libstdc++-devel ksh numactl numactl-devel motif motif-devel

    --配置好环境变量

    [john@VM-YDYWJYSL01 ~]$ vi .bash_profile

    添加如下4行:

    export JAVA_HOME=/home/john/jdk1.8.0_131
    export JRE_HOME=$JAVA_HOME/jre
    export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
    export PATH=$JAVA_HOME/bin:$PATH

    [john@VM-YDYWJYSL01 ~]$ source .bash_profile

    --静默安装weblogic12c
    java -jar fmw_12.1.3.0.0_wls.jar -silent -responseFile /home/john/wls.rsp -invPtrLoc /home/john/oraInst.loc


    --wls.rsp文件
    [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/john/wls12.1.3
    #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=

    注意:ORACLE_HOME目录根据实际情况修改,不能是已有目录,否则会报错


    --oraInst.loc文件
    inventory_loc=/home/john/oraInventory
    inst_group=john

    注意:inst_group用户组根据实际情况修改

    --建域
    cd /home/john/wls12.1.3/wlserver/common/bin
    ./config.sh -mode=silent -silent_script=/home/john/create_domain.rsp

    --create_domain.rsp文件
    read template from "/home/john/wls12.1.3/wlserver/common/templates/wls/wls.jar";

    set JavaHome "/home/john/jdk1.8.0_131";
    set ServerStartMode "prod";

    find Server "AdminServer" as AdminServer;
    set AdminServer.ListenAddress "";
    set AdminServer.ListenPort "7001";
    //set AdminServer.SSL.Enabled "true";
    //set AdminServer.SSL.ListenPort "7002";

    //Create Machine
    create Machine "VM-YDYWJYSL01" as Machinename;

    //use templates default weblogic user
    find User "weblogic" as u1;
    set u1.password "weblogic123";

    write domain to "/home/john/base_domain/";

    注意:

    ServerStartMode dev为开发模式 prod为生产模式。

    AdminServer.ListenAddress 为空默认是本机IP

    ssl 端口7002根据实际选择打开还是关闭。

    Machinename 是主机名。

  • 相关阅读:
    C# 建立快捷方式
    ae中gp执行 Error HRESULT E_FAIL has been returned from a call to a COM component错误
    AE编辑点要素编辑
    噱头还是革命 云计算“泡沫”五年后改变世界? 狼人:
    分析:英特尔收购McAfee的三大意义 狼人:
    云安全:防护“工具”还是攻击“利器” 狼人:
    热点:安全问题是否能将DNS推入云服务 狼人:
    迈克菲收购tenCube 打造新一代移动安全平台 狼人:
    戴尔推免费浏览器安全工具 可隔离恶意软件 狼人:
    黑帽大会:HTTPS和SSL协议存在安全漏洞 狼人:
  • 原文地址:https://www.cnblogs.com/john2017/p/7600907.html
Copyright © 2011-2022 走看看