创建informix用户和组的常用信息

创建用户和组:
groupadd  informix
useradd -g informix -d /home/informix -s /bin/bash -m informix
passwd informix

常用的环境变量:

export PS1="\u@\h \w >"
export INFORMIXSERVER=ifx1
export INFORMIXDIR=/opt/informix
export PATH=$INFORMIXDIR/bin:/usr/bin:${PATH}:.
export GL_DATE="%iY-%m-%d"
export DATETIME="%iY-%m-%d %H:%M:%S"
export DB_LOCALE=zh_cn.GB18030-2000
export CLIENT_LOCALE=zh_cn.GB18030-2000
export LD_LIBRARY_PATH=${INFORMIXDIR}/lib:${INFORMIXDIR}/lib/esql:${INFORMIXDIR}/lib/cli
export TERM=vt100
export TERMCAP=$INFORMIXDIR/etc/termcap
export INFORMIXTERM=termcap
export DBTEMP=$INFORMIXDIR/tmp
stty erase '^H'

alias   etc='cd /opt/informix/etc'
alias   h='history'

你可能感兴趣的:(informix技术)