Google Plus

Install Oralce 10g2 in centos 6

Written by Mel Kham on . Posted in Linux tutorials

 

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

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

pigmej

|

Just one thing:

What about pep8 in your python code ? How can you give ‘tutorials’ on quite popular website, of such a bad quality ?

Amit Rai

|

I just renamed shared.xml and it logged in and created a new shared.xml.

DB Griffin

|

Larry Page is not being completely honest! The manner in which the PRISM program/project works does not need access from company administrators or owners, so called “direct access”; the access to the information is already there. These tech company CEOs take for granted the actual intelligence of most end users of their products. All it takes is a little digging and reading to go from ignorant to informed on these things especially on exactly how the internet works/functions in the U.S.A. I find Larry Page’s remarks just as laughable as Al Gore’s claim to “inventing” the internet/world wide web!

If you, as an end user, are reading this post; I challenge you to research these matters yourself. It really is quite simple with all the “information sites” that exist on the web today ie Wikipedia, & other online encyclopedias that actually list source material, as well as highly respected tech sites and blogs that also list their source material. Be warned: this is only the tip of the iceberg and these tech CEOs know and understand this; they are scrambling in attempt to perform DAMAGE CONTROL to save the company and what little trust thay have left from their products end users/consumers.

Am I a skeptic? I believe someone has to be or needs to be at this point in time! If your not just a little skeptical of the government, tech companies, and the people that are in charge of these agencies and companies; you need to be, even if just a little skeptic. For your own personal protection and security! I know I was a part of this community for over 14 years!

Anders Jackson

|

As I understand it so do VLC use same encoders as ffmpeg. And yes, there are less code that can break when you use command line instead of a graphical UI.

And may I ask what mono has to do with VLC? *facepalm*

Anders Jackson

|

Just some thoughts about Java.

OpenJDK7 are now THE Java implementation and Oracles are just one more of the reimplementations. So you should not need to install Oracles version.

And you really don’t need to remove the OpenJDK7 installation to also have Sun Java JDK 7. Just run

sudo update-java-alternatives –list

and select which java you want to have as default java of all that is installed.

And if you want to run a program with one special version, check manpage for java-wrappers how to do that.

man java-wrappers

so you can run java program rasterizer like this:

JAVA_FLAVOR=openjdk rasterizer
JAVA_ARGS=-Xmx80m rasterizer

JAVA_BINDIR=/usr/share/

etc

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .