Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2. Oracle 10g Installation (Sun Solaris)

Foundation

2. Oracle 10g Installation (Sun Solaris)

by  Michael42  Posted    (Edited  )
Overview
The following steps will guide you through the installation of Oracle 10g Enterprise Database. The installation consists of the major phases listed below. All of the below phases are necessary to ensure that Oracle is installed correctly. If you were to skip one or do them out of order you will experience problems later. This is the shortcut for an Enterprise environment.

1. Perform Oracle 10g Database main product installation.
2. Create base oracle user shell.
3. Perform installation of optional companion products (Java Console etc.).
4. Perform installation of the latest major patch set.

[color red]*** Do not build a database until all of the above steps completed! ***[/color]

[color blue]Phase I - Oracle 10g Database Main Product Installation[/color]

As a result of the pre-installation chapter you should already be logged in as the oracle user.
unix> cd /home/oracle/software/10.2/db

unix> ./runInstaller
Select Next after each entry.

1. Welcome
Advanced Installation

2. Inventory Directory and Credentials
Use default value.

3. Installation Type
Custom

4. Specify Home Details
Name: ora102home
/home/oracle/product/10.2/db

5. Available Product Components
Disable:
Oracle Advanced Security
Oracle Spatial
Oracle OLAP

6. Product Specific Prerequisite Checks ...
If Passed select next.
If not make the indicated changes to your system and run installation again.

7. Privileged Operating System Groups
OSDBA: dba
OSOPER: dba

8. Create Database
Install database software only

9. Summary
Review then select Install if OK.

10. Execute Configuration Scripts (as root)
Accept defaults - overwrite if prompted.
(Takes a few minutes...)

When complete select OK on window.

11. End of Installation
Select Exit

[color blue]Phase II - Create Base Oracle User UNIX Shell[/color]

Overview
The integrity of the latter phases of installation relies heavily on the UNIX shell you create in this phase. You need to create a robust shell. For now, it is a good idea to ensure that your UNIX oracle user shell at least consists of the values listed below. Consult with your UNIX system administrator as required for your environment.

Procedure

1. cd $HOME
2. vi .cshrc
# .cshrc
umask 022
setenv ORACLE_BASE /home/oracle
setenv ORACLE_HOME $ORACLE_BASE/product/10.2/db
setenv LD_LIBRARY_PATH $ORACLE_HOME/lib
setenv PATH $ORACLE_HOME/bin/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/usr/local/bin:/bin

[color blue]Phase III - Install Optional Software[/color]

Overview - Client CD (Java Console)

In Oracle 10g the web based Enterprise Manager (EM) is the recommended tool for managing your Oracle database. You should absolutely use EM as the primary method for managing your database. However, in the event that EM is not available, then the Java Console is a tried and true tool and a good investment to have. Basically it is the same interface used by the Oracle Enterprise Manager (OEM) in Oracle 9i. The Java Console will make managing your database consistently simple and successful. Other than that, you should only install other features if there is a business requirement for them.

Procedure
From your /home/oracle/software/10.2/client directory run ./runInstaller and complete the prompts as show below.

1. Installation Type
Custom
2. Destination
Name: ora102home
Path: /home/oracle/product/10.2/db
3. Available Products
Enterprise Manager 10g Java Console
4. Product-Specific Checks
If passed pressed Next otherwise make the indicated changes.
5. Summary
Review then select Install.
6. End of Installation
Exit

[color blue]Phase IV - Installation of the Latest Major Patch Set[/color]

Overview
It is important to install the latest Oracle Major patch set as this will ensure optimum reliability and security.

Procedure

1. Download and unzip the latest patch set into your /home/oracle/software/patches directory. The file should be titled similar to p4547817_10202_SOLARIS64.zip

2. Stop all active services.
$ORACLE_HOME/bin/lsnrctl stop
$ORACLE_HOME/bin/isqlplusctl stop

3. Change to the directory with your patch set files and run the installer (./runInstaller). Following the prompts indicated below.
* Welcome
Next

* Specify Home Details
Name: ora102home
Path: /home/oracle/product/10.2/db

* Summary
Select Install
(Process runs - takes approximately 10 minutes on a SunBlade 1500.)

* Execute Configuration Scripts (as root)
Accept defaults - overwrite if prompted.
(Takes a few minutes...)

* When complete select OK on window.

* End of Installation
Exit
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top