Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Installing Oracle on uncertified Linux, like Debian, Download RedHat, Gentoo ?
Here's how I install on Red Hat 8.0 (being a mere former Windows user, some
of this might not be as elegant as a 'real' Linux user might prefer)>
$ cpio -idmv < Linux9i_Disk1.cpio
$ cpio -idmv < Linux9i_Disk2.cpio
$ cpio -idmv < Linux9i_Disk3.cpio
(file names on the right-hand side of the "<" might vary, but you get the idea). That creates you directories called "Disk1", "Disk2" and "Disk3", which means the installation should proceed without the need to swap CDs or otherwise intervene. For good measure, chown dba:oracle /Disk1, chown dba:oracle /Disk2 and chown dba:oracle /Disk3.
6. Log in as Oracle. Get your environment variables correct. Edit the .bashrc file in your home directory so it reads:
export ORACLE_SID=db9 export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=/u01/app/oracle/9i
Save. And then invoke the script to get the variables actually set for your current session:
$ . ./.bashrc (that's dot space dot slash dot profile)
Check the profile is loaded:
$export
Check the display carefully, and make sure ORACLE_HOME etc are all showing sensible values.
7. Run the installer:
$/DISK1/runInstaller
Select to do an Enterprise Edition, Software Only install.
After that, it's all plain sailing, until about 86% through the linking phase, when you'll get an error concerning ctx. When the error appears, open another terminal, and cd to $ORACLE_HOME/ctx/lib. Edit the file env_ctx.mk. Scroll down to the bottom, and find the line that reads INSO_LINK= blah blah blah. Instead of it reading:
INSO_LINK =-L$(CTXLIB) $(LDLIBFLAG)m $(LDLIBFLAG)sc_ca [etc etc etc]
...it needs to read:
INSO_LINK = -L$(CTXLIB) $(LDLIBFLAG)m $(LDLIBFLAG)dl $(LDLIBFLAG)sc_ca [etc etc etc]
That is, just add the $(LDLIBFLAG)dl item between the similar "m" and "sc_ca" ones. Save the file, and click the 'Retry' option on the error message dialog, and the installation should run through to completion. Cancel the Enterprise Manager thingy that appears at the end asking you to add a database to the tree.
After that, it's just dbca to create a database, and a whole bunch of oemutil and oemapp stuff to create a management server with repository database, and netca to get all the networking stuff dealt with.
Runs just fine. So Oracle *does* work on Red Hat 8.0.
Regards
HJR
"Guido Stepken" <stepken_at_little-idiot.de> wrote in message
news:b5ho8l$d3p$02$1_at_news.t-online.com...
> Hi out there ! > > I am still wondering, why the heck oracle 8i/9i shouldn't run on any > Linux, preferably Debian, Gentoo, RedHat 8.0 download edition ? > > I know, that suse on its enterprise edition (SLES) has exchanged a > function in glibc, which caused a memory leak in oracle. Oracle has > sent its own code for being replaced in SuSE. > > So it can be, that other distributions have a memory leak too. > > My question: Who has installed and running oracle stable on uncertified > Linux distributions ? > > Stable configurations wanted: Linux Distribution, Kernel - #,libc-#.......
> > tnx in advance, regards, Guido Stepken >Received on Mon Mar 24 2003 - 05:30:09 CST
![]() |
![]() |