old-www/HOWTO/Oracle-9i-RH8-and-RH9-HOWTO...

106 lines
4.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Oracle 9i under RedHat Linux 8.x and 9.x - Simple Installation HOWTO: Getting started</TITLE>
<LINK HREF="Oracle-9i-RH8-and-RH9-HOWTO-3.html" REL=next>
<LINK HREF="Oracle-9i-RH8-and-RH9-HOWTO-1.html" REL=previous>
<LINK HREF="Oracle-9i-RH8-and-RH9-HOWTO.html#toc2" REL=contents>
</HEAD>
<BODY>
<A HREF="Oracle-9i-RH8-and-RH9-HOWTO-3.html">Next</A>
<A HREF="Oracle-9i-RH8-and-RH9-HOWTO-1.html">Previous</A>
<A HREF="Oracle-9i-RH8-and-RH9-HOWTO.html#toc2">Contents</A>
<HR>
<H2><A NAME="s2">2. Getting started</A></H2>
<H2><A NAME="ss2.1">2.1 Downloading Oracle 9i database</A>
</H2>
<P>Obtaining a copy of the Oracle 9i database is easy. Just go to the
<A HREF="http://www.oracle.com">Oracle web site</A>, click on
<B>Download</B> and follow the path based on the distribution. There
are few pages you must read before you get to the download links. These pages
contain copyright and agreement information, which I suggest you
read carefully. All the other information is just statistics.
If you are not a member, you have to register on
the Oracle web site to be granted access to any distribution,
which can be downloaded for free.
<P>The server distributions are in 3 files, named something like:
<UL>
<LI>lnx_920_disk1.cpio.gz</LI>
<LI>lnx_920_disk2.cpio.gz</LI>
<LI>lnx_920_disk3.cpio.gz</LI>
</UL>
<P>Other versions might have different names, but the installation could
be considered similar.
<P>According to Oracle's installation instructions there are 2 sources,
that can be used - CDs and Hard Disk Installation. I used the first
one. Downloading the distribution files and creating the CDs (see next
item) is a time consuming operation, so arm yourself with patience.
This will also require a lot of hard disk space. The 3 distribution files
are around 1.5 GB. You will need as much as 3 times this space if you
intend to keep the archives, the directories and CD images on your hard disk
until you are sure that the CDs are created correctly.
<P>Assuming that you are in the directory where the distributions are
downloaded, execute the following with <EM>all</EM> 3 distribution files
from a shell:
<P>
<BLOCKQUOTE><CODE>
<B>gunzip lnx_920_disk1.cpio.gz<BR>
cpio -idmv &lt; lnx_920_disk1.cpio</B>
</CODE></BLOCKQUOTE>
<P>These commands will create 3 directories, called Disk1, Disk2 and
Disk3.
<H2><A NAME="ss2.2">2.2 Creating the CDs</A>
</H2>
<P>Writing information to CD in Linux is covered completely in
CD-Writing-HOWTO, so the following will be only specific steps for
the Oracle distributions.
<H3>Creating the CD images</H3>
<P>The first step is to create the CD images for the 3 CDs of the Oracle
distribution. Just execute the following
sequence for all 3 directories, changing the filenames
and directory names for each command:
<P>
<BLOCKQUOTE><CODE>
<B>mkisofs -r -o ora9id1.iso Disk1/</B>
</CODE></BLOCKQUOTE>
<P>This will create 3 ISO CD images, which will be used further in the
installation process. The command may generate a lot of warnings
for name substitutions. Don't worry. The images will contain the
correct directory tree information. To check if this is true, mount
the images to a directory by using the loopback device (your kernel
should support loopback devices to perform this test) as described
in CD-Writing-HOWTO:
<P>
<BLOCKQUOTE><CODE>
<B>mount -t iso9660 -o ro,loop=/dev/loop0 cd_image mount_dir</B>
</CODE></BLOCKQUOTE>
<P>where cd_image is your resulting CD image from the <B>mkisofs</B> command.
After mounting, you can change directory and check the mounted
directory tree to ensure it looks okay. If everything is fine, you can move to
the next step.
<H3>Burning the CDs</H3>
<P>Burning the CD images on CDs can be done with any command line or
GUI program that uses ISO CD images to create CDs. See
CD-Writing-HOWTO for details. Make sure however, that after burning
the CDs they contain exactly the same directory trees as
directories Disk1, Disk2 and Disk3. This can be done by mounting the
new CDs and using whatever means you find convenient to walk through
the directory tree. The images can be written on any
CD writer or computer, using any software that will support CD writing
from ISO images.
<P>The <B>mkisofs</B> command may generate empty directories in the
root directory of the CD image itself. These are not a problem for the
installation contents. Just disregard them.
<HR>
<A HREF="Oracle-9i-RH8-and-RH9-HOWTO-3.html">Next</A>
<A HREF="Oracle-9i-RH8-and-RH9-HOWTO-1.html">Previous</A>
<A HREF="Oracle-9i-RH8-and-RH9-HOWTO.html#toc2">Contents</A>
</BODY>
</HTML>