You are on page 1of 31

Installation of oracle on linux(centos version)

{Oracle is ment for following versions so it necessary to make OS fool by doing following tricks i.e
make some changes in release file. By following steps}
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4,
UnitedLinux-1.0, asianux-1 or asianux-2

Passed

[root@localhost ~]# cd /
[root@localhost /]# cd etc
[root@localhost etc]# ls
a2ps.cfg
a2ps-site.cfg
acpi
adjtime
ais
alchemist
aliases
aliases.db
alsa

iproute2
iscsi
isdn
issue
issue.net
java
jvm

rc
rc0.d
rc1.d
rc2.d
rc3.d
rc4.d
rc5.d

jvm-commmon
jwhois.conf

rc6.d

rc.d

alternatives

kde

rc.local

anacrontab

kderc

asound.state

kdump.conf

rc.news
rc.sysinit

at.deny

krb5.conf

audisp

ksysguarddrc reader.conf

audit

ldap.conf

readahead.d

reader.conf.d

autofs_ldap_auth.conf ld.so.cache

redhat-lsb

auto.master

ld.so.conf

redhat-release

auto.misc

ld.so.conf.d

request-key.conf

auto.net

lftp.conf

auto.smb

resolv.conf

libaudit.conf resolv.conf.predhclient

avahi

libuser.conf

bashrc

libvirt

blkid

lisarc

bluetooth

cdrecord.conf
cluster
conman.conf
cron.d

rmt
rndc.key

localtime

bonobo-activation
capi.conf

rhgb

rpc

login.defs

rpm

logrotate.conf rwtab
logrotate.d
logwatch

rwtab.d
samba

lsb-release.d sane.d
ltrace.conf

sasl2

cron.daily

lvm

screenrc

cron.deny

mail

scrollkeeper.conf

cron.hourly

mailcap

cron.monthly
crontab
cron.weekly

mail.rc
makedev.d
man.config

scsi_id.config
securetty
security
selinux

csh.cshrc

maven

csh.login

mgetty+sendfax services

cups
dbus-1

mime.types

sensors.conf

sestatus.conf

minicom.users setroubleshoot

default

mke2fs.conf

depmod.d

modprobe.conf sgml

desktop-profiles
dev.d
dhcp6c.conf

modprobe.conf~ shadow
modprobe.d

shadow-

motd

DIR_COLORS

shells

mtab

DIR_COLORS.xterm
dnsmasq.conf

setuptool.d

skel

mtools.conf

multipath.conf smartd.conf

dnsmasq.d

Muttrc

dovecot.conf

Muttrc.local snmp

dumpdates

my.cnf

enscript.cfg

netplug

environment

slrn.rc

smrsh

sound
squid

netplug.d

ssh

esd.conf

NetworkManager stunnel

exports

news

subversion

fb.modes

nscd.conf

filesystems

nsswitch.conf sysconfig

firmware

ntp

sysctl.conf

ntp.conf

syslog.conf

fonts
foomatic
fstab

sudoers

odbc.ini

tcsd.conf

odbcinst.ini

termcap

gconf

oddjob

gcrypt

oddjobd.conf

gdm

oddjobd.conf.d updatedb.conf

ghostscript

openldap

tux.mime.types
udev

vimrc

gimp

opt

gnome-vfs-2.0

virc
pam.d

vsftpd

gnome-vfs-mime-magic pam_pkcs11
gpm-root.conf
gre.d

pam_smb.conf
pango

w3m

warnquota.conf

webalizer.conf

group

passwd

wgetrc

group-

passwd-

wpa_supplicant

grub.conf

pcmcia

wvdial.conf

gshadow

Pegasus

X11

gshadow-

php.d

gssapi_mech.conf
gtk-2.0
hal
host.conf
hosts

xdg

php.ini

pinforc
pki

xen
xinetd.conf

xinetd.d

pm
ppp

xml
yp.conf

hosts.allow

prelink.conf

hosts.deny

prelink.conf.d yum.conf

hp

printcap

yum

yum.repos.d

htdig

profile

zlogin

httpd

profile.d

zlogout

idmapd.conf
init.d
initlog.conf
inittab

protocols
purple

zprofile

zshenv

quotagrpadmins zshrc
quotatab

