oracle 配置檔案 ,方便安裝

season0891發表於2010-01-18
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
#export ORA_CRS_HOME=$ORACLE_BASE/product/10.2.0/crs_1
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin
export PATH
export ORACLE_OWNER=oracle
export ORACLE_SID=orcl
export ORACLE_TERM=xterm
export THREADS_FLAG=native
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
#export NLS_LANG="simplified chinese"_china.zhs16gbk
export NLS_LANG=AMERICAN_AMERICA.zhs16gbk
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
#export DISPLAY=127.0.0.1:0.0

unset USERNAME

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/90618/viewspace-625330/,如需轉載,請註明出處,否則將追究法律責任。

相關文章