安装包fmw_12.2.1.2.0_infrastructure.jar 


1.创建weblogic用户

2.配置jdk环境变量

3.切换到weblogic用户,创建初始化环境文件

$ cat oraInst.loc

inventory_loc=/home/weblogic/oraInventory

inst_group=weblogic

4.创建响应文件

$ cat fmw_12.2.1.2.0_infrastructure.rsp

[ENGINE]

Response File Version=1.0.0.0.0

[GENERIC]

DECLINE_AUTO_UPDATES=true

MOS_USERNAME=

MOS_PASSWORD=

AUTO_UPDATES_LOCATION=

SOFTWARE_UPDATES_PROXY_SERVER=

SOFTWARE_UPDATES_PROXY_PORT=

SOFTWARE_UPDATES_PROXY_USER=

SOFTWARE_UPDATES_PROXY_PASSWORD=

ORACLE_HOME=/home/weblogic/Oracle/Middleware/Oracle_Home

INSTALL_TYPE=Fusion Middleware Infrastructure

MYORACLESUPPORT_USERNAME=

MYORACLESUPPORT_PASSWORD=

DECLINE_SECURITY_UPDATES=true

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

PROXY_HOST=

PROXY_PORT=

PROXY_USER=

PROXY_PWD=

COLLECTOR_SUPPORTHUB_URL=

5.安装weblogic  (响应文件和初始化环境文件 要写全路径)

java -jar fmw_12.2.1.2.0_infrastructure.jar -silent -responseFile /home/weblogic/fmw_12.2.1.2.0_infrastructure.rsp -invPtrLoc /home/weblogic/oraInst.loc