Login with root user.
Open /etc/profile
#vi /etc/profile
Add the following lines in profile before exporting the PATH environment variable. This will set the oracle database environment variables.
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
export ORACLE_SID=XE
export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
export PATH=$ORACLE_HOME/bin:$PATH
Open /etc/profile
#vi /etc/profile
Add the following lines in profile before exporting the PATH environment variable. This will set the oracle database environment variables.
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
export ORACLE_SID=XE
export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
export PATH=$ORACLE_HOME/bin:$PATH
No comments:
Post a Comment