Perform the following steps to install Oracle9i
Database Release 2:
1.
The Oracle Universal Installer requires 400 MB
of temporary space on your C:
drive to run successfully. If you do not have at least 400 MB on
the C: drive, then
update the TEMP
user variable in your environment variables and change it to a location
with the required amount of space. In addition, make sure that the
computer has sufficient system memory (the combination of RAM and
virtual memory). If the page file size is too small, messages appear
indicating that the computer is running low on virtual memory. Check
your page file size to make sure that the initial size is 200
MB and the maximum size is 400 MB.
2.
Insert your Oracle9i Datbase Release
2 Enterprise Edition CD-ROM into the CD-ROM drive. In the Autorun
window that appears, choose Install/Deinstall Products. If
you do not have your laptop set up for Autorun capability, run autorun.exe
directly from the AUTORUN
directory on your Oracle9i Database Release 2 Enterprise
Edition CD-ROM. You will install Oracle9i in its own home
directory. Click Next to accept the default Oracle_Home name
and location.
3.
In the Welcome window, click Next.
4.
Install Oracle9i Database Release 2 in
its own home directory. Make sure it says OraHome92 in the
Name field, and that the path is d:\oracle\ora92.
Then click Next.
5.
Select Oracle9i Database 9.2.0.1.0.
Click Next to accept the default.
6.
Choose Enterprise Edition and then click
Next.
7.
Accept the General Purpose default database
configuration and click Next.
8.
Click Next.
9.
Click Next.
10.
In the Global Database Name field, enter orcl.world.
In the SID field, accept the default, orcl,
and then click Next.
11.
Accept the directory to D:\oracle\oradata
and click Next.
12.
Accept the default character set and click Next.
13.
The Oracle Universal Installer displays a summary
of the installation options. Make sure that you have the required
disk space available and then click Install.
14.
The Oracle Universal Installer begins installing
Oracle9i Database Release 2 Enterprise Edition and related
software. Note: This process takes at least one hour. The
Oracle Universal Installer also creates installation logs as it
progresses. You can view these while the installation is in progress.
The log for this installation session is located at C:\Program
Files\Oracle\Inventory\logs\installActions.log.
If you install another product, the current log is copied to this
file and renamed, so there is always a history of each successive
installation.
15.
After the initial software is copied to the disk,
the Oracle Universal Installer also automatically configures the
network for the Production database. This is done in the background.
The success of the operation is reported in the Oracle Universal
Installer Configuration Tools window. Once the network configuration
has been completed, the Oracle Universal Installer starts the Oracle
Database Configuration Assistant. This assistant installs and configures
the initial database in the background as well.
16.
Database creation takes about twenty minutes.
The progress is shown in the Database Creation Progress window.
When the database has been created, the Database NT service is created.
17.
Enter a password for SYS and SYSTEM. Please remember
the passwords you choose, they will be used throughout the OBE lessons.
Click OK.
Note: The password screen will not allow
the old default passwords SYS and SYSTEM of change_on_install and
manager to be entered.
18.
When the database has been completely created
and all the configuration tools have completed their tasks, the
End of Installation window appears. Click Exit and then Yes
to exit the Universal Installer.
For more information about the Oracle9i
installation process, please see the Oracle9i
Installation Guide.
19.
Click Yes.
20.
After creating the database Oracle Enterprise
Manager starts in stand alone mode.
In this section you will test the installation of the
Oracle9i database
using Enterprise Manager, which combines all of the management tools together
into one product.
If Oracle Enterprise Manager is not currently open from
the database creation then start it now, otherwise skip the steps for
starting Enterprise Manager in stand-alone mode.
In the Oracle Enterprise Manager Console login
window, make sure that Launch standalone is selected
and then click OK. Note: You can launch Enterprise Manager
to immediately connect to the database for direct database administration.
No configuring is necessary. From this Login window, you can also
connect to the Oracle Management Server (OMS) however you need to
create an OMS repository first which you will do in another module.
Testing the ORCL.WORLD database instance.
1.
Expand Network then Databases, then
click the plus sign to expand ORCL.WORLD.
2.
To log in to the instance, enter system
in the Username field and oracle
in the Password field, then click OK.
3.
Expand Instance and then select Configuration
to see the state of the database. To view the initialization
parameters, click the All Initialization Parameters button.
4.
Click the db_name
parameter and then click the Description button. A description
of the parameter is displayed at the bottom of the window. Click
Cancel to close the window.
5.
Notice that you cannot start or stop the database
unless you are connected as SYSDBA.
Right-click the ORCL.WORLD database and select
Connect.
6.
Enter sys
in the Username field and oracle
in the Password field. Select SYSDBA
from the Connect as drop-down list and then click OK.
7.
Expand Instance and then select Configuration.
Notice that you now can shut down the database. Select the Shutdown
option button and click Apply.
8.
Click OK to accept the
default choice and shut down immediately.
9.
When the shutdown is complete, click Close.
10.
Notice that the database is no longer available.
Now start it again. Click the Open option button
and then Apply.
11.
Click OK.
12.
When the database has been successfully started
up, click Close.
13.
Notice that the database has been started. Click
the Memory tab.
14.
In the Memory tabbed page, you can see how memory
is currently allocated.
15.
When you created your database, the sample schemas
(or seeded) are loaded into your database, the HR
user cannot log into the database until the password has been changed
or that user is unlocked. This lock has been put into place for
security purposes. You can unlock the user from Enterprise Manager
by expanding Security, then Users, then selecting
HR.
16.
Select Unlock then Apply. Unlock
the other Sample Schema Users: OE,
PM, SH,
and QS.
17.
Select File > Exit to close
the Enterprise Manager Console.
Unlocking the Sample Schema Users
When the Oracle9i
database is installed, the Sample Schema database is created and the users
are locked for security reasons. In order to log in as a sample schema
user, you need to unlock the user. To do so, perform the following steps:
In this topic, you will review some of the directory
structures that were built for you when Oracle Universal Installer installed
an optimal flexible architecture (OFA)-compliant image of the Oracle9i
software.
1.
Open Windows NT Explorer and click the drive where
you installed the database (for example, D:).
Select View > Refresh. Navigate to the D:\Oracle
directory. Notice that there are three subdirectories: admin,
Ora90, and oradata.
2.
Navigate to the admin
directory. The D:\Oracle\admin
directory is an OFA-compliant directory that contains information
about different database instances installed on this machine. So
far it contains one directory, orcl,
for the orcl.world instance that you just created.
3.
Navigate back to D:\Oracle\Ora92.
This is the Oracle9i
software directory, also known as the Oracle9i
ORACLE_HOME.
All the software for the Oracle9i
Enterprise Edition is installed under this directory tree.
4.
Navigate to the D:\Oracle\Ora92\Network\admin
directory. This is the directory that the networking files are stored
in.
5.
Open the listener.ora
file generated during the Oracle Universal Installer installation
of Oracle9i.
6.
Notice that the listener has been set to listen
for three different types of connections:
External processes called from the server,
using InterProcess Communication (IPC)
Oracle Net connections from across the network,
using TCP/IP, on port 1521
The listener has also been configured with two
services:
An external process server for external procedure
calls
A database service for the ORCL.WORLD
instance
Your listener.ora
file should look like the following:
Open the tnsnames.ora
file generated during the Oracle Universal Installer installation
of Oracle9i.
Change US.ORACLE.COMto WORLD.
This is done for simplicity purposes. The examples used through
out the series will use this domain name however you may use what
ever you would like.
Open the SQLNET.ORA
file generated during the Oracle Universal Installer installation
of Oracle9i.
Change the US.ORACLE.COM
entry to WORLD.
The DEFAULT_DOMAIN
name must match the domain name in your TNSNAMES.ORA
file.
Navigate to the D:\Oracle\Ora92\Database
directory. This directory contains the password files and the default
initialization files for each instance created on this machine.
13.
Open the initorcl.ora
file. Notice that it contains a reference to the "real" initialization
file at D:\oracle\admin\orcl\pfile\initorcl.ora.
14.
Navigate back to D:\oracle\oradata\orcl.
This is the directory that contains the data files for each instance
that you create on this machine. Explore the contents of this directory.
15.
Select Start > Settings >
Control Panel. Scroll down to the list of the services that
were added as a result of your installation.
16.
Now that you have installed Oracle9i,
you should reboot the machine.
Move your mouse over this icon to hide all screenshots