oracle安装环境变量设置

export ORACLE_HOME=/home/oracle/oracle11g

export ORACLE_BASE=/home/oracle/testdbf

export ORACLE_SID=test

export PATH=$PATH:$ORACLE_HOME:$ORACLE_HOME/bin:$HOME/bin

export SHLIB_PATH=$HOME/lib:$ORACLE_HOME/lib32:$ORACLE_HOME/lib:/usr/lib

export LIBPATH=$HOME/lib:$ORACLE_HOME/lib32:$ORACLE_HOME/lib

export LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$HOME/lib

export LANG=zh_CN.UTF-8

SAVELANG=$LANG;export SAVELANG

export HISTFILE=$HOME/.zxlogfile

export HISTSIZE=32767

echo "login time:`tty` `date`" >>$HOME/.zxlogfile 

trap "echo logout `tty` `date` >>$HOME/.zxlogfile" 0

NLS_LANG="SIMPLIFIED CHINESE_CHINA.UTF8"; export NLS_LANG

NLS_TERRITORY=china; export NLS_TERRITORY

NLS_DATE_FORMAT="YYYY.MM.DD HH24:MI:SS"; export NLS_DATE_FORMAT

ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33

你可能感兴趣的:(oracle)