美文网首页
Oracle bash_profile 环境变量(Centos

Oracle bash_profile 环境变量(Centos

作者: 就是这个MAN | 来源:发表于2019-02-25 16:44 被阅读0次

    ++++++++++++++++++++++++++++++++++++++++++

    TMP=/tmp; export TMP

    TMPDIR=$TMP; export TMPDIR

    ORACLE_BASE=/home/oracle/app/oracle; export ORACLE_BASE

    ORACLE_HOME=$ORACLE_BASE/product/12.2.0/dbhome_1; export ORACLE_HOME

    ORACLE_SID=orcl; export ORACLE_SID

    ORACLE_TERM=xterm; export ORACLE_TERM

    PATH=/usr/sbin:$PATH; export PATH

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

    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

    if [ $USER = "oracle" ]; then

            if [ $SHELL = "/bin/ksh" ]; then

            ulimit -p 16384

            ulimit -n 65536

            else

            ulimit -u 16384 -n 65536

            fi

    fi

    ++++++++++++++++++++++++++++++++++++++++++

    相关文章

      网友评论

          本文标题:Oracle bash_profile 环境变量(Centos

          本文链接:https://www.haomeiwen.com/subject/tmmgyqtx.html