inputrc

racoon

[root@localhost etc]# vi redhat-release

Type here in redhat-4


:wq!

[root@localhost etc]# cd ..
[root@localhost /]#

Then proceed further as follows:


[root@localhost ~]# groupadd -u 400 dba
groupadd: invalid option -- u
Usage: groupadd [options] group

Options:
-f, --force

force exit with success status if the specified


group already exists

-r,
-g, --gid GID
-h, --help

create system account


use GID for the new group
display this help message and exit

-K, --key KEY=VALUE


-o, --non-unique

overrides /etc/login.defs defaults


allow create group with duplicate

(non-unique) GID

[root@localhost ~]# groupadd -g 400 dba


[root@localhost ~]# useradd -u 400 -g 400 -d /home/ora102 -s /bin/bash -c "Oracle Owner" ora102
[root@localhost ~]# su - ora102
[ora102@localhost ~]$ cd
[ora102@localhost ~]$ ls
[ora102@localhost ~]$ ls -ltr
total 0
[ora102@localhost ~]$ ls -la
total 72
drwx------ 4 ora102 dba 4096 Dec 18 11:05 .
drwxr-xr-x 4 root root 4096 Dec 18 11:05 ..
-rw-r--r-- 1 ora102 dba

33 Dec 18 11:05 .bash_logout

-rw-r--r-- 1 ora102 dba 176 Dec 18 11:05 .bash_profile


-rw-r--r-- 1 ora102 dba 124 Dec 18 11:05 .bashrc
-rw-r--r-- 1 ora102 dba 515 Dec 18 11:05 .emacs
drwxr-xr-x 3 ora102 dba 4096 Dec 18 11:05 .kde
drwxr-xr-x 4 ora102 dba 4096 Dec 18 11:05 .mozilla
-rw-r--r-- 1 ora102 dba 658 Dec 18 11:05 .zshrc
[ora102@localhost ~]$ vi .bash_profile
To set .bash_profile
unset TWO_TASK
export ORACLE_SID=GENTIC
export LISTENER_NAME=$ORACLE_SID
export ORACLE_BASE=/home/ora102
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0
export ORACLE_DOC=$ORACLE_HOME/doc
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export PATH=$ORACLE_HOME/bin:$PATH

export EDITOR=vi
:wq!
Bash file is use to set oracle environment.
[ora102@localhost ~]$ vi .bash_profile
[ora102@localhost ~]$ ls
[ora102@localhost ~]$ cd /
[ora102@localhost /]$ ls
bin dev home lost+found misc net proc sbin
boot etc lib media

srv tmp var

mnt opt root selinux sys usr

[ora102@localhost /]$ mkdir -p /oracle/product/10.2.0/db


