Installing Oracle RDBMS on Solaris 11

Prepare OS environment 

#projadd group.dba
#projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" group.dba
#projmod -s -K "project.max-sem-ids=(priv,256,deny)" group.dba
#projmod -s -K "process.max-file-descriptor=(priv,65536,deny)" group.dba

 

#groupadd dba
#groupadd oinstall

#useradd -g oinstall -G dba -d /export/home/oracle -s /bin/bash -K project=group.dba -m oracle

!important! on Solaris 11 you can not explicitly create directoris in /home because of the automount feature.
Ensure automount of oracle home directory by editing /etc/auto_home
#cat /etc/auto_home
oracle  localhost:/export/home/&
+auto_home

Ensure that oracle is assigned group.dba project
#cat /etc/user_attr
root::::type=role
oracle::::project=group.dba

#cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
group.dba:100::::process.max-file-descriptor=(priv,65536,deny);project.max-sem-ids=(priv,256,deny);project.max-shm-memory=(priv,34359738368,deny)

Check that project configuration is applied to the current oracle process
#su – oracle
$ id -p
uid=100(oracle) gid=101(oinstall) projid=100(group.dba)
$ prctl -n project.max-shm-memory -i process $$
process: 1615: -bash
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-shm-memory
privileged      32.0GB      –   deny                                 –
system          16.0EB    max   deny                                 –

install X11 packages if not installed (were not installed on Fujitsu M10 by default)
#pkg install SUNWmfrun pkg:/x11/library/libxp xauth xclock xterm x11/diagnostic/x11-info-clients

install pererequisite packages

  • pkg://solaris/developer/build/make
  • pkg://solaris/developer/assembler