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=/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 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=<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=
inventory_loc=/weblogic/oraInventory
inst_group=weblogicjava
建立文件并权限授予用户权限
cd /weblogic/
建立/weblogic/domains目录做为域安装目录。node
java -jar fmw_12.1.3.0.0_wls.jar -silent -responseFile /weblogic/wls.rsp -invPtrLoc /weblogic/oraInst.loc
web
export MW_HOME=/weblogic/domains
export WL_HOME=/weblogic/domains/oracle_commonvim
wls:/offline>readTemplate('/weblogic/domains/wlserver/common/templates/wls/wls.jar')bash
wls:/offline/basedomain>cd('Servers/AdminServer')服务器
wls:/offline/basedomain/Server/AdminServer>set('ListenAddress','')oracle
#端口号能够自定义
wls:/offline/basedomain/Server/AdminServer>set('ListenPort', 7001)domwls:/offline/basedomain/Server/AdminServer>cd('../..')ide
wls:/offline/basedomain>cd('Security/basedomain/User/weblogic')工具
#密码能够自定义,但不能太过简单
wls:/offline/basedomain/Security/basedomain/User/weblogic>cmo.setPassword('welcome1')wls:/offline/basedomain/Security/basedomain/User/weblogic>setOption('OverwriteDomain', 'true')
wls:/offline/basedomain/Security/basedomain/User/weblogic>writeDomain('/weblogic/domains/domains/basedomain')
closeTemplate()
exit()*