/home/infa/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11g
export ORACLE_SID=INFA
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
export LC_CTYPE=en_US.UTF-8
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export PATH
export IATEMPDIR=/home/infa/Temp
export LANG=C
export LC_ALL=C
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
export INFA_HOME=/app/Informatica/9.0.1
export INFA_DOMAINS_FILE=/app/Informatica/9.0.1/domains.infa
export INFA_JAVA_OPTS=-Xmx1024m
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LD_LIBRARY_PATH=/opt/oracle/product/11g/lib:/usr/lib:/app/Informatica/9.0.1/server/bin:/app/Informatica/9.0.1/ODBC6.0/lib
export JAVA_HOME=/usr/local/jdk1.6.0_29
export CLASSPATH=$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
export PATH=$PATH:/app/Informatica/9.0.1/server/bin
export ODBCHOME=/app/Informatica/9.0.1/ODBC6.0
export LD_LIBRARY_PATH=/opt/oracle/product/11g/lib:/usr/lib:/app/Informatica/9.0.1/server/bin:/app/Informatica/9.0.1/ODBC6.0/lib
export ODBCINI=/app/Informatica/9.0.1/ODBC6.0/odbc.ini
/etc/profile
# /etc/profile
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
pathmunge () {
if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
fi
}
# ksh workaround
if [ -z "$EUID" -a -x /usr/bin/id ]; then
EUID=`id -u`
UID=`id -ru`
fi
# Path manipulation
if [ "$EUID" = "0" ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
fi
# No core files by default
ulimit -S -c 0 > /dev/null 2>&1
if [ -x /usr/bin/id ]; then
USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
fi
HOSTNAME=`/bin/hostname`
HISTSIZE=1000
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
# By default, we want umask to get set. This sets it for login shell
# Current threshold for system reserved uid/gids is 200
# You could check uidgid reservation validity in
# /usr/share/doc/setup-*/uidgid file
if [ $UID -gt 99 ] && [ "`id -gn`" = "`id -un`" ]; then
umask 002
else
umask 022
fi
for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
if [ "${-#*i}" != "$-" ]; then
. $i
else
. $i >/dev/null 2>&1
fi
fi
done
unset i
unset pathmunge
odbc.ini 文件
截取示例:
[ODBC_QYQ]
Driver=/app/Informatica/9.0.1/ODBC6.0/lib/DWmsss24.so
Description=DataDirect 6.0 SQL Server Wire Protocol
Address=10.58.119.49, 3888
AlternateServers=
AnsiNPW=Yes
ConnectionRetryCount=0
ConnectionRetryDelay=3
Database=MDM_StagingDB
LoadBalancing=0
LogonID=
Password=
QuotedId=No
ReportCodePageConversionErrors=0