mkdir: cannot create directory `/oracle': Permission denied
Because u did not have the permission to create directory.
[ora102@localhost /]$ cd
[ora102@localhost ~]$ cd /
[ora102@localhost /]$ cd
[ora102@localhost ~]$
exit

move on to root to create Oracle Home Directories


[ora102@localhost ~]$ exit
logout

[root@localhost ~]# cd /
[root@localhost /]# ls

bin dev home lost+found misc net proc sbin


boot etc lib media

srv tmp var

mnt opt root selinux sys usr

[root@localhost /]# mkdir -p /oracle/product/10.2.0/db


Change owner ship of all dir. It must be of ora102.
[root@localhost /]# chown -R /oracle/product/10.2.0/db
chown: missing operand after `/oracle/product/10.2.0/db'
Try `chown --help' for more information.
[root@localhost /]# chown -R ora102:dba /oracle/product/10.2.0/db
[root@localhost /]# ls -la
total 182
drwxr-xr-x 24 root root 4096 Dec 18 11:12 .
drwxr-xr-x 24 root root 4096 Dec 18 11:12 ..
-rw-r--r-- 1 root root

0 Dec 18 10:56 .autofsck

drwxr-xr-x 2 root root 4096 Dec 15 15:58 bin


drwxr-xr-x 4 root root 1024 Dec 15 15:58 boot
drwxr-xr-x 14 root root 4000 Dec 18 10:56 dev
drwxr-xr-x 116 root root 12288 Dec 18 11:05 etc
drwxr-xr-x 4 root root 4096 Dec 18 11:05 home
drwxr-xr-x 13 root root 12288 Dec 15 15:58 lib
drwx------ 2 root root 16384 Dec 15 10:46 lost+found
drwxr-xr-x 2 root root 4096 Dec 18 10:56 media
drwxr-xr-x 2 root root

0 Dec 18 10:56 misc

drwxr-xr-x 2 root root 4096 Jan 26 2010 mnt


drwxr-xr-x 2 root root

0 Dec 18 10:56 net

drwxr-xr-x 2 root root 4096 Jan 26 2010 opt

drwxr-xr-x 3 root root 4096 Dec 18 11:12 oracle


dr-xr-xr-x 191 root root

0 Dec 18 05:55 proc

-rw------- 1 root root 1024 Dec 15 16:12 .rnd


drwxr-x--- 15 root root 4096 Dec 18 11:10 root
drwxr-xr-x 2 root root 12288 Dec 15 15:59 sbin
drwxr-xr-x 4 root root

0 Dec 18 05:55 selinux

drwxr-xr-x 2 root root 4096 Jan 26 2010 srv


drwxr-xr-x 12 root root

0 Dec 18 05:55 sys

drwxrwxrwt 12 root root 4096 Dec 18 11:10 tmp


drwxr-xr-x 14 root root 4096 Dec 15 15:52 usr
drwxr-xr-x 26 root root 4096 Dec 15 16:03 var
[root@localhost /]#

[ora102@localhost /]$ chown ora102:dba /oracle


chown: changing ownership of `/oracle': Operation not permitted
[ora102@localhost /]$ cd
[ora102@localhost ~]$ shown ora102:dba
-bash: shown: command not found
[ora102@localhost ~]$ chown ora102:dba /oracle
chown: changing ownership of `/oracle': Operation not permitted
[ora102@localhost ~]$ exit
logout

[root@localhost /]# chown ora102:dba /oracle


[root@localhost /]# ls -ltr

total 154
drwxr-xr-x 2 root root 4096 Jan 26 2010 srv
drwxr-xr-x 2 root root 4096 Jan 26 2010 opt
drwxr-xr-x 2 root root 4096 Jan 26 2010 mnt
drwx------ 2 root root 16384 Dec 15 10:46 lost+found
drwxr-xr-x 14 root root 4096 Dec 15 15:52 usr
drwxr-xr-x 13 root root 12288 Dec 15 15:58 lib
drwxr-xr-x 2 root root 4096 Dec 15 15:58 bin
drwxr-xr-x 4 root root 1024 Dec 15 15:58 boot
drwxr-xr-x 2 root root 12288 Dec 15 15:59 sbin
drwxr-xr-x 26 root root 4096 Dec 15 16:03 var
dr-xr-xr-x 191 root root

0 Dec 18 05:55 proc

drwxr-xr-x 4 root root

0 Dec 18 05:55 selinux

drwxr-xr-x 12 root root

0 Dec 18 05:55 sys

drwxr-xr-x 2 root root 4096 Dec 18 10:56 media


drwxr-xr-x 2 root root

0 Dec 18 10:56 misc

drwxr-xr-x 2 root root

0 Dec 18 10:56 net

drwxr-xr-x 14 root root 4000 Dec 18 10:56 dev


drwxr-xr-x 4 root root 4096 Dec 18 11:05 home
drwxr-xr-x 116 root root 12288 Dec 18 11:05 etc
drwxrwxrwt 12 root root 4096 Dec 18 11:10 tmp
drwxr-x--- 15 root root 4096 Dec 18 11:10 root
drwxr-xr-x 3 ora102 dba 4096 Dec 18 11:12 oracle
[root@localhost /]# chown ora102:dba /oracle/product

[root@localhost /]# chown ora102:dba /oracle/product/10.2.0


[root@localhost /]# chown ora102:dba /oracle/product/10.2.0/db
[root@localhost /]#

Now copy enterprise.rsp from binary to tmp and change ownership of it.
[root@localhost ~]# cd /
[root@localhost /]# cd tmp
[root@localhost tmp]# cp '/root/Desktop/OracleLin10g/database/response/enterprise.rsp' .
[root@localhost tmp]# chown ora102:dba enterprise.rsp
[root@localhost tmp]# ls -ltr
total 152
srwxrwxr-x 1 inder inder

0 Dec 15 16:13 mapping-inder

drwx------ 2 inder inder 4096 Dec 15 16:14 gconfd-inder


drwx------ 2 root root 4096 Dec 18 10:57 ssh-PsgXUA4288
drwx------ 3 root root 4096 Dec 18 10:57 gconfd-root
drwx------ 2 root root 4096 Dec 18 10:57 keyring-MCFaWO
drwx------ 2 root root 4096 Dec 18 10:57 virtual-root.ET9oYv
srwxr-xr-x 1 root root

0 Dec 18 10:57 mapping-root

srwxr-xr-x 1 root root

0 Dec 18 10:59 gedit.root.17173760

srwxr-xr-x 1 root root 0 Dec 18 11:10


OSL_PIPE_0_SingleOfficeIPC_44e0c34da8623980ccf9f8299a62e4fb
drwx------ 2 root root 4096 Dec 18 11:10 orbit-root
drwxr-xr-x 2 root root 4096 Dec 18 11:25 svhfk.tmp
-rwxr-xr-x 1 ora102 dba 71113 Dec 18 11:32 enterprise.rsp

[root@localhost tmp]#

[root@localhost tmp]# cd
[root@localhost ~]# cd /
Now copy or move oracle binary from desktop to desired destination.
[root@localhost /]# cd /oracle
[root@localhost oracle]# cp '/root/Desktop/OracleLin10g' .
cp: omitting directory `/root/Desktop/OracleLin10g'
[root@localhost oracle]# mv '/root/Desktop/OracleLin10g' .
[root@localhost oracle]# ls
OracleLin10g product
[root@localhost oracle]# chown ora102:dba OracleLin10g
[root@localhost oracle]# ls -ltr
total 16
drwxr-xr-x 3 ora102 dba 4096 Nov 16 12:04 OracleLin10g
drwxr-xr-x 3 ora102 dba 4096 Dec 18 11:12 product
[root@localhost oracle]#
cd
[root@localhost ~]# su - ora102
[ora102@localhost ~]$ cd /
[ora102@localhost /]$ cd tmp
[ora102@localhost tmp]$ ls
enterprise.rsp
gconfd-inder
gconfd-root

