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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-15
  • 2021-12-15
  • 2021-12-05
  • 2022-12-23
  • 2021-12-05
  • 2021-11-29
猜你喜欢
  • 2021-06-12
  • 2021-09-05
  • 2021-11-30
  • 2021-06-09
  • 2021-07-09
  • 2021-11-22
相关资源
相似解决方案