红联Linux门户
Linux帮助

ORACLE用户的配置文件

发布时间:2006-08-27 00:12:37来源:红联作者:晚点
[code]# @(#)local.profile 1.8 99/03/26 SMI
stty istrip
PATH=/usr/bin:/usr/ucb:/etc:.
export PATH
#
# If possible, start the windows system
#
if [ "`tty`" = "/dev/console" ] ; then
if [ "$TERM" = "sun" -o "$TERM" = "sun-color" -o "$TERM" = "AT386" ]
then
if [ ${OPENWINHOME:-""} = "" ] ; then
OPENWINHOME=/usr/openwin
export OPENWINHOME
fi
echo ""
echo "Starting OpenWindows in 5 seconds (type Control-C to interrupt)"
sleep 5
echo ""
$OPENWINHOME/bin/openwin
clear # get rid of annoying cursor rectangle
exit # logout after leaving windows system
fi
fi
ORACLE_BASE=/export/home/oracle/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/9i
ORACLE_SID=ora9i
NLS_LANG=American_america.zhs16cgb231280
JAVA_HOME=/usr/java
export JAVA_HOME
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib
CLASSPATH=$ORACLE_HOME/product/jlib:$ORACLE_HOME/jre
PATH=$PATH:$ORACLE_HOME/bin:/bin:/usr/bin:/usr/ccs/bin:/usr/local/bin:/usr/java/bin:.
DISPLAY=127.0.0.1:0.0
umask 022
export ORACLE_BASE ORACLE_HOME ORACLE_SID NLS_LANG ORA_NLS33
export LD_LIBRARY_PATH CLASSPATH PATH DISPLAY[/code]
文章评论

共有 0 条评论