How set Oracle Weblogic oraInventory location?

I've downloaded Weblogic Quick Installer from Oracles site (http://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html).

I've set ORACLE_BASE and ORACLE_HOME to directories with write permission.

export ORACLE_BASE="/u01/app/oracle"
export ORACLE_HOME="/Users/victormarconi/Workspace/Java/Oracle"

Then: java -jar Downloads/fmw_12.2.1.3.0_wls_quick_Disk1_1of1/fmw_12.2.1.3.0_wls_quick.jar ORACLE_HOME=$ORACLE_HOME ORACLE_BASE=$ORACLE_BASE

Then the installer creates a directory in my home called oraInventory. I'd like to leave my home directory with personal files only... not files from an application.

How can I inform the installer to install oraInventory to a custom directory?

What are the best (standard) locations to set ORACLE_HOME, ORACLE_BASE, etc ?

Thanks.


Solution 1:

Generally you generate a file, for example oraInst.loc

With for example something like this content in it:

inventory_loc=/opt/weblogic12/OraInventory
inst_group=

And then when running the jar file you provide the parameter to use it:

java -jar wlinstall.jar -invPtrLoc /opt/weblogic12/oraInst.loc ....

Note the paths I use are just examples, use whatever you prefer.