Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Oracle on Linux, File placement conventions?

0 views
Skip to first unread message

none

unread,
Jun 2, 2005, 11:49:01 AM6/2/05
to
Hi,

I just installed 10.1.0.3 on linux. What is the conventional location
to stick the software? On HP I alway put it in /opt/oracle/product...
but on Linux it seems people put stuff in /var.

So my question is: Is there a convention agreed upon for where to place
the Oracle software on Linux?

Related - On linux dbhome, dbshut, dbstart look in
/var/opt/oracle/oratab for the oratab, but the oratab is created in the
standard /etc/oratab.

question: How are people addressing this? Are you editing the
dbshut/start to look in /etc/oratab, or are you: ln -s
/var/opt/oracle/oratab /etc/oratab, or solving this in some other manner?

Thank you in advance
Jay

bdb...@gmail.com

unread,
Jun 2, 2005, 12:21:26 PM6/2/05
to
start here:

http://download-west.oracle.com/docs/pdf/B10813_01.pdf

The author apparently prefers the following setting:

$ setenv ORACLE_BASE /u01/app/oracle

Whereas some still prefer /opt/oracle for the $ORACLE_BASE in which
case the 10g R1 software home would be located in
/opt/oracle/product/10.1.0/db_1.

Stick with what you know, and what works for you and use it
consistently.

Regarding dbshut, there is a metalink doc covering this (Note:61333.1).

"For more detailed explanations and alternatives, please refer to the
System
Administrator's Guide for your UNIX platform."

which can be found here:
http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10739.pdf

-bdbafh

DA Morgan

unread,
Jun 2, 2005, 7:34:48 PM6/2/05
to

Tom

unread,
Jun 3, 2005, 10:01:58 AM6/3/05
to

> I just installed 10.1.0.3 on linux. What is the conventional location
> to stick the software? On HP I alway put it in /opt/oracle/product...
> but on Linux it seems people put stuff in /var.

i put stuff like binarys in /u01 and data into /u02 and then control and
redo into /u03, /u04 and /u05

generally /u0x are symlinks to other mounted disks but this is to fit in
with OFA -

Mark Bole

unread,
Jun 3, 2005, 10:56:50 AM6/3/05
to
none wrote:

[...]


>
> Related - On linux dbhome, dbshut, dbstart look in
> /var/opt/oracle/oratab for the oratab, but the oratab is created in the
> standard /etc/oratab.
>

The Oracle standard location for oratab is as follows, so the best thing
is to do whatever you have to with the scripts to use the standard
location for your platform:

Solaris: /var/opt/oracle/oratab
AIX, HP, Linux and Tru64: /etc/oratab

-Mark Bole

Mladen Gogala

unread,
Jun 5, 2005, 7:19:30 PM6/5/05
to
On Thu, 02 Jun 2005 10:49:01 -0500, none wrote:

> What is the conventional location
> to stick the software?

I'd try with that thing resembling the cup holder.

--
Demagogue: One who preaches a doctrine he knows to be untrue to
men he knows to be idiots.
H.L. Mencken

Noons

unread,
Jun 5, 2005, 8:57:21 PM6/5/05
to
none wrote:

> I just installed 10.1.0.3 on linux. What is the conventional location
> to stick the software? On HP I alway put it in /opt/oracle/product...
> but on Linux it seems people put stuff in /var.

Not really. /opt would be more appropriate. See:
http://web.whittier.edu/jlutgen/rute/node38.html#SECTION003810000000000000000

although Oracle seems to be quite happy with /u<nn>, which means
absolutely nothing as it is a simple convention.

> So my question is: Is there a convention agreed upon for where to place
> the Oracle software on Linux?

Well, see the sentence with the "convention" word above...
I don't like it: it should be /opt. But heck, it's just me
speaking out, so there!

> Related - On linux dbhome, dbshut, dbstart look in
> /var/opt/oracle/oratab for the oratab, but the oratab is created in the
> standard /etc/oratab.

Those scripts were originally created in a very old Solaris
(SunOS?) version. Where /var/opt/oracle seems to be the "standard"
placement although (as usual) only Sun follows that "standard"...
One thing you can is use a symbolic link to make /var/opt/oracle/oratab
be the same as /etc/oratab and be done with it. IIRC, that's what the
HPUX install does by default.

> question: How are people addressing this? Are you editing the
> dbshut/start to look in /etc/oratab, or are you: ln -s
> /var/opt/oracle/oratab /etc/oratab, or solving this in some other manner?

The second. As above.

0 new messages