rami.info



10 on 10

Posted in RDBMS, Software, Solaris, Sysadmin by Rami on the August 7th, 2006

To install Oracle 10g on Solaris 10 do the following:

  • Add the SUNWi15cs and the SUNWi1cs packages.
  • Create the needed groups:

groupadd -g 100 oinstall
groupadd -g 101 dba

  • Create the oracle user:

useradd -u 100 -g 100 -G 101 -d /data/oracle -m -s /bin/tcsh oracle

  • Create the oracle project:

projadd oracle

  • Edit /etc/user_attr and add the following:

oracle::::project=oracle

  • Set the max.shm.memory and max.sem.ids for the project:

projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" oracle
projmod -s -K "project.max-sem-ids=(priv,100,deny)" oracle

  • Edit /etc/system and add the following:

set noexec_user_stack=1

  • Reboot
  • Install ORACLE using the installer by running the following:

./runInstaller -ignoreSysPrereqs

  • Enjoy

Leave a Reply