yum install oracle-database-server-12cR2-preinstall
export ORACLE_BASE=/u01/app/oracle
export MW_HOME=$ORACLE_BASE/product/12.2.1
export ORACLE_HOME=$MW_HOME
export WLS_HOME=$MW_HOME/wlserver
export WL_HOME=$WLS_HOME
export FR_HOME=$ORACLE_HOME
export ORACLE_INSTANCE=$DOMAIN_HOME/config/fmwconfig/components/FORMS/instances/
forms1
export FR_INST=$ORACLE_INSTANCE
export DOMAIN_HOME=$ORACLE_BASE/config/domains/mydomain
export JAVA_HOME=$ORACLE_BASE/jdk1.8.0_301
#export OHS_INST=$DOMAIN_HOME/config/fmwconfig/components/OHS/instances/ohs1
# Forms compilation
export PATH=.:$FR_HOME/bin:$FR_HOME/forms/mesg:$PATH:$ORACLE_INSTANCE/bin
export LD_LIBRARY_PATH=$FR_HOME/oracle_common/lib/amd64:$FR_HOME/lib:$FR_HOME/
oracle_common/lib:$FR_HOME/oracle_common/jdk/lib/amd64/server
#:$FR_HOME/lib/stubs
export FORMS_BUILDER_CLASSPATH=$FR_HOME/jlib/
export FORMS_PATH=/u01/app/oracle/product/12.2.1/forms
#export REPORTS_PATH=
#export TWO_TASK=ORCL
export TNS_ADMIN=$DOMAIN_HOME/config/fmwconfig/
export TERM=vt220
export ORACLE_TERM=$TERM