gedit.root.17173760
keyring-MCFaWO
mapping-inder
mapping-root
orbit-root
OSL_PIPE_0_SingleOfficeIPC_44e0c34da8623980ccf9f8299a62e4fb
ssh-PsgXUA4288
svhfk.tmp
virtual-root.ET9oYv
[ora102@localhost tmp]$ vi enterprise.rsp
** (PARAMETERS THAT HAVE TO CHANGE IN RSP)
* remember that it is case sensitive so change it accordingly.
* to find in rsp file type as ex:( /s_name <enter>)
1) unix_group_name=
2) ORACLE_HOME=/oracle/102/db
3) ORACLE_HOME_NAME="OraDbHome10g"
4) S_nameForDBAgrp="dba"
5) S_nameForOPERGrp="dba"
6) h_configurationoption=3
:wq!

[ora102@localhost tmp]$ cd ..
[ora102@localhost /]$

[ora102@localhost /]$ cd oracle


unzip 10201_database_linux32.zip
[ora102@localhost oracle]$ ls
OracleLin10g product

[ora102@localhost oracle]$ cd OracleLin10g


[ora102@localhost OracleLin10g]$ ls
database
[ora102@localhost OracleLin10g]$ cd database
[ora102@localhost database]$ ls
doc install response runInstaller stage welcome.html
RUN the installer.
[ora102@localhost database]$ ./runInstaller -silent -responseFile /tmp/enterprise.rsp
OR {./runInstaller -ignoreSysprereqs -silent -responseFile /tmp/enterprise1.rsp}
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or
asianux-2
Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-12-18_11-48-24AM. Please


