ORACLE 10g Installation Guide - Update - v1.2
ORACLE 10g Installation Guide - Update - v1.2
Installation Guide
FOR
VERSION 1.0
Submitted To
IT Manager
COPYRIGHT NOTICE
Copyright ©Yalamanchili Consultancy Services Private Limited.
All rights reserved. These materials are confidential and proprietary to Yalamanchili Consultancy Services
Private Limited and no part of these materials should be reproduced, published in any form by any means,
electronic or mechanical including photocopy or any information storage or retrieval system or should the
materials be disclosed to third parties without the express written authorization of Yalamanchili
Consultancy Services Private Limited.
Subnitted to
VIET A , Laos May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
RESULTANT ORIGIN
SECTION AMENDED AMENDED DESCRIPTION
S. NO VERSION OF
CHANGED BY DATE OF CHANGE
NO. CHANGE
DISTRIBUTION LIST
DATE
NAME OF RECIPIENT DEPARTMENT/GROUP COUNTRY REMARKS
SENT
Submitted to
Page 2 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
TABLE OF CONTENTS
Submitted to
Page 3 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Note : From the above out put make sure all packages available in the system.
Otherwise from the SunSolaris5.10 – First CD add the UnAvailable
packages.
Submitted to
Page 4 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Choose Yes
Submitted to
Page 5 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
set maxusers=200
set semsys:seminfo_semmap=120
set semsys:seminfo_semmni=128
set semsys:seminfo_semmns=256
set semsys:seminfo_semmnu=60
set semsys:seminfo_semmsl=256
set semsys:seminfo_semopm=60
set semsys:seminfo_semume=500
set semsys:seminfo_semusz=96
set semsys:seminfo_semvmx=32767
set semsys:seminfo_semaem=16384
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=25
set msgsys:msginfo_msgmax=2097152
set msgsys:msginfo_msgmni=16384
set msgsys:msginfo_msgmnb=2097152
set msgsys:msginfo_msgtql=2097152
set msgsys:msginfo_msgseg=16384
set msgsys:msginfo_msgssz=256
set npty=256
set pt_cnt=256
set nstrpush=256
set nautopush=256
Submitted to
Page 6 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
Submitted to
Page 7 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
# passwd oracle
Submitted to
Page 8 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
#---------------------------------------------#
#Env Variable for SYSTEM
#---------------------------------------------#
setenv LD_LIBRARY_PATH
/usr/lib:/usr/local/lib:$ORACLE_HOME/lib/:/usr/ucblib/:/usr/java/lib:/usr/local/bin:/u
sr/local/include:.
setenv PATH
/usr/java/bin:$ORACLE_HOME/bin:/usr/sfw/include:/usr/share/man:/usr/bin:/usr/loc
al/bin:/usr/sbin:/usr/ccs/bin:/usr/sfw/bin:/usr/ucb:/usr/openwin:/usr/ccs/bin:.
#---------------------------------------------#
#---------------------------------------------#
#ALIAS FOR APPLICATION
#---------------------------------------------#
alias c clear
alias cls clear
alias h history
alias sql 'sqlplus $ORA_UID/$ORA_PWD@$ORACLE_SID'
alias sqlp 'sqlplus / as sysdba'
alias srcsql 'sqlplus lvbsrcdb/lvbsrcdb@$ORACLE_SID'
alias custsql 'sqlplus lvbcustdb/lvbcustdb@$ORACLE_SID'
alias drsql 'sqlplus lvbdrdb/lvbdrdb@$ORACLE_SID'
alias crsql 'sqlplus lvbcrdb/lvbcrdb@$ORACLE_SID'
alias ppsql 'sqlplus lvbppdb/lvbppdb@$ORACLE_SID'
alias comsql 'sqlplus lvbcommdb/lvbcommdb@$ORACLE_SID'
alias bdump 'cd /u01/app/oracle/admin/switch/bdump/'
alias arch 'cd /u01/app/oracle/admin/switch/arch/'
alias oradata 'cd /u01/oradata/switch/'
alias rm 'rm -i'
alias cp 'cp -i'
alias mv 'mv -i'
alias l 'ls -l|less'
alias dir 'ls -l|grep ^d'
#---------------------------------------------#
# Env Variable for APPLICATION
#---------------------------------------------#
Note:
setenv PATH
/usr/jdk/jdk1.5.0_24/bin/:/usr/java/bin:$ORACLE_HOME/bin:/usr/sfw/include:/usr/sha
re/man:/usr/bin:/usr/local/bin:/usr/sbin:/usr/ccs/bin:/usr/sfw/bin:/usr/ucb:/usr/openwin:/us
r/ccs/bin:.
Need to add more one path default for jdk version (1.5) /usr/jdk/jdk1.5.0_24/bin/
Submitted to
Page 10 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
unset ORACLE_HOME
unset TNS_ADMIN
Method 1 : Copy the source of OracleInstall.iso file to the server and start up the
./runInstaller.
Method 1:
1.. Load the Oracle for Sun Solaris Disk and run the file runInstaller in oracle user
Go to step 16 to continue the Oracle installation.
Prefer:
copy source installer of oracle to /u01/app/
chmod –R 777 <source folder of oracle>
then run file ./runInstaller
Submitted to
Page 11 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Submitted to
Page 12 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Submitted to
Page 13 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Next
Submitted to
Page 14 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Submitted to
Page 15 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Submitted to
Page 16 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Submitted to
Page 17 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Submitted to
Page 18 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Submitted to
Page 19 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Submitted to
Page 20 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=winhost1.com)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version
11.2.0.1.0 - Production
Start Date 29-JUL-2013 07:42:58
Uptime 0 days 4 hr. 54 min. 23 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File
E:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File
E:\oracle\diag\tnslsnr\winhost1\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=winhost1.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
Service "orcldb.us.oracle.com" has 1 instance(s).
Instance "orcldb", status UNKNOWN, has 1 handler(s) for this
service...
The command completed successfully
The Oracle consistancing of two methods of starting up the database. Method 1 is recommanded to use.
Method : 1
$ sqlplus ‘/ as sysdba’
SQL> startup
$ sqlplus ‘/ as sysdba’
Submitted to
Page 21 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
SQL> shutdown
Method : 2
$ sqlplus /nolog
SQL> connect / as sysdba
SQL> startup
$ sqlplus /nolog
SQL> connect / as sysdba
SQL> shutdown
Note: “/” connects you to the schema owned by SYS with the privilege SYSDBA.
6.. Once you get a message Table space created , give the following
Submitted to
Page 22 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide
2. Once you get a message " USER Created ", give the following
Submitted to
Page 23 of 23 May, 2010