INSTALLATION OF ORACLE 10g R2 ON SOLARIS X86

Steps:

  • Download the database software for Solaris
  • Download the operating system for Solaris
    • Please make sure the OS which you are planning to install is also among the supported platform for oracle.
  • I have selected “Oracle Database 10g Release 2 (10.2.0.2) for Solaris Operating System (x86)” on “Solaris 10 10/09 x64/x86 DVD” platform for the current installation.
  • To check which OS you have on the system please run the following commands:
$ uname -a ===> This will give you the name of the which has been installed on the system.
$/bin/isainfo -kv ===> This will give the information about if it is 64 Bit or 32 Bit
  • Once you are done with the system check then we have to move onto the next step.
  • Please log-in to the system as root.
  • Make sure that the following software packages have been installed.

Required Packages

SUNWarc
SUNWbtool
SUNWhea
SUNWlibm
SUNWlibms
SUNWsprot
SUNWtoo
SUNWi1of
SUNWxwfnt
SUNWi1cs
SUNWsprox
SUNWi15cs

You can use the following command to verify that a package has been installed:

$ pkginfo -i
If it is not installed then please run the command to install it:
pkgadd -d /cdrom/sol-10-u8-ga-x86-dvd/Solaris_10/Product/
  • Hardware Requirments:
RAM : 512 MB = $ /usr/sbin/prtconf | grep size
SWAP : 2*RAM = $ /usr/sbin/sw ap –l
TEMP : 400 MB
  • Add the following lines to the end of my /etc/system file:
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semmni=100
set semsys:seminfo_semvmx=32767
set noexec_user_stack=1
  • I have created the group by the name dba. This will be used by oracle & dba
$groupadd -g 300 dba
  • Created a user by the name oracle and also created the home directory for oracle. Then added this user to the dba group.
$useradd -d /export/home/oracle -m -s /usr/bin/ksh -c "Oracle Software Owner" oracle
$usermod -g dba oracle
Steps for the creating password for Oracle user account:
# passwd oracle
New Password:
Re-enter new Password:
passwd: password successfully changed for oracle
  • Created the mount point /u01 and subdirectories in the mount point.
$ mkdir /u01
$ mkdir /u01/app
$ mkdir /u01/app/oracle
$ mkdir /u01/oradata
$ chown oracle:dba /u01/app
$ chown oracle:dba /u01/app/oracle
$ chown oracle:dba /u01/oradata
$ chmod 775 /u01/app
$ chmod 775 /u01/app/oracle
$ chmod 775 /u01/oradata
  • If you have the software on CD ROM, then mount the Oracle Database 10g CD ROM now.
  • Create the /var/opt/oracle directory and make it owned by the oracle user.

After installation, this directory will contain a few small text files that briefly
describe the Oracle software installations and databases on the server. These
commands will create the directory and give it appropriate permissions:

$ mkdir /var/opt/oracle
$ chown oracle:dba /var/opt/oracle
$ chmod 755 /var/opt/oracle
  • Log out and log back in as the oracle user.
  • Make sure your DISPLAY variable is set. If you are forwarding X window traffic

over an SSH connection or working from the server’s console directly, the
DISPLAY variable will probably already be set for you. If your DISPLAY variable
has not been set already, then you will need to set it manually to the IP address
of your X server plus the X server and screen numbers. You can set your DISPLAY
variable with a command like:

$ export DISPLAY=myworkstation:0.0
  • Double check that you are logged in as oracle and not root. Then change to

your home directory and start the Oracle Universal Installer with these commands:

$/runInstaller
  • Start the installation.
  • Run root.sh as root user
  •  Check Post Installation.
  • Check if the database is running. (ps -ef |grep ora_)
Share →
0 comments
Skip to toolbar