Oracle Installation Steps On Linux (Centos Version)
Oracle Installation Steps 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
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]# cd ..
[root@localhost /]#
Options:
-f, --force
-r,
-g, --gid GID
-h, --help
(non-unique) GID
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
[root@localhost ~]# cd /
[root@localhost /]# ls
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
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
[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 /]$
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or
asianux-2
Passed
Analyzing dependencies
.........................................................................
Starting execution of Prerequisites...
Total No of checks: 11
Passed
Passed
Passed
Failed <<<<
Passed
Passed
Passed
Passed
Passed
Failed <<<<
Failed <<<<
Failed <<<<
Failed <<<<
Check complete. The overall result of this check is: Failed <<<<
=======================================================================
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
=======================================================================
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
=======================================================================
Performing check for OracleBase
Validating ORACLE_BASE location (if set) ...
Check complete. The overall result of this check is: Passed
=======================================================================
PrereqChecks complete
----------------------------------------------------------------------------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
76% Done.
Install successful
100% Done.
Setup successful
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
nls OPatch
oc4j opmn
odbc oracore
ord plsql
relnotes
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
Enter the full pathname of the local bin directory: [/usr/local/bin]: dba
Creating dba directory...
Copying dbhome to dba ...
Run bash profile to check whether environment is set or not if it is set it doesnot throw any error
SQL>
##########
(INSTALLATION is successful )
#############################