Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Newbie help for Oracle client installation on Linux

Re: Newbie help for Oracle client installation on Linux

From: Marc Thomas <marc_at____prismatic-effulgence.fsnet.co.uk>
Date: Mon, 7 Jul 2003 19:33:26 +0100
Message-ID: <becefo$e8b$1@newsg3.svr.pol.co.uk>

"Yousaf" <yousaf_at_NOBLOODYSPAM.freeserve.co.uk> wrote in message news:1057528444.203240_at_ananke.eclipse.net.uk...
> Thanks for the reply Marc,
>
>
> > I'd advise issuing an unset LANG before running the installer and
setting
> > your ORACLE_BASE, ORACLE_HOME, ORACLE_SID and CLASSPATH before running
the
> > runInstaller script. I've found under SLES8 (SuSE Linux Enterprise
Server)
> > that for 9i you might need to issue an "export THREAD_FLAGS=native".
>
> Do you mean set all the above in .bash_profile? If so, how?
> Do you mean like this?:
>
> export ORACLE_BASE=/path/to/install/files?
> export ORACLE_HOME=/path/to/where?
> export ORACLE_SID=/path/to/where?
> export ORACLE_BASE=/path/to/where?
> export THREAD_FLAGS=native
>

For base and home I'd pick somewhere that has enough available disk space. Traditionally this is usually /opt/oracle but can be anywhere you like. The sid can be anything you like since you're not installing a database - a common one to use is ORCL. So, we could end up with something like:

   ORACLE_BASE=/opt/oracle
   ORACLE_HOME=$ORACLE_BASE/product/8.1.7
   ORACLE_SID=ORCL
   THREAD_FLAGS=native

   export ORACLE_BASE ORACLE_HOME ORACLE_SID THREAD_FLAGS You could place the above lines in ~oracle/.bashrc if using the bash shell. Some distributions set up particular scripts in /etc/profile.d that can be applied to specific users - SuSE, for example, do this. As a test why not just type them in at the shell prompt:
   # export ORACLE_BASE=/opt/oracle
   # export ORACLE_HOME=$ORACLE_BASE/product/8.1.7
   # export ORACLE_SID=ORCL
   # export THREAD_FLAGS=native
   # unset LANG
   # ./runInstaller

>
> >
> > It has been a while since my last 8i install but I'm sure that on the
> > install CD from the root there is a "install/linux" directory containing
> > the script runIns.sh - try executing this script directly rather than
> > calling runInstaller. I might have the location mixed up, if so try
"find
> > /cdrom -type f -name runIns.sh -print" replacing cdrom with wherever
> > you've got the CD mounted.
>
> The script is called runInstaller and still gives me the same error.

I might be wrong about the above - it's been a while since I needed to install an 8i system. I'll double check my installation cd's back at the office.

>
> > Installing Oracle 8i on Linux is a serious pain but achievable with a
bit
> > of effort and "google-ing". If possible I'd recommend giving 9i serious
> > consideration.
>
> Do you mean 9i installation is less painful? I just need the client tools
to
> access Oracle 8i server on a windows2k box.

The 9i Universal Installer is much better than the one packaged with 8i. This is primarily because Oracle chose to use Java 1.2 over the archaic 1.1 used for 8i. Irrespective of whether you're installing a full 9i database or just the client tools you still need to launch the universal installer from the 9i for Linux media pack. Thus, 9i is less painful simply because the universal installer tends to work straight out of box.

>> If I install 9i client tools on Linux will I be able to access 8i on
win2k box?
Yes! Once you've set up your local tnsnames.ora (or whichever names resolution method you prefer) you'll connect fine. 9i is pretty much backward compatible with 8i so you shouldn't see any real problems here.

> Regards
> --
> Yousaf
> Linux version 2.4.20-8
> gcc version 3.2.2
> Red Hat 9
Received on Mon Jul 07 2003 - 13:33:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US