0% found this document useful (0 votes)
88 views

ORACLE 10g Installation Guide - Update - v1.2

សថ

Uploaded by

simchandoeun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
88 views

ORACLE 10g Installation Guide - Update - v1.2

សថ

Uploaded by

simchandoeun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

YALAMANCHILI Oracle 10g

Installation Guide

ATM SWITCH IMPLEMENTATION

FOR

ORACLE 10G INSTALLATION GUIDE DOCUMENT

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

DOCUMENT VERSION HISTORY

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

1. Step 1 (Before Database installation) ....................................................................... 4


2. Step 2 Create the groups---as root user ---- ............................................................. 7
3. Step 3 Oracle Software Installation .......................................................................... 9
4. Step 4 Startup the database ................................................................................... 120
5. Step 5 Starting Oracle Database & Production Table space creation…….….12
6. Step 6 Creating production Oracle User……...…………………………………..13

Submitted to
Page 3 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide

Step 1 (Before Database installation)


Check the Hardware Requirements
The system must meet the following minimum hardware requirements:

Requirement Minimum Value


Physical memory (RAM) 512 MB (524288 KB)
Swap space 1 GB (1048576 KB) or twice the size of RAM
On systems with 2 GB or more of RAM, the
swap space can be between one and two times
the size of RAM
Disk space in /tmp 400 MB (409600 KB)
Disk space for software files 2.5 GB (2621440 KB)
This value includes 1 GB (1048576 KB) of disk
space required to install the Oracle Database 10g
Products from the Companion CD (optional, but
recommended).
Disk space for database files 1.2 GB (1258290 KB)

Check the Software Requirements


The system must meet the following minimum software requirements:
■ The version of Solaris must be Solaris 9.
■ The following packages must be installed: Oracle corporation recommanded.

SUNWarc SUNWlibms SUNWi1of SUNWgccS


SUNWbtool SUNWsprot SUNWi1cs
SUNWhea SUNWi15cs SUNWlibm
SUNWtoo SUNWxwfnt SUNWgcc

Use Below Command to Check the above packages availablity:

# pkginfo -i SUNWarc SUNWlibms SUNWi1of SUNWbtool SUNWsprot


SUNWi1cs SUNWhea SUNWi15cs SUNWlibm SUNWtoo SUNWxwfnt SUNWgcc
SUNWgccS

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.

If UnAvailable some packages use the following Command to add :

a.. Insert the Sun Solaris5.10 First CD.

Submitted to
Page 4 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide

b.. Change Directory to the cdrom in the above package directory.

c.. # pkgadd -d SUNWilcs


example
--place at root /
# pkgadd -d /cdrom/sol_10_910_x86/Solaris_10/Product SUNWgcc SUNWgccS
SUNWi15cs SUNWi1cs

Choose Yes

Submitted to
Page 5 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide

Edit the file--/etc/system---as follows--in root user login


#vi /etc/system

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

After modify /etc/system file, type :qw! to save file

Step 2 Create the groups---as root user ----


mkdir -p /u01/app/oracle
mkdir /u01/oradata
mkdir /var/opt/oracle

/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba

Submitted to
Page 7 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide

useradd -c "Oracle software owner" -d /u01/app/oracle -g oinstall -G dba -m -u 300 -s


/bin/tcsh oracle

Oracle password is oracle

# passwd oracle

Set Permission for oracle user:


chown -R oracle:oinstall /u01/app/oracle
chown -R oracle:oinstall /u01/oradata
chown -R oracle:oinstall /var/opt/oracle
chmod -R 775 /u01/app/oracle
chmod -R 775 /u01/oradata
chmod -R 775 /var/opt/oracle

Submitted to
Page 8 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide

Step 3 Oracle Software Installation


Log In as the oracle User and Configure the oracle User’s Environment
Copy from primary server by ftp oracle user, or following.
>vi .cshrc

#ident "@(#)local.cshrc 1.2 00/05/01 SMI"


