Oracle Database 10g Release 2
Oracle Database 10g Release 2
2) Installation On
Solaris 10 (x86)
In this article I'll describe the installation of Oracle Database 10g Release 2 (10.2.0.2) on Solaris 10 (x86).
The article is based on a default server installation as shown here. Alternative installations may require a
different setup procedure.
Download Software
Unpack Files
Hosts File
Set Kernel Parameters
Setup
Installation
Post Installation
Download Software
Unpack Files
unzip 10202_database_solx86.zip
You should now have a single directory called "database" containing installation files.
Hosts File
The "/etc/hosts" file must contain a fully qualified name for the server.
In previous versions of Solaris, kernel parameters were amended by adding entries to the "/etc/system"
file, followed by a system reboot.
set semsys:seminfo_semmni=100
set semsys:seminfo_semmsl=256
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmni=100
The Oracle installer recognizes kernel parameters set using this method, but it is now deprecated in
favour of resource control projects, explained below.
projadd oracle
oracle::::project=oracle
If you've performed a default installation, it is likely that the only kernel parameter you need to alter is
"max-shm-memory". To check the current value issue the following command.
To reset this value, make sure at least one session is logged in as the oracle user, then from the root user
issue the following commands.
The first dynamically resets the value, while the second makes changes to the "/etc/project" file so the
value is persistent between reboots.
# cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
oracle:100::::project.max-shm-memory=(priv,4294967296,deny)
#
The Oracle installer seems incapable of recognising kernel parameter set using resource control projects,
but if you ignore the warnings the installation completes successfully.
Setup
Add the "SUNWi1cs" and "SUNWi15cs" packages using the "pkgadd" command.
## Installing part 1 of 1.
## Installing part 1 of 1.
groupadd oinstall
groupadd dba
groupadd oper
mkdir -p /u01/app/oracle/product/10.2.0/db_1
chown -R oracle:oinstall /u01
If you have not partitioned your disks to allow a "/u01" mount point, you may want to install the software in
the "/export/home/oracle" directory as follows.
mkdir -p /export/home/oracle/product/10.2.0/db_1
chown -R oracle:oinstall /export/home/oracle
Login as the oracle user and add the following lines at the end of the .profile file, making sure you have
set the correct ORACLE_BASE value.
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.
Start the Oracle Universal Installer (OUI) by issuing the following command in the database directory.
./runInstaller
During the installation enter the appropriate ORACLE_HOME and name then continue installation. For a
more detailed look at the installation process, click on the links below to see screen shots of each stage.
Post Installation
Edit the "/var/opt/oracle/oratab" file setting the restart flag for each instance to 'Y'.
TSH1:/u01/app/oracle/product/10.2.0/db_1:Y
Oracle Database Installation Guide 10g Release 2 (10.2) for Solaris Operating System (x86)