8 environment variables, 1 environment variable tips, Section 2.8, "environment variables – Oracle B32100-01 User Manual

Page 42

Advertising
background image

Environment Variables

2-18

Oracle Application Server Installation Guide

To create the oracle user:

1.

Enter a command similar to the following:

# /usr/sbin/useradd -g oinstall -G dba[,oper] oracle

In this command:

The -g option specifies the primary group, which must be the Oracle
Inventory group, for example oinstall

The -G option specifies the secondary groups, which must include the OSDBA
group and if required, the OSOPER group, for example dba or dba,oper

2.

Set the password of the oracle user:

# passwd oracle

To check which groups an operating system user belongs to, run the groups
command with the name of the user. For example:

prompt> groups oracle

For more information about operating system users and groups, see your operating
system documentation or contact your system administrator.

2.8 Environment Variables

The operating system user who will be installing Oracle Application Server needs to
set (or unset) the following environment variables.

Table 2–8

summarizes whether you set or unset an environment variable.

2.8.1 Environment Variable Tips

Here are some tips when working with environment variables:

Login shell

The default login shell can be the C, Bourne, or Korn shell.

Note:

Use the oracle user only for installing and running Oracle

products. Do not use root as the oracle user.

Table 2–8

Environment Variable Summary

Environment variable

Set or Unset

ORACLE_HOME and
ORACLE_SID

Must not be set.

PATH, CLASSPATH, and
LD_LIBRARY_PATH

Must not contain references to directories in any Oracle home
directories

DISPLAY

Set it to the monitor where you want the installer window to
appear.

TMP and TMPDIR

Optional. If unset, defaults to /tmp.

TNS_ADMIN

Must not be set.

Table 2–7

(Cont.) Properties of the Operating System User Who Runs the Installer

Item

Description

Advertising