Thursday, 2 January 2014

ORACLE DB 10G INSTALLATION ON SOLARIS 10

exported paths:

/usr/sbin:/usr/bin:/opt/EMCpower/bin:/etc/emc/bin:/etc:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Fire-V490/sbin:/opt/sun/bin:/etc/vx/bin:/opt/VRTS/bin:/etc/vx/bin:/opt/VRTSob/bin:/opt/VRTSvlic/bin:/opt/SUNWvts/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin:/opt/CTEact/bin:/usr/openv/netbackup/bin:/usr/openv/volmgr/bin:/usr/symcli/bin:/usr/openv/netbackup/bin/goodies:/usr/openv/netbackup/bin/admincmd


--------------
Add Package (Run "pkgadd EMCpower" on the server.)
For clarion connected systems (all SH2 systems are clarion connceted.)there is no need to install license.Only install the powerpath pkg.Also no need to set policy.
Install license (Run "/etc/emcpreg -install" on the server.)
Run  "powermt set policy=so" command
Run "powermt save" command
Run "powercf -q"
Copy new  "powershutdown" script to /lib/svc/method
Take clean reboot of system.
-----
root@P111XMST01 # powermt check_registration

Key BTPN-GB4Q-UFN9-Q6BK-M69I-BPWX
  Product: PowerPath
  Capabilities: All
-----------
root@P111XMST01 # vxlicrep

Symantec License Manager vxlicrep utility version 3.02.16.0
Copyright (C) 1996-2006 Symantec Corporation. All rights reserved.

Creating a report on all VERITAS products installed on this system

 -----------------***********************-----------------

   License Key                         = IRZE-6P8S-7YGV-634U-FEGO-SFJP-CP
   Product Name                        = VERITAS Storage Foundation Enterprise
   Serial Number                       = 1976
   License Type                        = PERMANENT
   OEM ID                              = 2006
   Editions Product                    = YES

 Features :=
   Reserved                            = 0
   CPU Count                           = Not Restricted                    
   VxVM#VERITAS Volume Manager         = Enabled
   VXFS#VERITAS File System            = Enabled
   QLOG#VERITAS File System            = Enabled
   PGR#VERITAS Volume Manager          = Enabled
   VERITAS Storage Foundation Enterprise = Enabled
   Quality of Storage Service#VERITAS File System = Enabled

   Storage Expert#VERITAS Volume Manager = Enabled
   Platform                            = Solaris                           
   Version                             = 5.0                               
   Dynamic Lun Expansion#VERITAS Volume Manager = Enabled
   Hardware assisted copy#VERITAS Volume Manager = Enabled
   Cross-platform Data Sharing#VERITAS Volume Manager = Enabled
   File Change Log#VERITAS File System = Enabled
   Cross-platform Data Sharing#VERITAS File System = Enabled
   Extra-Big File Systems#VERITAS File System = Enabled
   Multi-Volume Support#VERITAS File System = Enabled
   FASTRESYNC#VERITAS Volume Manager   = Enabled
   DGSJ#VERITAS Volume Manager         = Enabled
   VXCKPT#VERITAS File System          = Enabled
   VVS_CONFIG#VERITAS Volume Manager   = Enabled


 -----------------***********************-----------------

   Product Name                        = VERITAS Volume Manager
   License Type                        = PERMANENT

 Features :=
   PGR                                 = Enabled
   PGR_TRAINING                        = Enabled
   Site Awareness                      = Enabled



 -----------------***********************-----------------

   License Key                         = BZZH-DDWC-IRVR-WLOP-WNN8-3FOP-PPPC-PP3
   Product Name                        = VERITAS Volume Manager
   Serial Number                       = 1976
   License Type                        = PERMANENT
   OEM ID                              = 2006
   Point Product                       = YES

 Features :=

   Storage Expert                      = Enabled
   VxVM                                = Enabled
   FASTRESYNC                          = Enabled
   DGSJ                                = Enabled
   CPU Count                           = Not Restricted                    
   PGR                                 = Enabled
   VVS_CONFIG                          = Enabled
   Platform                            = Solaris                           
   Version                             = 5.0                               
   Dynamic Lun Expansion               = Enabled
   Hardware assisted copy              = Enabled
   Cross-platform Data Sharing         = Enabled
   Maximum number of volumes           = Not Restricted                    


 -----------------***********************-----------------

   License Key                         = 3EZE-K2NP-8TFO-UTC4-OORP-6388-O
   Product Name                        = VERITAS File System
   Serial Number                       = 1976
   License Type                        = PERMANENT
   OEM ID                              = 2006
   Point Product                       = YES

 Features :=
   VXFS                                = Enabled
   QLOG                                = Enabled
   VXCKPT                              = Enabled

   CPU Count                           = Not Restricted                    
   Platform                            = Solaris                           
   Version                             = 5.0                               
   File Change Log                     = Enabled
   Cross-platform Data Sharing         = Enabled
   Extra-Big File Systems              = Enabled
   Multi-Volume Support                = Enabled
   Quality of Storage Service          = Enabled
   Maximum number of file systems      = Not Restricted
