|
Now, we need to create a dedicated user and two groups to install. For
example, use oracle, oinstall, and dba for the user and the two groups
respectively (deviating from these is not recommended.) Check whether
they already exist or not:
grep oinstall /etc/group
grep dba /etc/group
grep nobody /etc/group
id oracle
id nobody
|
If any of them don't exist, create them:
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/groupadd nobody
/usr/sbin/useradd -g oinstall -G dba -p passwd -d /home/oracle oracle
/usr/sbin/useradd -g nobody nobody
|
Next, we need to create some directories and set permissions.
mkdir -p /u01/app/oracle
mkdir -p /u02/oradata
chown -R oracle:oinstall /u01 /u02
chmod -R 775 /u01 /u02
|
Copyright © 1995-2006 [email protected]
|
|