INSTALLATION OF ORACLE 10g R2 ON SOLARIS X86
- 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:
$/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.
You can use the following command to verify that a package has been installed:
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:
SWAP : 2*RAM = $ /usr/sbin/sw ap –l
TEMP : 400 MB
- Add the following lines to the end of my /etc/system file:
- I have created the group by the name dba. This will be used by oracle & dba
- Created a user by the name oracle and also created the home directory for oracle. Then added this user to the dba group.
$usermod -g dba oracle
Steps for the creating password for Oracle user account:
# passwd oracle
Re-enter new Password:
passwd: password successfully changed for oracle
- Created the mount point /u01 and subdirectories in the mount point.
$ 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:
$ 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:
- 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:
- Start the installation.
- Run root.sh as root user
- Check Post Installation.
- Check if the database is running. (ps -ef |grep ora_)