groupadd -g 100 dba
groupadd -g 101 oinstall
useradd -u 101 -d /export/home/oracle -g oinstall -G dba -m -s /usr/bin/bash oracle
passwd oracle
cp /etc/system /etc/system.orig
Add the following parameters in /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=4294967295 set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=10
/usr/sbin/reboot
su – oracle
mkdir oradata
Add the following parameters in .bash_profile
umask 022
export ORACLE_SID=[sid]
export ORACLE_HOME=[path]
export PATH=$ORACLE_HOME/bin:$PATH
. ./.bash_profile
Upload Oracle 10g binary (i.e. cpio or cpio.gz files) to a directory on the target machine. An example could be /download go to the directory where the Oracle binary are located gunzip each file by running gunzip [gz file]
su –
go to the directory where the Oracle binary are located
Create a working directory for each cpio file.
cpio -idmv < [cpio file]
cd /var/opt
mkdir oracle
cd oracle
Create a text file called oraInst.loc with the following content
inventory_loc=[ORACLE_HOME]/oraInventory
inst_group=
Then, set the file properties:
chown oracle:oinstall oraInst.loc
chmod 644 oraInst.loc
Edit the Oracle response file
cd into [cpio extracted directory]/Disk1/response/ directory
cp enterprise.rsp ../response_file.rsp
edit response_file.rsp
Define the following parameters:
ORACLE_HOME=”[oracle_home_value]” ORACLE_HOME_NAME=”[oracle_home_name_value]“
s_nameForDBAGrp=”dba”
s_nameForOPERGrp=”dba”
SHOW_DATABASE_CONFIGURATION_PAGE=false SHOW_DATABASE_OPTIONS_PAGE=false
s_globalDBName
s_dbSid SHOW_DATABASE_MANAGEMENT_PAGE=false SHOW_DATABASE_FILE_STORAGE_OPTION_PAGE=false
s_mountPoint=[data file location, ex: ORACLE_HOME/oradata] SHOW_BACKUP_RECOVERY_OPTION_PAGE=false SHOW_SCHEMA_PASSWORDS_PAGE=false
s_superAdminSamePasswd=[passord value] s_superAdminSamePasswordAgain=[passowrd value]
sl_superAdminPassowrds=[password value]
sl_superAdminPasswordsAgain=[password value]
comment out rest of parameters that has “Value Unspecified”, which are listed below: CLUSTER_NODES
s_dlgEMSMTPServer
s_dlgEMEmailAddress
s_dlgEMCentralAgentSelected
s_rawDeviceMapFileLocation
s_dlgRBORecoveryLocation
s_dlgRBOUsername
s_dlgRBOPassword
You should make sure that the following two parameters are defined:
ORACLE_HOME = “[home value]“
ORACLE_HOME_NAME=”[name value]”
su – oracle
cd to the directory where the installer is located, i.e. [directory where you ran cpio command]/Disk1
runInstaller -ignoreSysPrereqs -silent -responseFile [full path]/response_file.rsp
Note: -ignoreSysPrereqs is only required on Solaris 10. After the installation completed, run the root.sh script in [ORACLE_HOME]/root.sh.
