hello,
i am new to oracle, and want to install oracle database 11gr2 on oracle linux 7.
Now i am trying to set the oracle environment variables which i found on youtube, which looks like these:
==============================================================
[oracle@linux ~] $ vi /home/oracle/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
.~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_UNQNAME=orcl; export ORACLE_UNQNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
ORACLE_SID=orcl; export ORACLE_SID
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
===================================================================
then i restart the OS,
when i invoke $ORACLE_HOME or echo $ORACLE_SID, it doesn't show anything, which supposed to show 'orcl' when invoking ORACLE_SID, and 'bash: /u01/app/oracle/product/11.2.0/db_1: is a directory' when invoking the ORACLE_HOME.
Anyone can help? Thanks in advance!
Best Regards,
Jerry Antonius