Software >> Services >> RDBMS >> Oracle >> How to install Oracle 10g database server on Solaris 10 x86

installer package : 10202_database_solx86.zip

place in /var/tmp/oracle10g

unzip

cd /var/tmp/oracle10g

unzip 10202_database_solx86.zip

Ensure sufficient memory

Ensure sufficient swap space

Ensure sufficient freespace in /tmp

Ensure following packages are installed

# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfn

If any not installed, look for the package in the Solaris 10 dvd

# /dvd-mountpoint/solaris_release_version/Solaris_10/Product

 # pkgadd -d . packagename

 

# groupadd oinstall
# groupadd dba
# groupadd oper

useradd -g oinstall -G dba -d /export/home/oracle oracle
mkdir /export/home/oracle
chown oracle:oinstall /export/home/oracle
passwd -r files oracle

 

mkdir -p /app/oracle/10.2.0/db
chown -R oracle:oinstall /app/oracle

# vi /export/home/oracle/.profile
umask 022
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
DISPLAY=:0.0; export DISPLAY
ORACLE_BASE=/app/oracle
ORACLE_HOME=/app/oracle/10.2.0/db
ORACLE_SID=orcl
PATH=$ORACLE_HOME/bin:/usr/openwin/bin:$PATH
export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH


set kernel parameters

vi /etc/system

set noexec_user_stack=1
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=2147483648
set shmsys:shminfo_shmmni=100
 

others use project resource control, make sure at least one process running as user oracle before running prctl command

# projadd oracle

# vi /etc/user_attr
oracle::::project=oracle

# prctl -n project.max-shm-memory -i project oracle

# prctl -n project.max-shm-memory -v 2gb -r -i project oracle

# projmod -s -K "project.max-shm-memory=(priv,2gb,deny)" oracle





 

References

[1]  http://docs.oracle.com/cd/E16655_01/install.121/e17760/toc.htm#i1010738

[2]  https://blogs.oracle.com/michel/entry/oracle_10g_solaris_10