Assumptions that we have Oracle Database 12c Release 1.
Typical environment file in Database Node looks like....
$ cat ORCL.env
export PS1='\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\nORCL: '
export ORACLE_SID=ORCL
export ORACLE_BASE=/ora/db/tech_st
export ORACLE_HOME=/ora/db/tech_st/12.1.0.2
export TNS_ADMIN=$ORACLE_HOME/network/admin/<ORCL_HOSTNAME>
export PERL5LIB=/ora/db/tech_st/12.1.0.2/perl/lib/5.14.1
export LD_LIBRARY_PATH=/ora/db/tech_st/12.1.0.2/lib:/ora/db/tech_st/12.1.0.2/ctx/lib:/lib:/usr/lib
export PATH=$PATH:/ora/db/tech_st/12.1.0.2/appsutil/scripts/<ORCL_HOSTNAME>:$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin:$ORACLE_HOME/OPatch:.
export ORA_NLS10=/ora/db/tech_st/12.1.0.2/nls/data/9idata
Typical environment file in Database Node looks like....
$ cat ORCL.env
export PS1='\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\nORCL: '
export ORACLE_SID=ORCL
export ORACLE_BASE=/ora/db/tech_st
export ORACLE_HOME=/ora/db/tech_st/12.1.0.2
export TNS_ADMIN=$ORACLE_HOME/network/admin/<ORCL_HOSTNAME>
export PERL5LIB=/ora/db/tech_st/12.1.0.2/perl/lib/5.14.1
export LD_LIBRARY_PATH=/ora/db/tech_st/12.1.0.2/lib:/ora/db/tech_st/12.1.0.2/ctx/lib:/lib:/usr/lib
export PATH=$PATH:/ora/db/tech_st/12.1.0.2/appsutil/scripts/<ORCL_HOSTNAME>:$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin:$ORACLE_HOME/OPatch:.
export ORA_NLS10=/ora/db/tech_st/12.1.0.2/nls/data/9idata
No comments:
Post a Comment