zoukankan      html  css  js  c++  java
  • 为db2用户添加db2命令及jdk环境变量配置

    AIX系统:
    db2inst用户 在/home/db2inst/.profile文件下新增以下代码(包括用户环境变量配置,具体路径取决于jdk安装的路径)

    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/java6/jre/bin:/usr/java6/bin:.

    export PATH

    if [ -s "$MAIL" ] # This is at Shell startup. In normal
    then echo "$MAILMSG" # operation, the Shell checks
    fi # periodically.

    # The following three lines have been added by IBM DB2 instance utilities.
    if [ -f /home/db2inst1/sqllib/db2profile ]; then
    . /home/db2inst1/sqllib/db2profile
    fi


    Linux系统:
    db2inst1用户 在home/db2inst1/.bashrc文件下新增以下代码(包括用户环境变量配置,具体路径取决于jdk安装的路径)

    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/java6/jre/bin:/usr/java6/bin:.

    export PATH

    if [ -s "$MAIL" ] # This is at Shell startup. In normal
    then echo "$MAILMSG" # operation, the Shell checks
    fi # periodically.

    # The following three lines have been added by IBM DB2 instance utilities.
    if [ -f /home/db2inst1/sqllib/db2profile ]; then
    . /home/db2inst1/sqllib/db2profile
    fi

  • 相关阅读:
    32 最小子串覆盖
    31 数组划分
    29 交叉字符串
    动态规划
    18 带重复元素的子集
    17 子集
    16 带重复元素的排列
    23.二叉树的后续遍历序列
    J.U.C-其他组件
    21.Longest Palindromic Substring(最长回文子串)
  • 原文地址:https://www.cnblogs.com/rimmy/p/7168572.html
Copyright © 2011-2022 走看看