Installation 10g

Pre-installation steps

Check free space. For installation of oracle you will need at least following space:

  • 4GB at $ORACLE_HOME (etc. /oracle/YRS/102_64/)
  • 100MB at DBSID (etc. /oracle/YRS/)
  • 5GB at stage (etc. /oracle/stage/)
  • 400MB at temp (etc. /tmp/)

If you already have other instances of Oracle installed you might need to remove/rename oraInst.loc file. Example of UNIX commands:

mv /var/opt/oracle/oraInst.loc /var/opt/oracle/oraInst.loc_oldwiki oracle installation 10g

Download files from installation medium or get them from Oracle metalink. In case you are using Oracle to run SAP you have to download installation files from SAP marketplace because there are SAP specific differences included. Move these files to stage folder (etc. /oracle/stage/) from where the OUI (Oracle Universal Installer) will be executed.

Set DISPLAY variable. If you are using remote x-windows you have to set properly environment DISPLAY variable. Example of UNIX commands:

#example of C shell (csh) command
setenv DISPLAY a-700s504.ag.eu.jci.com:12.0
#example of Korn shell (ksh) and Bourne shell (sh) command
export DISPLAY=a-700s504.ag.eu.jci.com:12.0

Install the base version

To run install OUI (Oracle universal installer) execute runInstaller as ora user. Example of UNIX command:

/oracle/stage/102_64/database/runInstaller

Verify if “Oracle Home Location” and “UNIX DBA Group” variables are correct. Uncheck “Create Starter Database” as this is not needed.

wiki oracle installation 10g

Enter full path of “Inventory directory” and specify “DBA group” name.

wiki oracle installation 10g

Now OUI performs prerequisite checks. If any errors occurs you can not continue. In this example we have just warning message about OS version that is not certified for this oracle version. You can ignore this warning.

wiki oracle installation 10g
wiki oracle installation 10g

Last check before installation. Confirm and click “Install”

Execute mentioned configuration script under root user. Example of UNIX command:

sudo su - install /oracle/YDQ/102_64/root.sh

When done click “OK”.

wiki oracle installation 10g
wiki oracle installation 10g

Click “Exit” to finish the installation.

wiki oracle installation 10g

Apply latest patchset

Download latest relevant patchset from Oracle metalink. In case you are using Oracle to run SAP you have to download patchsets from SAP marketplace because there are SAP specific differences included. Afterwards install them using OUI (Oracle universal installer) tool. More details how to do it can be found in following articles:

Apply latest interim patches

Apply latest Oracle interim patches

Download latest relevant interim patches from Oracle metalink. Afterwards install them with Opatch tool. More details how to do it can be found in article Installation – Opatch.

Apply latest SAP bundle patch (SBP)

Download latest relevant SBP from SAP marketplace. Afterwards install it with MOpatch tool. More details how to do it can be found in article Installation – MOpatch.

Post-installation steps

Start the listener. Example of unix command:

lsnrctl start LISTENER_YDQwiki oracle installation 10g

Start the database in normal operations. Example of SQL commands:

STARTUP

Check status of all components. Example of SQL command:

SELECT COMP_NAME, VERSION, STATUS FROM SYS.DBA_REGISTRY;wiki oracle installation 10g

Leave a Reply