[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/weblogic/weblogic #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=<SECURE VALUE> #Set this to trueif 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 trueif 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=<SECURE VALUE> #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=
Launcher log file is /tmp/OraInstall2018-02-05_11-39-28AM/launcher2018-02-05_11-39-28AM.log. Extracting the installer . . . . . Done Checking if CPU speed is above 300 MHz. Actual 2266.000 MHz Passed Checking swap space: must be greater than 512 MB. Actual 4095 MB Passed Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required) Checking temp space: must be greater than 300 MB. Actual 121215 MB Passed Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2018-02-05_11-39-28AM Log: /tmp/OraInstall2018-02-05_11-39-28AM/install2018-02-05_11-39-28AM.log
Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved. Reading response file.. Skipping Software Updates Starting check : CertifiedVersions Expected result: One of oracle-6, oracle-7, redhat-7, redhat-6, SuSE-11, SuSE-12 Actual Result: redhat-6.4 Check complete. The overall result of this check is: Passed CertifiedVersions Check: Success.
Starting check : CheckJDKVersion Expected result: 1.8.0_131 Actual Result: 1.8.0_161 Check complete. The overall result of this check is: Passed CheckJDKVersion Check: Success.
The installation of Oracle Fusion Middleware 12c WebLogic and Coherence Developer 12.2.1.3.0 completed successfully. Logs successfully copied to /home/weblogic/wls12213/cfgtoollogs/oui.
至此,Weblogic已经安装完成。
配置域
命令行方式配置域
配置域
1 2 3
cd wls12213/ oracle_common/common/bin/commEnv.sh oracle_common/common/bin/wlst.sh
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> readTemplate('/home/weblogic/wls12213/wlserver/common/templates/wls/wls.jar') WARNING: The readTemplate is deprecated. Use selectTemplate followed by loadTemplates in place of readTemplate. wls:/offline/base_domain>cd('Servers/AdminServer') wls:/offline/base_domain/Server/AdminServer>set('ListenAddress','') wls:/offline/base_domain/Server/AdminServer>set('ListenPort', 7001) wls:/offline/base_domain/Server/AdminServer>cd('../..') wls:/offline/base_domain>cd('Security/base_domain/User/weblogic') wls:/offline/base_domain/Security/base_domain/User/weblogic>cmo.setPassword('weblogic123') wls:/offline/base_domain/Security/base_domain/User/weblogic>setOption('OverwriteDomain', 'true') wls:/offline/base_domain/Security/base_domain/User/weblogic>writeDomain('/home/weblogic/user_projects/domains/test') wls:/offline/test/Security/test/User/weblogic>closeTemplate() wls:/offline>exit()