(1)useradd weblogic (2)passwd weblogic (连续输入两次密码)
[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/oraclethin #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=
inventory_loc=/home/weblogic/oraInventory inst_group=weblogic
运行: java -jar fmw_12.2.1.4.0_wls.jar -silent -responseFile /home/weblogic/wsl.rsp -invPtrLoc /home/weblogic/oraInst.loc
运行: mkdir -p /home/weblogic/oraclethin/user_projects/domains/base_domain/(该目录必须为空)
read template from “/home/weblogic/oraclethin/wlserver/common/templates/wls/wls.jar”;
set JavaHome “/usr/java/jdk1.8.0_261”; 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 “base” as Machinename;
//use templates default weblogic user find User “weblogic” as u1; set u1.password “weblogic”;
write domain to “/home/weblogic/oraclethin/user_projects/domains/base_domain/”;
// The domain name will be “demo-domain”
close template;
运行: cd /home/weblogic/oraclethin/wlserver/common/bin sh config.sh -mode=silent -silent_script=/home/weblogic/create_domain.rsp -logfile=/home/weblogic/create_domain.log
在/home/weblogic/oraclethin/user_projects/domains/base_domain/bin/startWebLogic.sh脚本开始增加如下: WLS_USER=weblogic export WLS_USER WLS_PW=weblogic export WLS_PW
依次运行: 1)cd /home/weblogic/oraclethin/user_projects/domains/base_domain 2)nohup sh startWebLogic.sh &
