📄 ch03.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Teach Yourself Oracle 8 In 21 Days -- Ch 3 -- Installing Oracle Software</TITLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF">
<CENTER>
<H1><IMG SRC="../buttonart/sams.gif" WIDTH="171" HEIGHT="66" ALIGN="BOTTOM" BORDER="0"><BR>
<FONT COLOR="#000077">Teach Yourself Oracle 8 In 21 Days</FONT></H1>
</CENTER>
<CENTER>
<P><A HREF="../ch02/ch02.htm"><IMG SRC="../buttonart/previous.gif" WIDTH="128" HEIGHT="28"
ALIGN="BOTTOM" ALT="Previous chapter" BORDER="0"></A><A HREF="../ch04/ch04.htm"><IMG
SRC="../buttonart/next.gif" WIDTH="128" HEIGHT="28" ALIGN="BOTTOM" ALT="Next chapter"
BORDER="0"></A><A HREF="../index.htm"><IMG SRC="../buttonart/contents.gif" WIDTH="128"
HEIGHT="28" ALIGN="BOTTOM" ALT="Contents" BORDER="0"></A>
<HR>
</CENTER>
<CENTER>
<H1><FONT COLOR="#000077">- Day 3 -</FONT></H1>
</CENTER>
<CENTER>
<H1><FONT COLOR="#000077">Installing Oracle Software</FONT></H1>
</CENTER>
<P>Today you will see the steps involved in installing Oracle8 software. You'll find
numerous examples of installing Oracle8 on Windows NT 4.0, and other operating systems
are not significantly different. Throughout this book I will be using Windows NT
as the primary OS for examples and instruction, and where necessary, I will point
out the differences for other operating systems.</P>
<P>Installing Oracle software is much less complicated than in the old days of Oracle6
and early Oracle7. Oracle has made tremendous progress in streamlining and improving
the installation process. It is fairly straightforward to install Oracle8 server,
client, and administrator systems. There is also an option to install individual
components, which is a little bit more complex. Today you will see all four of these
methods.</P>
<H2><FONT COLOR="#000077"><B>What You Need to Know Before You Begin</B></FONT></H2>
<P>There is very little you need to know before you begin the installation process:
<UL>
<LI>What language do you want to use to run Oracle8? A large selection of different
languages is available. You must decide which language you want to use before you
begin the installation.
<P>
<LI>Where do you want the Oracle8 binaries to reside? You will be asked to provide
a path to where the binaries will be copied during the installation process.
<P>
<LI>What Oracle8 products to you want to install? A number of different products
can be installed based on the type of system that you are installing. There are four
different types of installations.
</UL>
<P>The installation type that you choose will be based on the function of the system
that you will be installing. Types of installations include the server, client, Programmer/2000,
and custom installations. Each installs a different set of programs.</P>
<H3><FONT COLOR="#000077"><B>Server Installation</B></FONT></H3>
<P>In the server installation, the components necessary for an Oracle8 server system
will be installed. These components include
<UL>
<LI>Oracle8 server--The Oracle8 server is really the guts of the system. This is
the Oracle8 RDBMS.
<P>
<LI>Server networking components--These include the TNS listener program and the
SQL*Net programs as well as the administrative tools necessary to manage them.
<P>
<LI>Oracle Enterprise Manager--This component is the key to Oracle's new administrative
system. The Enterprise Manager provides a graphical interface to administer the Oracle8
server.
<P>
<LI>Oracle intelligent agents--These are the programs that allow the Oracle Enterprise
Manager to communicate with the Oracle8 server and utilities. The Oracle intelligent
agents use SMTP (Simple Management Transport Protocol) to allow this communication
to occur.
<P>
<LI>Oracle8 documentation (optional)--You can install the Oracle8 documentation locally
or configure it so that you can access the documentation via CD-ROM.
<P>
<LI>Miscellaneous utilities--Other utilities include SQL*Plus, the Oracle installer,
SQL*Loader, ODBC, and so on.
</UL>
<H3><FONT COLOR="#000077"><B>Client Installation</B></FONT></H3>
<P>The client installation gives you a choice of the DBA client or the application
user clients. The DBA installation gives you the components needed to remotely administer
an Oracle system. These products include
<UL>
<LI>Oracle Enterprise Manager--As mentioned previously, this component is the key
to Oracle's new administrative system. The Enterprise Manager provides a graphical
interface to administer the Oracle8 server.
<P>
<LI>SQL*Plus--This is the primary interface into Oracle for ad-hoc access. SQL*Plus
can be used for administrative purposes if desired.
<P>
<LI>The Oracle8 toolbar--The toolbar provides a quick way to access the Oracle Enterprise
Manager applications.
<P>
<LI>SQL*Net--The SQL*Net components include the client-side networking components
and administrative tools.
<P>
<LI>Oracle8 documentation (optional).
<P>
<LI>Miscellaneous tools and utilities--Items such as OCI, Oracle Installer, and so
on are installed.
</UL>
<P>The application user client installation gives you the components needed to connect
to Oracle as an end user. These products include
<UL>
<LI>SQL*Plus
<P>
<LI>SQL*Net
<P>
<LI>Oracle8 documentation (optional)
</UL>
<H3><FONT COLOR="#000077"><B>Programmer/2000 Installation</B></FONT></H3>
<P>The Programmer/2000 installation provides the necessary client components to connect
to the Oracle8 RDBMS, as well as a choice of the following development packages:
<UL>
<LI>Oracle Pro*C/C++--This is the method whereby database object types can be used
within C/C++ programs. Pro*C/C++ is essentially a preprocessor that converts these
objects into C/C++ objects.
<P>
<LI>Pro*COBOL--This is Oracle's COBOL interface.
<P>
<LI>ODBC--The Open Database Connectivity software and development libraries needed
by the application developer.
<P>
<LI>OCI--The Oracle Object Call Interface provides a method whereby Oracle can be
accessed from a C program.
</UL>
<H3><FONT COLOR="#000077"><B>Custom Installation</B></FONT></H3>
<P>The custom installation allows any or all products on the Oracle8 installation
CD-ROM to be installed. Using the custom installation option, you simply choose which
options you want to install.</P>
<H3><FONT COLOR="#000077"><B>The Installation Process</B></FONT></H3>
<P>Now that you've decided where you want the Oracle8 installer to put the Oracle
binaries and you've determined which language to install and which installation method
to use, it's a simple matter of installing the Oracle products. In this part of the
day you will see step-by-step how this installation process works.</P>
<P>This section is divided into four parts, each looking at a different installation
type. First, the initial installation process is covered, then the Oracle8 Server,
followed by the two types of client installations. Finally, the Developer/2000 and
custom installation types are shown. Each is covered in detail, and each of the options
is explained.</P>
<H3><FONT COLOR="#000077"><B>Basic Installation</B></FONT></H3>
<P>The initial installation process begins when you place the Oracle8 CD into your
CD-ROM drive. If your system has autorun configured, you will be prompted by the
Oracle8 installation procedure; from here, decide whether you want to begin installing
Oracle8, to browse information about Oracle8, or explore the CD-ROM (see Figure 3.1).</P>
<P><A NAME="01"></A><A HREF="01.htm"><B>Figure 3.1.</B></A></P>
<P><I>The Oracle8 installation autorun message.</I></P>
<P>If you are ready to install Oracle8 at this time, simply click Begin Installation
and the Oracle8 installation process will commence. If you are not ready to install,
is possible to return at a later time and restart the installation process. Simply
use NT Explorer and, from the CD-ROM drive, double-click the program <TT>setup.exe</TT>.
This will also invoke the installation program.</P>
<P>After the installation process has begun, you will see the initial install screen
(shown in Figure 3.2). This screen asks you which language you want to use to run
the Oracle products. Choose OK to select the default language as English, or select
a different language.</P>
<P><A NAME="02"></A><A HREF="02.htm"><B>Figure 3.2.</B></A></P>
<P><I>The initial installation screen.</I></P>
<P>Next, you will be asked for some installation settings, as shown in Figure 3.3.
These questions relate to your particular installation. The first screen simply asks
for the name of your company and for the OS directory where the Oracle8 binaries
will be installed. Before you choose a directory, be sure the selected disk volume
has adequate disk space; a full installation can require more than 100MB.</P>
<P><A NAME="03"></A><A HREF="03.htm"><B>Figure 3.3.</B></A></P>
<P><I>Installation settings.</I></P>
<P>After you decide on the installation language and location, you might be informed
that certain path variables have been adjusted for the Oracle installation process
and the Oracle programs to work properly. This is shown in Figure 3.4.</P>
<P><A NAME="04"></A><A HREF="04.htm"><B>Figure 3.4.</B></A></P>
<P><I>The Oracle path changes.</I></P>
<P>If you click the OK button, the path of the Oracle binary files will be added
to your environment. Unlike earlier versions of the Oracle installation process,
a reboot the system is not required at this time to continue the installation. After
you have completed these steps, you will be presented with a screen asking you which
type of installation you want to perform, as shown in Figure 3.5.</P>
<P><A NAME="05"></A><A HREF="05.htm"><B>Figure 3.5.</B></A></P>
<P><I>Select the type of installation you want to perform.</I></P>
<P>At this point, the installation will be different based on your answer. These
installations are covered separately in the following sections.</P>
<H2><FONT COLOR="#000077"><B>Installing the Oracle8 Server</B></FONT></H2>
<P>The following is split into two sections. The first section describes the actual
process of installing the software. The second section describes the system after
the installation has occurred. Specifically, this section provides information about
what products and services have been installed, and how the Registry has been modified.</P>
<H3><FONT COLOR="#000077"><B>The Installation Process</B></FONT></H3>
<P>If you've chosen to install the Oracle8 server by clicking OK on the menu shown
in Figure 3.5, the server installation process will begin. At this point, a few dependencies
will be determined and you will be queried as to the Oracle data cartridges that
you are licensed to install (see Figure 3.6). Oracle data cartridges are described
on Day 21, "Exploring the Web Publishing Assistant and Network Computing Architecture."</P>
<P><A NAME="06"></A><A HREF="06.htm"><B>Figure 3.6.</B></A></P>
<P><I>Installing additional cartridges.</I></P>
<P>A short time into the installation process, you will be queried as to whether
you want a typical database installation or whether you want to customize your database
with the Database Assistant (see Figure 3.7).</P>
<P><A NAME="07"></A><A HREF="07.htm"><B>Figure 3.7.</B></A></P>
<P><I>The Starter Database Installation Options dialog box.</I></P>
<P>The three selections are
<UL>
<LI>Typical--The typical starter database is 30MB in size and includes a small set
of tables and tablespaces as a starter set. In most situations, this is probably
the correct selection.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -