Вы находитесь на странице: 1из 2

Setting Environment Variables for the Non-Root User on Linux, AIX, HP-

UX, or Solaris
This modifies the task 4-3 Setting Environment Variables for the Non-Root User on Linux, AIX, HP-UX, or
Solaris in PeopleSoft PeopleTools 8.57 Deployment Packages Installation.

This document applies in the following scenario:

 You are deploying PeopleTools 8.57 DPKs

 You are running as a non-root user.

 You are running the DPK setup script using one of the deploy_only options. For example:

– psft-dpk-setup.sh --env_type midtier --deploy_only

– psft-dpk-setup.sh --env_type midtier --deploy_only --deploy_type tools_home

– psft-dpk-setup.sh --env_type midtier --deploy_only --deploy_type app_home

– psft-dpk-setup.sh --env_type midtier --deploy_only --deploy_type


app_and_tools_home

In this case, the BASE_DIR/pt/psft_env.sh file that is described in the installation guide is not installed
automatically. You must create the script to set the required environment variables.

Use the following as a template, and make the necessary modifications for your environment. Save the
file as psft_env.sh in BASE_DIR/pt.

In this example, <BASE_DIR> refers to the DPK deployment location, and <psftsuser> is the non-root
user.

# User specific aliases and functions


export _JAVA_OPTIONS=-Djava.security.egd=file:/dev/./urandom

export TNS_ADMIN=<BASE_DIR>/db
export ORACLE_HOME=<BASE_DIR>/pt/oracle-client/12.1.0.2
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export
PATH=.:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/perl/bi
n:$PATH

TUXDIR=<BASE_DIR>/pt/bea/tuxedo
if [ -d $TUXDIR ]; then
export TUXDIR=$TUXDIR/tuxedo12.2.2.0.0
export PATH=$TUXDIR/bin:$PATH
export
LD_LIBRARY_PATH=$TUXDIR/bin:$TUXDIR/lib:$LD_LIBRARY_PATH
fi
export PATH=<BASE_DIR>/pt/ps_home8.57.04/appserv:
<BASE_DIR>/pt/ps_home8.57.04/setup:$PATH

export LANG=C
if [ -d <BASE_DIR>/pt/ps_home8.57.04 ]; then
CWD=$PWD
cd <BASE_DIR>/pt/ps_home8.57.04 && . psconfig.sh
cd $CWD
fi
export PS_CFG_HOME=/home/<psftuser>/pscfg_pt85704_lnx

Вам также может понравиться