-----------
root@P111XMST01 # cat /etc/system
*ident  "@(#)system     1.18    97/06/27 SMI" /* SVR4 1.5 */
*
* SYSTEM SPECIFICATION FILE
*

* moddir:
*
*       Set the search path for modules.  This has a format similar to the
*       csh path variable. If the module isn't found in the first directory
*       it tries the second and so on. The default is /kernel /usr/kernel
*
*       Example:
*               moddir: /kernel /usr/kernel /other/modules



* root device and root filesystem configuration:
*
*       The following may be used to override the defaults provided by
*       the boot program:
*
*       rootfs:         Set the filesystem type of the root.
*
*       rootdev:        Set the root device.  This should be a fully
*                       expanded physical pathname.  The default is the
*                       physical pathname of the device where the boot
*                       program resides.  The physical pathname is
*                       highly platform and configuration dependent.
*
*       Example:
*               rootfs:ufs
*               rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a
*
*       (Swap device configuration should be specified in /etc/vfstab.)



* exclude:
*
*       Modules appearing in the moddir path which are NOT to be loaded,
*       even if referenced. Note that `exclude' accepts either a module name,
*       or a filename which includes the directory.
*
*       Examples:
*               exclude: win
*               exclude: sys/shmsys



* forceload:
*
*       Cause these modules to be loaded at boot time, (just before mounting
*       the root filesystem) rather than at first reference. Note that
*       forceload expects a filename which includes the directory. Also
*       note that loading a module does not necessarily imply that it will
*       be installed.
*
*       Example:
*               forceload: drv/foo



* set:
*
*       Set an integer variable in the kernel or a module to a new value.
*       This facility should be used with caution.  See system(4).
*
*       Examples:
*
*       To set variables in 'unix':
*
*               set nautopush=32
*               set maxusers=40
*
*       To set a variable named 'debug' in the module named 'test_module'
*
*               set test_module:debug = 0x13
set md:mirrored_root_flag=1
* Begin MDD root info (do not edit)
rootdev:/pseudo/md@0:0,10,blk
* End MDD root info (do not edit)
*** Begin EMCpower added lines *** DO NOT EDIT BELOW THIS LINE ***
forceload: drv/emcpsf
forceload: drv/sd
forceload: drv/ssd
forceload: drv/emcp
forceload: misc/emcpgpx
forceload: misc/emcpmpx
forceload: misc/emcpvlumd
forceload: misc/emcpxcrypt
forceload: misc/emcpdm
forceload: misc/emcpioc
*** End EMCpower added lines *** DO NOT EDIT ABOVE THIS LINE ***
* vxvm_START (do not remove)
forceload: drv/vxdmp
forceload: drv/vxio
forceload: drv/vxspec
* vxvm_END (do not remove)

* vxfs_START -- do not remove the following lines:
* VxFS requires a stack size greater than the default 8K.
* The following value allows the kernel stack size to be
* increased to 24K.
set lwp_default_stksize=0x6000
* vxfs_END


* vxfs_START -- do not remove the following lines:
* VxFS requires a stack size greater than the default 8K.
* The following value allows the kernel stack size to be
* increased to 24K.
set rpcmod:svc_default_stksize=0x6000
* vxfs_END

*For EMC powerpath
set sd:sd_io_time=0x3c
set sd:sd_max_throttle=20

*** Begin EMCpower added lines *** DO NOT EDIT BELOW THIS LINE ***
set emcp:bPxEnableInit=1
*** End EMCpower added lines *** DO NOT EDIT ABOVE THIS LINE ***

-----------------
root@P111XMST01 # get_license_key


        License Key Utility
        -------------------

        A) Add a License Key
        D) Delete a License Key
        F) List Active License Keys
        L) List Registered License Keys
        H) Help
        q) Quit License Key Utility


Enter a letter: F

Enter the name of the host (default is P111XMST01):

Active NetBackup Features
=========================

License Key:    OEXC-RWFY-ZDKD-PPZC-6PNN-PP3B-PI4O-43PP-PPPP-P
Date Added:     Jun 24, 2008 at 17:00:28
Host:           P111XMST01
Product:        NetBackup Enterprise Server
Client count:   See license certificate.
Expires:        No Expiration Date
Feature:        Base NetBackup
Feature:        DataStore

License Key:    OEXR-W2VV-2IRZ-P8IB-OPPR-PPRC-P6PP-PPPP-PPPP-6
Date Added:     Apr 27, 2009 at 13:14:06
Host:           P111XMST01
Product:        NetBackup
Client count:   See license certificate.
Expires:        No Expiration Date
Feature:        Library Based Tape Drives

License Key:    OEXC-RWFY-ZDKD-PPZC-6PNN-PP3B-PI4O-43PP-PPPP-P
Date Added:     Jun 24, 2008 at 17:00:28
Host:           P111XMST01
Product:        NetBackup Enterprise Server
Client count:   See license certificate.
Expires:        No Expiration Date
Feature:        Inline Tape Copy
Feature:        StorageTek ACS Robotic Libraries
Feature:        Fujitsu LMF Robotic Libraries
Feature:        IBM ATL Robotic Libraries
Feature:        ADIC DAS/SDLC Robotic Libraries
Feature:        Microsoft RSM Robotic Libraries
Feature:        Remote Media Server Support
Feature:        Robotic Library Sharing Support
Feature:        Remote Client Support
Feature:        Open File Backup

=========================


        License Key Utility
        -------------------

        A) Add a License Key
        D) Delete a License Key
        F) List Active License Keys
        L) List Registered License Keys
        H) Help
        q) Quit License Key Utility


Enter a letter: q
---------------------
root@P111XMST01 # get_license_key


        License Key Utility
        -------------------

        A) Add a License Key
        D) Delete a License Key
        F) List Active License Keys
        L) List Registered License Keys
        H) Help
        q) Quit License Key Utility


Enter a letter: L

Enter the name of the host (default is P111XMST01):

Registered License Keys
=======================

License Key:    OEXR-W2VV-2IRZ-P8IB-OPPR-PPRC-P6PP-PPPP-PPPP-6
Date Added:     Apr 27, 2009 at 13:14:06
Host:           P111XMST01
Product:        NetBackup
Client count:   See license certificate.
Expires:        No Expiration Date
Feature:        Library Based Tape Drives (Active)

License Key:    OEXC-RWFY-ZDKD-PPZC-6PNN-PP3B-PI4O-43PP-PPPP-P
Date Added:     Jun 24, 2008 at 17:00:28
Host:           P111XMST01
Product:        NetBackup Enterprise Server
Client count:   See license certificate.
Expires:        No Expiration Date
Feature:        Open File Backup (Active)
Feature:        Remote Client Support (Active)
Feature:        Robotic Library Sharing Support (Active)
Feature:        Remote Media Server Support (Active)
Feature:        Microsoft RSM Robotic Libraries (Active)
Feature:        ADIC DAS/SDLC Robotic Libraries (Active)
Feature:        IBM ATL Robotic Libraries (Active)
Feature:        Fujitsu LMF Robotic Libraries (Active)
Feature:        StorageTek ACS Robotic Libraries (Active)
Feature:        Inline Tape Copy (Active)
Feature:        DataStore (Active)
Feature:        Base NetBackup (Active)

License Key:    OENC-8TDR-9GE6-J6N3-ZPWB-NKSO-7Y77-HSS6-PPP6
Date Added:     May 21, 2008 at 13:18:04
Host:           P111XMST01
Product:        NetBackup Enterprise Server
Client count:   See license certificate.
Expired:        Jun 21, 2008 at 00:00:00
Feature:        PureDisk Remote Office (Not Active)
Feature:        PureDisk Option (Not Active)
Feature:        SAN Client (Not Active)
Feature:        PureDisk MS Exchange Agent (Not Active)
Feature:        PureDisk MS SQL Server Agent (Not Active)
Feature:        Flexible Disk Option (Not Active)
Feature:        OpenStorage Disk Option (Not Active)
Feature:        NAS SnapVault Option (Not Active)
Feature:        Virtual Tape Option (Not Active)
Feature:        Bare Metal Restore (Not Active)
Feature:        Encryption (Not Active)
Feature:        Open File Backup (Not Active)
Feature:        Remote Client Support (Not Active)
Feature:        Robotic Library Sharing Support (Not Active)
Feature:        Remote Media Server Support (Not Active)
Feature:        Microsoft RSM Robotic Libraries (Not Active)
Feature:        ADIC DAS/SDLC Robotic Libraries (Not Active)
Feature:        IBM ATL Robotic Libraries (Not Active)
Feature:        Fujitsu LMF Robotic Libraries (Not Active)
Feature:        StorageTek ACS Robotic Libraries (Not Active)
Feature:        Snapshot Client (Not Active)
Feature:        MS SharePoint Agent (Not Active)
Feature:        Inline Tape Copy (Not Active)
Feature:        Vault (Not Active)
Feature:        GDM Managed Server (Not Active)
Feature:        Library Based Tape Drives (Not Active)
Feature:        Additional Drives/Robotics (Not Active)
Feature:        DataStore (Not Active)
Feature:        Encryption (Legacy DES 56-bit) (Not Active)
Feature:        Encryption (Legacy DES 40-bit) (Not Active)
Feature:        SAP extension (Not Active)
Feature:        SQL-Backtrack extension (Not Active)
Feature:        Sybase extension (Not Active)
Feature:        Informix extension (Not Active)
Feature:        Oracle extension (Not Active)
Feature:        Lotus Notes extension (Not Active)
Feature:        DB2 extension (Not Active)
Feature:        MS SQL Server extension (Not Active)
Feature:        MS Exchange extension (Not Active)
Feature:        Advanced Reporting Option (Not Active)
Feature:        Shared Storage Option (Not Active)
Feature:        Global Data Manager (Not Active)
Feature:        NDMP (Not Active)
Feature:        EMC (Not Active)
Feature:        Additional clients (Not Active)
Feature:        Base NetBackup (Not Active)

License Key:    OENR-I2T9-V4YJ-WPPX-OPDI-P4F4-MV77-7KFU-PPPC
Date Added:     May 09, 2008 at 17:19:44
Host:           P111XMST01
Product:        NetBackup Enterprise Server
Client count:   See license certificate.
Expired:        May 31, 2008 at 00:00:00
Feature:        PureDisk Remote Office (Not Active)
Feature:        PureDisk Option (Not Active)
Feature:        SAN Client (Not Active)
Feature:        PureDisk MS Exchange Agent (Not Active)
Feature:        PureDisk MS SQL Server Agent (Not Active)
Feature:        Flexible Disk Option (Not Active)
Feature:        OpenStorage Disk Option (Not Active)
Feature:        NAS SnapVault Option (Not Active)
Feature:        Virtual Tape Option (Not Active)
Feature:        Bare Metal Restore (Not Active)
Feature:        Encryption (Not Active)
Feature:        Open File Backup (Not Active)
Feature:        Remote Client Support (Not Active)
Feature:        Robotic Library Sharing Support (Not Active)
Feature:        Remote Media Server Support (Not Active)
Feature:        Microsoft RSM Robotic Libraries (Not Active)
Feature:        ADIC DAS/SDLC Robotic Libraries (Not Active)
Feature:        IBM ATL Robotic Libraries (Not Active)
Feature:        Fujitsu LMF Robotic Libraries (Not Active)
Feature:        StorageTek ACS Robotic Libraries (Not Active)
Feature:        Snapshot Client (Not Active)
Feature:        MS SharePoint Agent (Not Active)
Feature:        Inline Tape Copy (Not Active)
Feature:        Vault (Not Active)
Feature:        GDM Managed Server (Not Active)
Feature:        Library Based Tape Drives (Not Active)
Feature:        Additional Drives/Robotics (Not Active)
Feature:        DataStore (Not Active)
Feature:        Encryption (Legacy DES 56-bit) (Not Active)
Feature:        Encryption (Legacy DES 40-bit) (Not Active)
Feature:        SAP extension (Not Active)
Feature:        SQL-Backtrack extension (Not Active)
Feature:        Sybase extension (Not Active)
Feature:        Informix extension (Not Active)
Feature:        Oracle extension (Not Active)
Feature:        Lotus Notes extension (Not Active)
Feature:        DB2 extension (Not Active)
Feature:        MS SQL Server extension (Not Active)
Feature:        MS Exchange extension (Not Active)
Feature:        Advanced Reporting Option (Not Active)
Feature:        Shared Storage Option (Not Active)
Feature:        Global Data Manager (Not Active)
Feature:        NDMP (Not Active)
Feature:        EMC (Not Active)
Feature:        Additional clients (Not Active)
Feature:        Base NetBackup (Not Active)

=======================


        License Key Utility
        -------------------

        A) Add a License Key
        D) Delete a License Key
        F) List Active License Keys
        L) List Registered License Keys
        H) Help
        q) Quit License Key Utility


Enter a letter:




-------------------------------
Unpack Files
Unzip the files.

unzip 10202_database_solx86.zipYou 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.

<IP-address>  <fully-qualified-machine-name>  <machine-name>Set Kernel Parameters
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=100The Oracle installer recognizes kernel parameters set using this method, but it is now deprecated in favour of resource control projects, explained below.

As the root user, issue the following command.

projadd oracleAppend the following line to the "/etc/user_attr" file.

oracle::::project=oracleIf 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.

# prctl -n project.max-shm-memory -i project oracle
project: 100: oracle
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-shm-memory
        privileged       254MB      -   deny                                 -
        system          16.0EB    max   deny                                 -
#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.

# prctl -n project.max-shm-memory -v 4gb -r -i project oracle
# projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" oracleThe 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.

# pkgadd -d /cdrom/sol_10_106_x86/Solaris_10/Product SUNWi1cs SUNWi15cs

Processing package instance <SUNWi1cs> from </cdrom/sol_10_106_x86/Solaris_10/Product>

X11 ISO8859-1 Codeset Support(i386) 2.0,REV=2004.10.17.15.04
Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.

This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.

Using </> as the package base directory.
## Processing package information.
## Processing system information.
   16 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <SUNWi1cs> [y,n,?] y

Installing X11 ISO8859-1 Codeset Support as <SUNWi1cs>

## Installing part 1 of 1.

Installation of <SUNWi1cs> was successful.

Processing package instance <SUNWi15cs> from </cdrom/sol_10_106_x86/Solaris_10/Product>

X11 ISO8859-15 Codeset Support(i386) 2.0,REV=2004.10.17.15.04
Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.

This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.

Using </> as the package base directory.
## Processing package information.
## Processing system information.
   21 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <SUNWi15cs> [y,n,?] y

Installing X11 ISO8859-15 Codeset Support as <SUNWi15cs>

## Installing part 1 of 1.

Installation of <SUNWi15cs> was successful.
#Create the new groups and users.

groupadd oinstall
groupadd dba
groupadd oper

useradd -g oinstall -G dba -d /export/home/oracle oracle
mkdir /export/home/oracle
chown oracle:oinstall /export/home/oracle
passwd -r files oracleCreate the directories in which the Oracle software will be installed.

mkdir -p /u01/app/oracle/product/10.2.0/db_1
chown -R oracle:oinstall /u01If 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/oracleLogin 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

# Select the appropriate ORACLE_BASE
#ORACLE_BASE=/export/home/oracle; export ORACLE_BASE
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID=TSH1; export ORACLE_SID
PATH=$ORACLE_HOME/bin:$PATH; export PATHInstallation
Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.

DISPLAY=<machine-name>:0.0; export DISPLAYStart the Oracle Universal Installer (OUI) by issuing the following command in the database directory.

./runInstaller
----------------





























                   

















                











                    



































































                    

Step 1
Install the Operating System
Note: No specified operating system patches are required with Solaris 10 OS.
Step 2
Make sure that following software packages has been installed.
SUNWarc
SUNWbtool
SUNWhea
SUNWlibm
SUNWlibms
SUNWsprot
SUNWtoo
SUNWilof
SUNWxwfnt
SUNWilcs
SUNWsprox
SUNWil5cs
Note: We can verify that packages are installed or not by using following command: $pkginfo -i.
Step 3Check following executable file must be presents in /usr/ccs/bin
make
ar
il
nm
Step 4Checks swap space. Swap space should be 512MB or Twice the size of RAM. Use following command to know about Physical Memory and Swap space:
$ /usr/sbin/prtconf grep size
$ /usr/sbin/swap –l
Step 5Need at least 400 MB of free space in /tmp directory.
Step 6
Set following kernel parameter in /etc/system file and reboot the server.
Set shmsys:shminfo_shmmax=4294967295
Set shmsys:shminfo_shmmni=100
Set semsys:seminfo_semmsl=256
Set semsys:seminfo_semmni=100
Step 7
Create a group.
$ groupadd –g 300 dba *
$ groupadd –g 301 oinstall **
* “DBA” group will be use by the Oracle Software Owner and Database Administrators.
** “OINSTALL” group will be use when you installing multiple copies of the oracle software on one server and you will want some logins to be able to log onto some databases with DBA privileges but not others.
Step 8Create a Unix user that will be the Oracle Software Owner.
$ useradd –c ‘Oracle Software Owner’ –d /oracle –g oinstall –G dba –m –u 300 –s /usr/bin/ksh oracle
$passwd oracle
Step 9Create directory for oracle software and Database.
$ mkdir /oracle/app /oracle/oradata
$chown oracle:dba /oracle
$chmod 775 /oracle
Step 10
Create the /var/opt/oracle directory
$mkdir /var/opt/oracle
$chown oracle:dba /var/opt/oracle
$chmod 755 /var/opt/oracle
Step 11edit .profile file and type following endearments
export ORACLE_BASE=/oracle
export ORACLE_HOME=$ORACLE_BASE/app
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
Step 12
Set X window enveiroment.
Log in as a root with CDE (Common Desktop Environment Session)
$ DISPLAY=:0.0
$export DISPLAY
$xhost +
$ su – oracle
$DISPLAY=:0.0
$export DISPLAY
$/usr/openwin/bin/xclock
Step 13
Log in as a ORACLE user and execute run installer.
$./runInstaller
Next process from here onwards I will come up with new post including snap shot.

1 comment:

  1. I'm using Kaspersky protection for a few years, I recommend this product to everybody.

    ReplyDelete