#umask 022
set path=(/bin /usr/bin /usr/ucb /etc .)
if ( $?prompt ) then
set history=32
endif
alias cd 'cd \!* ; set prompt="ORA#PRI:`pwd`>"'
setenv TERM vt100
unset autologout
set prompt="ORA#PRIMARY:`pwd`>"
umask 022
stty erase ^H
#---------------------------------------------#
#Env Variable for ORACLE
#---------------------------------------------#
setenv ORACLE_BASE /u01/app/oracle/
setenv ORACLE_HOME /u01/app/oracle/orahome_10g/
setenv ORACLE_SID switch
# setenv ORA_UID ivb
# setenv ORA_PWD ivb
setenv ORACLE_TERM vt100
setenv ORACLE_PATH
$ORACLE_HOME/bin:/usr/bin:/usr/local/bin:/bin:/usr/ccs/bin:/opt/bin:.
#---------------------------------------------#

#---------------------------------------------#
#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:.

setenv NLS_LANGUAGE AMERICAN_AMERICA.US7ASCII


Submitted to
Page 9 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide

#---------------------------------------------#

#---------------------------------------------#
#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/

RESTART THE SERVER

Log In as the Oracle O/S User

Submitted to
Page 10 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide

unset ORACLE_HOME
unset TNS_ADMIN

Oracle InStallation Methods:

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

On Basic Installation Mode, Oracle Home Location will be suggest by Application,


but we should follow .cshrc file config: ORACLE_HOME
/u01/app/oracle/orahome_10g/

Submitted to
Page 12 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide

Global Database Name: By default, name of Database is Switch


Next

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

Follow Direction to execute configuration script

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

TNS Ping is working fine


E:\>tnsping orcldb

TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on


29-JUL-2013 07:56:32

Copyright (c) 1997, 2010, Oracle. All rights reserved.

Used parameter files:


E:\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=winhost1.com)(PORT=1521))
(CONNECT_DATA=(SID=orcldb)))
OK (60 msec)

Listener is also up and running


E:\>lsnrctl status

Submitted to
Page 20 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide

LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 29-JUL-


2013 12:37:21

Copyright (c) 1991, 2010, Oracle. All rights reserved.

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

Step 4 Startup the database

The Oracle consistancing of two methods of starting up the database. Method 1 is recommanded to use.

Method : 1

1. To startup the database

$ sqlplus ‘/ as sysdba’
SQL> startup

2. To shutdown the database:

$ sqlplus ‘/ as sysdba’

Submitted to
Page 21 of 23 May, 2010
YALAMANCHILI Oracle 10g
Installation Guide

SQL> shutdown

Method : 2

1. To startup the database

$ sqlplus /nolog
SQL> connect / as sysdba
SQL> startup

2. To shutdown the database:

$ sqlplus /nolog
SQL> connect / as sysdba
SQL> shutdown

Note: “/” connects you to the schema owned by SYS with the privilege SYSDBA.

Step 5 Starting ORACLE DATABASE and CREATING production


Table spaces
(Note: this step below for reference only, detail tablespace and oracle user for application
will be provided separately document.)

1.. Login as Oracle user in Solaris


2.. $ lsnrctl start;
3.. $ sqlplys ‘/ as sysdba’;
4.. SQL > startup;
5.. Give the following at the SQL prompt
CREATE TABLESPACE CREDIT_TBS DATAFILE
'/u01/app/oracle/oradata/switch/credittbs01.dbf' SIZE 512M;

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

ALTER DATABASE DATAFILE '/u01/app/oracle/oradata/switch/


credittbs01.dbf' AUTOEXTEND ON;

7.. CREATE TABLESPACE INDX_SWT DATAFILE


'/u01/app/oracle/oradata/switch/indxtbs01.dbf' SIZE 512M;

8.. ALTER DATABASE DATAFILE '/u01/app/oracle/oradata/switch/indxtbs01.dbf'


AUTOEXTEND ON;

13.. Give the following at the SQL promt;


SQL > alter user sys temporary tablespace TEMP;
SQL > alter user system temporary tablespace TEMP;

Step 6 CREATING production Oracle User


1. At the SQL prompt give the following command

CREATE USER canswt IDENTIFIED BY canswt DEFAULT TABLESPACE


CREDIT_TBS TEMPORARY TABLESPACE TEMP;

2. Once you get a message " USER Created ", give the following

SQL > GRANT connect TO canswt


SQL > GRANT resource TO canswt
SQL > alter user canswt quota unlimited on CREDIT_TBS;

Submitted to
Page 23 of 23 May, 2010

You might also like