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()*