Install Oralce 10g2 in centos 6

by
Share this Article: Facebook0Google+0Twitter1LinkedIn0Reddit0StumbleUpon0

 

Install Oralce 10g2  in centos 6

1-

Download Oratoolkit  rpm (This  packages  will add  oralce user  and  with some  scripts  to  check  the  dependencies)

2-    make  oracle  password

passwd  oracle

3- Check the d ependencies 

 

 

 

 [root@centos6 ~]# /opt/oracle/otk/current/bin/installManager swReqCheck osSetup10gR2.cfg

 

20110928_045353: Info: Correct version (2.2.14-11) of 32-bit unixODBC installed
20110928_045354: Warning: Required package libXau not found, installation of 32-bit version 1.0.5-1 or later recommended. Package should be on DVD
20110928_045354: Warning: Required package libX11 not found, installation of 32-bit version 1.3-2 or later recommended. Package should be on DVD
20110928_045354: Warning: Required package libxcb not found, installation of 32-bit version 1.5-1 or later recommended. Package should be on DVD
20110928_045354: Warning: Required package libXext not found, installation of 32-bit version 1.1-3 or later recommended. Package should be on DVD
20110928_045354: Warning: Required package libXi not found, installation of 32-bit version 1.3-3 or later recommended. Package should be on DVD
20110928_045354: Warning: Required package compat-libstdc++-33 not found, installation of 32-bit version 3.2.3-69 or later recommended. Package should be on DVD
20110928_045355: Warning: Required package libXt not found, installation of 32-bit version 1.0.7-1 or later recommended. Package should be on DVD
20110928_045355: Warning: Required package libXtst not found, installation of 32-bit version 1.0.99.2-3 or later recommended. Package should be on DVD
20110928_045355: Warning: Required package libaio-devel not found, installation of 32-bit version 0.3.107-10 or later recommended. Package should be on DVD

 

You still got  one  warning

 

110928_050839: Warning: Oracle software runs on CentOS however this combination is NOT supported by Oracle

you kan skip this  warning

 

4-Install sqlplus :

 

# cd /opt/oracle/otk/current/tools/rlwrap/
# ./configure
# make
# make install
# /usr/local/bin/rlwrap -v

 

 

 

 

5-Login as   oracle  and e dit  the  profile :

[root@centos6 installManager]# su  – oracle
 
 ——————————————————
 oraToolKit environment variables
 ——————————————————
 Installation directory :   /opt/oracle/otk
 Release                :   1.0.2.1.5
 $RUN directory         :   /opt/oracle/otk/1.0/bin
 $LOG_BASE directory    :   /var/opt/oracle/otk/1.0/log
 ——————————————————
 
<SITE|COMPANY>:oracle@centos6:sidNotSet$ grep ^SITE .profile.custom.interactive
SITE=”<SITE|COMPANY>”
<SITE|COMPANY>:oracle@centos6:sidNotSet$  .profile.custom.interactive          
i grep ^SITE .profile.custom.interactive
SITE=”<SITE|COMPANY>”
<SITE|COMPANY>:oracle@centos6:sidNotSet$ vi  .profile.custom.interactive       
<SITE|COMPANY>:oracle@centos6:sidNotSet$ su – oracle
Password:
 
 ——————————————————
 oraToolKit environment variables
 ——————————————————
 Installation directory :   /opt/oracle/otk
 Release                :   1.0.2.1.5
 $RUN directory         :   /opt/oracle/otk/1.0/bin
 $LOG_BASE directory    :   /var/opt/oracle/otk/1.0/log
 ——————————————————
 
Unixmen:oracle@centos6:ora1$

 

6- Install Oracle Software

$ bash
$ cd $INSTALL_CONF
$ cp sample/swInstEeSrv10gR2-Step[123]-linux-x86_64.cfg .
$ installManager swInst swInstEeSrv10gR2-Step1-linux-x86_64.cfg
$ su -
# /opt/oracle/eesrv/10.2.0/db1/root.sh
# exit
$ installManager swInst swInstEeSrv10gR2-Step2-linux-x86_64.cfg
$ installManager swInst swInstEeSrv10gR2-Step3-linux-x86_64.cfg
$ su -
# /opt/oracle/eesrv/10.2.0/db1/root.sh
# exit

For questions please refer to our Q/A forum at : http://ask.unixmen.com/


Share this Article: Facebook0Google+0Twitter1LinkedIn0Reddit0StumbleUpon0