Skip to Main Content
  • Questions
  • Oracle Installation under unix/linux

Breadcrumb

Question and Answer

Tom Kyte

Thanks for the question, Asad.

Asked: October 25, 2004 - 8:36 am UTC

Last updated: October 27, 2004 - 6:24 am UTC

Version: 9i

Viewed 1000+ times

You Asked

hi tom,


Actually I need your help badly, I have 7 experience as DBA under windows environment now my company requirement
is to use oralce under unix/linux . Can u tell me the step how I can install orlace under linux. Please dont say that I
have to read book.

Thanx in advance
with regards,
Asad


and Tom said...

osh kosh by gosh.

You might actually have to read a book. How horrible would that be.


You have two choices, you could

a) fake it, just run the installer (./runInstaller) and see what things happen.

b) prepare for it, read the OS install guide, find out what pre-requisites you might have to setup, see how the system might need be configured -- do that before you type ./runInstaller


I personally would opt for b) cause it makes me look smarter at the end of the day. But, it is up to you.


Yes, sarcasm on full. "please don't say that I have to read book" indeed. I don't get it.

Rating

  (6 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

you should read at least one book covering *nix OS

A reader, October 25, 2004 - 9:48 am UTC


you may find this site also helpful

www.puschitz.com/OracleOnLinux.shtml



How can anyone do it?

A reader, October 25, 2004 - 10:32 am UTC

How can anyone start Oracle DBA activities on Linux without reading a lot? Linux manuals, help forums, Oracle platform specific documentation all are a must. Unix/Linux is so much different from Windows. To start with, there is no Oracle service which you can configure to start automatically, so how will you start database automatically after a server reboot? Enter startup scripts. To be able to read and modify a script, you will need to know which shell you are using and where the startup scripts live. Even the install process is different. Oracle on Unix/Linux compiles after install. One wrong version of a library and you will get errors. How to recompile? On Windows, all code is installed pre-compiled. Even the file and directory level permissions mechanism is totally different. You MUST read everything before you even start. Please do not ignore Tom's advise and do not shy away from documentation.

Oralce installation under unix/linix

A reader, October 26, 2004 - 4:25 am UTC

hi tom,

I means that just help me and write down all the step which is involved in order to install oracle under unix/lunix
for example

1. mount cd
2. create directory

etc....



with regards,
asad

Tom Kyte
October 26, 2004 - 7:52 am UTC



it is quite simple asad. One step:

a) read the documentation.


otherwise, just hire someone to do it for you. seriously. "please don't make me read something". geez.

if you've never worked on unix, have no experience with unix - don't see how you are going to be successful.

But if you read the documentation (the INSTALLATION GUIDE), ask the system admin to make sure the pre-requisites are satisfied -- just run ./runInstaller -- just like on windows. Maybe you'll get lucky.

(just like on windows it creates directories and everything. most unixes will auto-mount a cd -- just like windows -- automagically)

You *must* read a book

D. Becker, October 26, 2004 - 9:42 am UTC

I work in a Windows shop and pretty much nobody here knew *nix until recently.

We "upgraded" to Linux and let me tell you, it's quite a learning curve when you know nothing about *nix. We're learning on our new development system, and will soon deploy a Linux production system once we feel more-or-less comfortable about it.

We're reading books *and* going to Linux training classes *and* hiring consultants to help fill in the gaps. Unix is just an OS, but it's so foreign to the way Windows works. You *have* to learn (read) the material.

If you are comfortable on Windows and new to Linux, you will feel that Linux is more complicated. It isn't really, it's just different and you have to learn those differences (by reading) in order to effectively use that OS.

Just my $0.02


Tom Kyte
October 26, 2004 - 9:50 am UTC

<quote>
If you are comfortable on Windows and new to Linux, you will feel that Linux is
more complicated. It isn't really, it's just different and you have to learn
those differences (by reading) in order to effectively use that OS.
</quote>

let me change that to:

If you are comfortable on X and new to Y, you will feel that Y is
more complicated. It isn't really, it's just different and you have to learn
those differences (by reading) in order to effectively use that THING.


well said.

For Asad

Muhammad Riaz Shahid, October 27, 2004 - 6:24 am UTC

Install Oracle 9.2.0.1 on Fedora Core 6

Rizal, January 11, 2007 - 2:28 am UTC

Hi tom,

I'm installing oracle 9.2.0.1 on my Fedora C6 box, but i always get stuck at 0% copying progress on OUI. It say
"Installing Java Runtime Environment 1.1.8.1.0
Copying README"

and nothing happen (i left the computer about 10 hour)

I had look at ivan.kartik website, and had done what he said in that article but still get the same problem...
in my FC6 box i'm installing JDK 1.5.0 but according to that article i have to install JDK 1.3.1_xx only.
And then I remove my JDK1.5.0 and install JDK 1.3.1_19 (like ivan kartik said)
but still stuck (same problem).

oh before i replace my oraparam.ini, the runInstaller display this error:
"Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2007-01-11_10-24-41AM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference"


and after i replace JRE_LOCATION in oraparam.ini to JDK1.3.1_19 directory there is no error, OUI appear but when the copy progress begin it's stuck on 0% like i said before.

here is my compat rpm ( rpm -qa | grep compat )
java-1.4.2-gcj-compat-javadoc-1.4.2.0-40jpp.110
compat-libstdc++-devel-7.3-2.96.126
compat-openldap-2.3.27_2.2.29-4
java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.110
geronimo-specs-compat-1.0-0.M2.2jpp.12
compat-slang-1.4.9-27.2.2
compat-db-4.2.52-5.1
java-1.4.2-gcj-compat-src-1.4.2.0-40jpp.110
compat-gcc-7.3-2.96.126
compat-libstdc++-33-3.2.3-61
compat-libgcc-296-2.96-138
compat-libstdc++-7.3-2.96.126
java-1.4.2-gcj-compat-1.4.2.0-40jpp.110
compat-readline43-4.3-3
compat-gcc-c++-7.3-2.96.126



here is my bashrc ( cat /home/oracle/.bashrc )
# .bashrc
# Source global definitions
  if [ -f /etc/bashrc ]; then
       . /etc/bashrc
  fi

# User specific aliases and functions
ORACLE_BASE=/u01/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/9.2.0.1.0; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=$ORACLE_HOME/bin:$PATH:/usr/java/jdk1.3.1_19/bin; export PATH
ORACLE_OWNER=oracle; export ORACLE_OWNER
ORACLE_SID=dba3; export ORACLE_SID

LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
#ORACLE_OEM_JAVARUNTIME=/usr/java/jdk1.3.1_19; export ORACLE_OEM_JAVARUNTIME


And here is a last part of installation log : (/u01/oracle/oraInventory/logs/installActions2007-01-11_10-46-16AM.logs)
"
Calling action unixActions2.2.0.6.0  createLink
 source = /u01/oracle/jre/1.1.8/bin/.java_wrapper
 destination = /u01/oracle/jre/1.1.8/bin/jre
 overwriteExistingLink = true

*** Cancel Dialog:  ***
User selected: Stop installation of all products.

Warning :*** Alert: Do you really want to exit? ***
User selected: Yes/OK
"



Thank you for your help (and sorry for my english :P)
regards,
rizal