Installation guide
15
inst_group=oinstall
The
inst_group
parameter shows the name of the Oracle Inventory group,
oinstall
.
2. If necessary, enter the following commands to create the
oinstall
group:
# /usr/sbin/groupadd oinstall
3. To determine whether the
oracle
user exists and belongs to the correct groups,
enter the following command:
# id oracle
If the
oracle
user exists, then this command displays information about the
groups to which the user belongs. The output should be similar to the following,
indicating that
oinstall
is the primary group and
dba
is a secondary group:
uid=440(oracle) gid=200(oinstall) groups=201(dba),202(oper)
4. If necessary, complete one of the following actions:
■ If the
oracle
user exists, but its primary group is not
oinstall
or it is not a
member of the
dba
group, then enter the following command:
# /usr/sbin/usermod -g oinstall -G dba oracle
■ If the
oracle
user does not exist, enter the following command to create it:
# /usr/sbin/useradd -g oinstall -G dba oracle
This command creates the
oracle
user and specifies
oinstall
as the primary
group and
dba
as the secondary group.
5. Enter the following command to set the password of the
oracle
user:
# passwd oracle
6 Creating Required Directories
To create the Oracle base directory:
1. Enter the following command to display information about all mounted file
systems:
# df -h
This command displays information about all the file systems mounted on the
system, including:
■ The physical device name
■ The total amount, used amount, and available amount of disk space
■ The mount point directory for that file system
Note: If you do not want to create a separate Oracle data file
directory, then you can install the data files in a subdirectory of the
Oracle base directory. However, this is not recommended for
production databases.