wait ...[ora102@localhost database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.

You can find a log of this install session at:


/oracle/oraInventory/logs/installActions2010-12-18_11-48-24AM.log

.................................................................................................... 100% Done.

Loading Product Information


................................................................................................................... 100% Done.

Analyzing dependencies
.........................................................................
Starting execution of Prerequisites...
Total No of checks: 11

Performing check for CertifiedVersions


Checking operating system requirements ...
Expected result: One of redhat-3,redhat-4,SuSE-9,asianux-1,asianux-2
Actual Result: redhat-4
Check complete. The overall result of this check is: Passed

Check complete: Passed


=======================================================================
Performing check for Packages
Checking operating system package requirements ...
Checking for make-3.79; found make-1:3.81-3.el5.

Passed

Checking for binutils-2.14; found binutils-2.17.50.0.6-14.el5. Passed


Checking for gcc-3.2; found gcc-4.1.2-48.el5. Passed
Checking for libaio-0.3.96; found libaio-0.3.106-5.

Passed

Check complete. The overall result of this check is: Passed

Check complete: Passed


=======================================================================
Performing check for Kernel
Checking kernel parameters
Checking for semmsl=250; found semmsl=250.

Passed

Checking for semmns=32000; found semmns=32000. Passed


Checking for semopm=100; found semopm=32.

Failed <<<<

Checking for semmni=128; found semmni=128.

Passed

Checking for shmmax=536870912; found shmmax=4294967295. Passed


Checking for shmmni=4096; found shmmni=4096.

Passed

Checking for shmall=2097152; found shmall=268435456.


Checking for file-max=65536; found file-max=232581.

Passed
Passed

Checking for VERSION=2.6.9; found VERSION=2.6.18-194.el5xen.

Passed

Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=32768 - 61000. Failed


<<<<
Checking for rmem_default=262144; found rmem_default=110592.
Checking for rmem_max=262144; found rmem_max=131071.

Failed <<<<

Checking for wmem_default=262144; found wmem_default=110592.


Checking for wmem_max=262144; found wmem_max=131071.

Failed <<<<

Failed <<<<

Failed <<<<

Check complete. The overall result of this check is: Failed <<<<

Check complete: Failed <<<<


Problem: The kernel parameters do not meet the minimum requirements (see above).
Recommendation: Perform operating system specific instructions to update the kernel parameters.

=======================================================================
Performing check for GLIBC
Checking Recommended glibc version
Expected result: ATLEAST=2.3.2-95.27
Actual Result: 2.5-49
Check complete. The overall result of this check is: Passed

Check complete: Passed


=======================================================================
Performing check for TotalMemory
Checking physical memory requirements ...
Expected result: 922MB
Actual Result: 2424MB
Check complete. The overall result of this check is: Passed

Check complete: Passed

=======================================================================
Performing check for SwapSpace
Checking available swap space requirements ...
Expected result: 2424MB
Actual Result: 4767MB
Check complete. The overall result of this check is: Passed

Check complete: Passed


=======================================================================
Performing check for DetectIfDHCPAssignedIP
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<

Check complete: Not executed <<<<


Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses.
However, the primary network interface on the system should be configured with a static IP address in
order for the Oracle Software to function properly. See the Installation Guide for more details on
installing the software on systems configured with DHCP.

=======================================================================
Performing check for OracleBase
Validating ORACLE_BASE location (if set) ...
Check complete. The overall result of this check is: Passed

Check complete: Passed


=======================================================================
Performing check for OracleHomeSpace
Checking Oracle Home path for spaces...
Check complete. The overall result of this check is: Passed

Check complete: Passed


=======================================================================
Performing check for DetectAnyInvalidASMHome
Checking for proper system clean-up....
Check complete. The overall result of this check is: Passed

Check complete: Passed


=======================================================================
Performing check for CompatibilityChecks
Checking for Oracle Home incompatibilities ....
[ora102@localhost database]$ Actual Result: NEW_HOME
Check complete. The overall result of this check is: Passed

Check complete: Passed

=======================================================================
PrereqChecks complete

.......................................... 100% Done.

----------------------------------------------------------------------------Summary
Global Settings
Source: /oracle/OracleLin10g/database/stage/products.xml
Oracle Home: /oracle/product/10.2.0/db (OraDbHome1)
Installation Type: Enterprise Edition
Product Languages
English
Space Requirements
/ Required 1.36GB (includes 108MB temporary) : Available 61.52GB
New Installations (107 products)
Oracle Database 10g 10.2.0.1.0
Enterprise Edition Options 10.2.0.1.0
Oracle Partitioning 10.2.0.1.0
Oracle Spatial 10.2.0.1.0
Oracle OLAP 10.2.0.1.0
Oracle Enterprise Manager Console DB 10.2.0.1.0
Oracle Net Services 10.2.0.1.0
Oracle Database 10g 10.2.0.1.0

Oracle Net Listener 10.2.0.1.0


HAS Files for DB 10.2.0.1.0
Oracle Internet Directory Client 10.2.0.1.0
Oracle Call Interface (OCI) 10.2.0.1.0
Oracle Programmer 10.2.0.1.0
Oracle interMedia 10.2.0.1.0
Enterprise Manager Agent Core 10.2.0.1.0
Oracle JVM 10.2.0.1.0
Database Configuration and Upgrade Assistants 10.2.0.1.0
Oracle interMedia Locator 10.2.0.1.0
Oracle XML Development Kit 10.2.0.1.0
Oracle Text 10.2.0.1.0
Oracle Database Utilities 10.2.0.1.0
Generic Connectivity Common Files 10.2.0.1.0
Oracle Advanced Security 10.2.0.1.0
Enterprise Manager Repository Core 10.2.0.1.0
PL/SQL 10.2.0.1.0
Oracle Net 10.2.0.1.0
Assistant Common Files 10.2.0.1.0
Enterprise Manager plugin Common Files 10.2.0.1.0 Beta
Buildtools Common Files 10.2.0.1.0
Installation Common Files 10.2.0.1.0
Oracle LDAP administration 10.2.0.1.0
Oracle Java Client 10.2.0.1.0

Precompiler Common Files 10.2.0.1.0


Oracle Recovery Manager 10.2.0.1.0
SQL*Plus 10.2.0.1.0
iSQL*Plus 10.2.0.1.0
Enterprise Manager plugin Common Files 10.2.0.1.0
HAS Common Files 10.2.0.1.0
Oracle Clusterware RDBMS Files 10.2.0.1.0
Oracle Wallet Manager 10.2.0.1.0
Enterprise Manager Minimal Integration 10.2.0.1.0
Oracle Database User Interface 2.2.13.0.0
Secure Socket Layer 10.2.0.1.0
Oracle ODBC Driver 10.2.0.1.0
Required Support Files 10.2.0.1.0
Database SQL Scripts 10.2.0.1.0
OLAP SQL Scripts 10.2.0.1.0
PL/SQL Embedded Gateway 10.2.0.1.0
Oracle Globalization Support 10.2.0.1.0
Character Set Migration Utility 10.2.0.1.0
LDAP Required Support Files 10.2.0.1.0
Oracle Help for the Web 1.1.10.0.0
Oracle JDBC Thin Driver for JDK 1.4 10.2.0.1.0
Oracle JDBC Thin Driver for JDK 1.2 10.2.0.1.0
Oracle interMedia Client Option 10.2.0.1.0
Oracle Notification Service 10.1.0.3.0
Oracle Code Editor 1.2.1.0.0I

Perl Interpreter 5.8.3.0.2


JDBC Common Files 10.2.0.1.0
Oracle Locale Builder 10.2.0.1.0
Oracle Containers for Java 10.2.0.1.0
Database Workspace Manager 10.2.0.1.0
Oracle Core Required Support Files 10.2.0.1.0
Platform Required Support Files 10.2.0.1.0
Oracle interMedia Locator RDBMS Files 10.2.0.1.0
Oracle JDBC/OCI Instant Client 10.2.0.1.0
Oracle interMedia Annotator 10.2.0.1.0
SQLJ Runtime 10.2.0.1.0
Oracle interMedia Java Advanced Imaging 10.2.0.1.0
Oracle Database 10g interMedia Files 10.2.0.1.0
Oracle Data Mining RDBMS Files 10.2.0.1.0
Enterprise Manager Baseline 10.2.0.1.0
Oracle Help For Java 4.2.6.1.0
Oracle UIX 2.1.22.0.0
XML Parser for Java 10.2.0.1.0
Precompiler Required Support Files 10.2.0.1.0
XML Parser for Oracle JVM 10.2.0.1.0
Oracle Message Gateway Common Files 10.2.0.1.0
Oracle Starter Database 10.2.0.1.0
Sample Schema Data 10.2.0.1.0
Parser Generator Required Support Files 10.2.0.1.0

Agent Required Support Files 10.2.0.1.0


Oracle RAC Required Support Files-HAS 10.2.0.1.0
RDBMS Required Support Files 10.2.0.1.0
RDBMS Required Support Files for Instant Client 10.2.0.1.0
XDK Required Support Files 10.2.0.1.0
Oracle OLAP API 10.2.0.1.0
Oracle OLAP RDBMS Files 10.2.0.1.0
DBJAVA Required Support Files 10.2.0.1.0
SQL*Plus Required Support Files 10.2.0.1.0
Oracle JFC Extended Windowing Toolkit 4.2.33.0.0
Oracle Ice Browser 5.2.3.6.0
Oracle Display Fonts 9.0.2.0.0
Oracle Extended Windowing Toolkit 3.4.38.0.0
Enterprise Manager Common Files 10.2.0.1.0
Enterprise Manager Agent DB 10.2.0.1.0
Oracle Net Required Support Files 10.2.0.1.0
Enterprise Manager Repository DB 10.2.0.1.0
SSL Required Support Files for InstantClient 10.2.0.1.0
regexp 2.1.9.0.0
Bali Share 1.1.18.0.0
Oracle Universal Installer 10.2.0.1.0
Oracle One-Off Patch Installer 10.2.0.1.0
Installer SDK Component 10.2.0.1.0
Java Runtime Environment 1.4.2.8.0
Sun JDK 1.4.2.0.8

Sun JDK extensions 10.1.2.0.0


-----------------------------------------------------------------------------

Installation in progress (Sat Dec 18 11:48:40 EST 2010)


............................................................... 18% Done.
............................................................... 36% Done.
............................................................... 54% Done.
............................................................... 73% Done.
............

76% Done.

Install successful

Linking in progress (Sat Dec 18 11:50:24 EST 2010)


Link successful

Setup in progress (Sat Dec 18 11:51:15 EST 2010)


..............

100% Done.

Setup successful

End of install phases.(Sat Dec 18 11:51:21 EST 2010)


WARNING:A new inventory has been created in this session. However, it has not yet been registered
as the central inventory of this system.
To register the new inventory please run the script '/oracle/oraInventory/orainstRoot.sh' with root
privileges.
If you do not register the inventory, you may not be able to update or patch the products you installed.

The following configuration scripts


/oracle/product/10.2.0/db/root.sh
need to be executed as root for configuring the system. If you skip the execution of the configuration
tools, the configuration will not be complete and the product wont function properly. In order to get the
product to function properly, you will be required to execute the scripts and the configuration tools
after exiting the OUI.

The installation of Oracle Database 10g was successful.


Please check '/oracle/oraInventory/logs/silentInstall2010-12-18_11-48-24AM.log' for more details.
Run root.sh (script) by going on to ROOT at this path /oracle/product/10.2.0/db/root.sh

[ora102@localhost /]$ cd /oracle/product/10.2.0/db


[ora102@localhost db]$ ls
assistants clone ctx
sqlj uix

has

bin
config dbs
sqlplus wwg

hs

cdata
crs demo
root.sh.old srvm xdk

install

inventory jlib md
javavm

jre mesg

jdbc

ldap mgw

cfgtoollogs css diagnostics install.platform jdk


slax
sysman
[ora102@localhost db]$ sh root.sh (or ./root.sh)
Running Oracle10 root.sh script...
You must be logged in as root to run root.sh.
Log in as root and restart root.sh execution.
[ora102@localhost db]$ Exit

nls OPatch
oc4j opmn
odbc oracore

ord plsql

relnotes

oui precomp root.sh


owm racg

lib network olap oraInst.loc perl rdbms

Here run root.sh (script)


[root@localhost ~]# cd /
[root@localhost /]# cd /oracle/product/10.2.0/db
[root@localhost db]# ls
assistants demo

jlib

odbc

bin

jre

olap

cdata

diagnostics
has

ldap

cfgtoollogs hs

lib
md

plsql

srvm

precomp

sysman

OPatch

racg

opmn

rdbms

wwg

oracore

relnotes

xdk

clone

install

config

install.platform mesg

uix

oraInst.loc root.sh

crs

inventory

mgw

ord

root.sh.old

css

javavm

network oui

ctx

jdbc

nls

owm

sqlj

dbs

jdk

oc4j

perl

sqlplus

slax

[root@localhost db]# sh root.sh


Running Oracle10 root.sh script...

The following environment variables are set as:


ORACLE_OWNER= ora102
ORACLE_HOME= /oracle/product/10.2.0/db

Enter the full pathname of the local bin directory: [/usr/local/bin]: dba
Creating dba directory...
Copying dbhome to dba ...

Copying oraenv to dba ...


Copying coraenv to dba ...

Entries will be added to the /etc/oratab file as needed by


Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
[root@localhost db]#

[ora102@localhost ~]$ ls -la


total 88
drwx------ 4 ora102 dba 4096 Dec 18 11:42 .
drwxr-xr-x 4 root root 4096 Dec 18 11:05 ..
-rw------- 1 ora102 dba 342 Dec 18 11:32 .bash_history
-rw-r--r-- 1 ora102 dba

33 Dec 18 11:05 .bash_logout

-rw-r--r-- 1 ora102 dba 432 Dec 18 11:08 .bash_profile


-rw-r--r-- 1 ora102 dba 124 Dec 18 11:05 .bashrc
-rw-r--r-- 1 ora102 dba 515 Dec 18 11:05 .emacs
drwxr-xr-x 3 ora102 dba 4096 Dec 18 11:05 .kde
drwxr-xr-x 4 ora102 dba 4096 Dec 18 11:05 .mozilla
-rw------- 1 ora102 dba 920 Dec 18 11:42 .viminfo
-rw-r--r-- 1 ora102 dba 658 Dec 18 11:05 .zshrc

Run bash profile to check whether environment is set or not if it is set it doesnot throw any error

after running bash profile.


[ora102@localhost ~]$ . ./.bash_profile
[ora102@localhost ~]$ echo $ORACLE_HOME {see oracle home path}
/oracle/product/10.2.0/db
[ora102@localhost ~]$

[ora102@localhost ~]$ exit


[root@localhost ~]#
make.log is to see successful installation of oracle if oracle is not sucessfully installed then u can
see the cause of it in this file in the form of error. to know linking of various binaries during the
proces of installation.
[root@localhost ~]# su ora102
[ora102@localhost ~]$ cd /oracle/product/10.2.0/db/install
[ora102@localhost install]$ ls -ltr
total 284
-rw-r----- 1 ora102 dba

0 Jun 7 2005 createseed.sh

-rw-r----- 1 ora102 dba

0 Jun 7 2005 createseed1.sh

-rw-r----- 1 ora102 dba

0 Jun 7 2005 seed.log

-rw-r----- 1 ora102 dba 2800 Jun 7 2005 templocal


drwxr-x--- 2 ora102 dba 4096 Dec 18 11:48 jlib
-rw-r----- 1 ora102 dba 9631 Dec 18 11:50 rootlocaladd
drwxr-x--- 2 ora102 dba 4096 Dec 18 11:50 utl
-rwxr-xr-x 1 ora102 dba

814 Dec 18 11:50 rootdeletenode.sh

-rw-r----- 1 ora102 dba 172263 Dec 18 11:51 make.log

-rw-r----- 1 ora102 dba

33 Dec 18 11:51 portlist.ini

drwxr-x--- 2 ora102 dba 4096 Dec 18 11:51 unix


-rwxr-xr-x 1 ora102 dba

0 Dec 18 11:51 oratab

-rw-r----- 1 ora102 dba 857 Dec 18 11:51 envVars.properties


-rw-r----- 1 ora102 dba 223 Dec 18 11:51 readme.txt
drwxr-x--- 2 ora102 dba 4096 Dec 18 11:51 chainedInstall
[ora102@localhost install]$ vi make.log
see here linking of binary
:q
[ora102@localhost install]$
cd
[ora102@localhost ~]$
then connect to sql

[ora102@localhost ~]$ sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Sat Dec 18 12:05:43 2010

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to an idle instance.

SQL>

##########

(INSTALLATION is successful )

#############################

You might also like