Install Oracle 815 on Solaris

•download ora815
(for ora817: gunzip ora817.cpio.gz
cat ora817.cpio | cpio -icd)
•root tasks
@/etc/system: set kernel param
(set semsys:seminfo_semmns=2000)
semmns=(a + b + c*2) + 3*10
where a b c are sid processes
@reboot system
@create oracle groups: oinstall, odba
@create oracle user: #useradd -c “Owner of Oracle Softwares” -d /export/home/oracle -m -s /bin/ksh -g oinstall -G odba oracle
(for ora817: @create Apache group: apache
@passwd oracle
passwd
@create Apache user: #userapd -c “Apache Owner” -d /export/home/apache -m -s /bin/ksh -g oinstall -G apache apache)
@create OFA mount points:
-1 sw mnt point: /opt/u01
-3 data mnt point:/space/u02, /space/u03,/space/u04
-change owner to oracle:oinstall?
•oracle user tasks
@check $umask 022
@set env variables:
-set $DISPLAY if install from wkstn
$DISPLAY=wkstn_name:0.0;
export DISPLAY
$xhost +svr_name

-set ORACLE_BASE -> /opt/u01/app/oracle
-set ORACLE_HOME -> $ORACLE_BASE/product/8.1.5
-set ORACLE_SID -> cbduck
-set PATH to include:
$ORACLE_HOME/bin, /usr/bin, /usr/local/bin, /usr/ccs/bin, /etc
@update env: . /.profile

•install steps
-login as oracle
-runInstaller
-$ORACLE_HOME should already set
-enter oinstall as Unix group
-su & execute orainstRoot.sh
-enter ORACLE_SID: limsod1
-enter file location for db file:
-execute root.sh
-oratab in /var/opt/oracle/oratab

Oracle post installation
•uncomments rbs in pfile in order to use rbs

•Auto start db
-edit /var/opt/oracle/oratab
::Y
-edit /etc/init.d/dbora
-link to dbora:
#ln -s /etc/init.d/dbora /etc/rc0.d/K10dbora
#ln -s /etc/init.d/dbora /etc/rc2.d/S99dbora

•Set ORACLE_SID for multiple db
edit .profile:
ORAENV_ASK=YES;export ORAENV_ASK
. oraenv

This entry was posted in oracle. Bookmark the permalink.