Flexagon has developed a set of silent install scripts for WebLogic 12.1.3, which can be downloaded here.
Unix Install
Copy the downloaded zip file to the target server and following the instructions below.
About this Install
Directory Structure - see http://docs.oracle.com/middleware/1213/soasuite/SOEDG/edg_storage.htm#SOEDG2168
We will use local storage for all directories. WebLogic and ADF Runtime software will be installed in /u01/oracle/products/fmw1213 (modify ORACLE_HOME directory in fmw_1213_install.rsp if another location is desired.
Setup
These instructions will use the oracle user and dba group, but you can any other user and group names as desired.
Create oracle user if it does not exist
...
Code Block | ||
---|---|---|
| ||
echo "inventory_loc=/u01/oracle/oraInventory" > /etc/oraInst.loc echo "inst_group=dba" >> /etc/oraInst.loc chmod 755 /etc/oraInst.loc |
Install Java
Download java install from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Download .tar.gz file, so that you can run tar -zxvf to install Java.
Copy install files to /u01/oracle/products/java8
Note: Do not keep any specific patch level in folder name, for example do not use jdk1.8.0_60, but instead use java8 or jdk8.
Download ADF Runtime
Download ADF 12.1.3 runtime from http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html
Select Application Development Runtime
File name: "fmw_12.1.3.0.0_infrastructure_Disk1_1of1.zip"
Extract this file to get - fmw_12.1.3.0.0_infrastructure.jar and copy to directory where install scripts were extracted
Install WebLogic Binaries
WebLogic and ADF Runtime binaries will be installed in /u01/oracle/products/fmw1213 (modify ORACLE_HOME directory in fmw_1213_install.rsp if another location is desired.
For 32 bit os
Code Block | ||
---|---|---|
| ||
export JAVA_HOME=/u01/oracle/products/java8
$JAVA_HOME/bin/java -d32 -jar fmw_12.1.3.0.0_infrastructure.jar -silent -invPtrLoc /etc/oraInst.loc -responseFile fmw_1213_install.rsp |
For 64 bit os
Code Block | ||
---|---|---|
| ||
export JAVA_HOME=/u01/oracle/products/java8
$JAVA_HOME/bin/java -d64 -jar fmw_12.1.3.0.0_infrastructure.jar -silent -invPtrLoc /etc/oraInst.loc -responseFile fmw_1213_install.rsp |
Create RCU Schemas
If your database version is not supported, RCU command will fail. in which case you may have to manually run it, as GUI allows version check override.
These scripts will create the STB, MDS, IAU, IAU_APPEND, IAU_VIEWER, OPSS, WLS schemas using RCU.
Run RCU in GUI mode if using XE database.
Setup Environment
Code Block | ||
---|---|---|
| ||
export ORACLE_INSTALL_HOME=/u01/oracle/products/fmw1213 << modify if you have installed software in different folder >>
export JAVA_HOME=/u01/oracle/products/java8 << modify if you have different location >>
export SYS_DB_PASSWORD= <<fill in sys password here>>
export WLS_SCHEMA_PASSWORD= <<fill in password for new RCU schemas which will be created>>
export DB_CONNECT_STRING= <<fill in value here - (either host:port:sid or host:port/servicename) - Use exact format, and do not include jdbc:oracle:thin:@ >> |
Prepare PasswordFile.txt for use with RCU silent command
From directory where install scripts are located:
Code Block |
---|
> PasswordFile.txt
chmod 700 PasswordFile.txt
echo $SYS_DB_PASSWORD>PasswordFile.txt
echo $WLS_SCHEMA_PASSWORD>>PasswordFile.txt |
Execute RCU command (from install script directory where PasswordFile.txt file is locaated)
Code Block | ||
---|---|---|
| ||
$ORACLE_INSTALL_HOME/oracle_common/bin/rcu -silent -databaseType ORACLE -createRepository -connectString ${DB_CONNECT_STRING} -dbUser sys -dbRole SYSDBA -useSamePasswordForAllSchemaUsers true -schemaPrefix FD -component STB -component MDS -component IAU -component IAU_APPEND -component IAU_VIEWER -component OPSS -component WLS -f < PasswordFile.txt
|
Note |
---|
Remove PasswordFile.txt file after RCU schemas are successfully created, as it contains clear text passwords. |