Monday, 27 November 2017

.bash_profile & grid_profile.env

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
###Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
#USER=oracle; export $USER
ORACLE_HOME=/u1/app/oracle/product/11.2.0; export ORACLE_HOME
ORACLE_SID=UAT1; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
BASE_PATH=/usr/sbin:$PATH; export BASE_PATH
PATH=/u1/app/oracle/product/11.2.0/bin:$BASE_PATH; export PATH
LD_LIBRARY_PATH=/u1/app/oracle/product/11.2.0/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:/u1/app/oracle/product/11.2.0/jlib:/u1/app/oracle/product/11.2.0/jlib; export CLASSPATH
export ORA_NLS10=/u1/app/oracle/product/11.2.0/nls/data/9idata
export TNS_ADMIN=/u1/app/oracle/product/11.2.0/network/admin/UAT1_uat-ebsdb1



                  ======================= Grid Profile =======================

export ORACLE_HOME=/u1/app/11.2.0/grid
export ORACLE_SID=+ASM1
export PATH=$PATH:$ORACLE_HOME/bin

No comments:

Post a Comment