Date: Thu, 23 Oct 2008 00:17:59 +0200 From: "Adrian Penisoara" <ady@ady.ro> To: martinko <gamato@users.sf.net> Cc: freebsd-database@freebsd.org, freebsd-emulation@freebsd.org, rofug@rofug.ro, freebsd-ports@freebsd.org Subject: Re: Q: Is there any use for Oracle database port installation under Linux compat root ? Message-ID: <78cb3d3f0810221517k780e4cafy6418c42b8c845915@mail.gmail.com> In-Reply-To: <gdlmd0$nb8$1@ger.gmane.org> References: <78cb3d3f0807260841k336f20a9jce857189c55adb16@mail.gmail.com> <78cb3d3f0807270122r4d2377d9gbf4e3ed5386918fa@mail.gmail.com> <20080727121503.679bc598@deskjail> <78cb3d3f0807271003q3f5ab72dr2147cf7b1a3348fc@mail.gmail.com> <alpine.BSF.1.10.0807272107050.3912@ora.chd.net> <48FE3708.8010501@users.sf.net> <20081021212134.GA79808@graf.pompo.net> <gdlmd0$nb8$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Wed, Oct 22, 2008 at 12:51 AM, martinko <gamato@users.sf.net> wrote: > Thierry Thomas wrote: >> >> Le Mar 21 oct 08 =E0 22:09:44 +0200, martinko <gamato@users.sf.net> >> =E9crivait : >> >>> Hi, >> >> Hello, >> >>> No Oracle installation I have ever seen was installed into /home and it >>> would be against Oracle Optimal Flexible Architecture (OFA) guidelines! >> >> Agreed. >> >>> /usr/local/oracle would be OK and users can move the directory tree >>> elsewhere afterwards. Or maybe you can ask about Oracle Base directory >>> during config/installation process, if possible. >> >> I would suggest to install under $ORACLE_HOME, defaulted to: >> >> ORACLE_HOME?=3D ${PREFIX}/oracle >> >> (or may be ${PREFIX}/oracle${VERSION} to allow the installation of >> different versions) I have used a similar schema for the prefixing part, just used a different variable name. Do not confuse this with the ORACLE_HOME environment used by Oracle, what we set here is closer to the idea of ORACLE_BASE. We should not use a version field in this variable since the product version signature is further in the path (see below). >> >> Regards, > > Hallo, > > Well, it's a bit more complicated than that.. > > OFA guidelines say that $ORACLE_HOME shoud be in the form of e.g. > $ORACLE_BASE/product/10.2.0/db_1 > > And application (DB) is installed into its $ORACLE_HOME and thus one can > have many different installations of many different versions. > > Then there are other directories under $ORACLE_BASE that usually contain > Oracle Inventory (of installed software) and DB data files etc. > > Usually everything under $ORACLE_BASE is created and taken care by Oracle > Universal Installer (which is Java application). Right. See above. > > Another issue may be where to place oratab file. It is located in > /var/opt/oracle/oratab on SunOS and in /etc/oratab on other Unixes. The OracleXE packages have a hardcoded value for /etc/oratab. I'm going to leave it this way for the sake of compatibility. One more question: how usefull would it be to use the Linux (Bash) shell instead of a native (FreeBSD) shell ? Thank you for your suggestions, I'm closer to the completion of the port. Adrian.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?78cb3d3f0810221517k780e4cafy6418c42b8c845915>