[oracle@db01 ~]$ more .bash_profile
# .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
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export ORACLE_SID=npdb
export ORACLE_TERM=xterm
export PATH=/usr/sbin:$ORACLE_HOME/bin/:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8

source /etc/profile

相关文章:

  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2021-03-30
  • 2021-07-29
猜你喜欢
  • 2021-09-16
  • 2022-01-27
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
  • 2021-12-04
相关资源
相似解决方案