Professional Documents
Culture Documents
1 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
2. Insert your Oracle9i 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
Enterprise Edition CD-ROM. You will install Oracle9i in its own home directory. Click Next to
accept the default Oracle_Home name and location.
6/7/2016 3:44 PM
2 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
4. Install Oracle9i in its own home directory. Make sure it says OraHome90 in the Name field, and
that the path is d:\oracle\ora90. Then click Next.
6/7/2016 3:44 PM
3 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
7. Accept the General Purpose default database configuration and click Next.
6/7/2016 3:44 PM
4 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
8. If a database already exists, you are asked whether you want to upgrade or migrate the
database. Do not upgrade or migrate the database: click Next.
9. In the Global Database Name field, enter orcl.world. In the SID field, accept the default,
orcl, and then click Next.
6/7/2016 3:44 PM
5 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
6/7/2016 3:44 PM
6 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
12. 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.
13. The Oracle Universal Installer begins installing Oracle9i 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\
6/7/2016 3:44 PM
7 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
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.
14. 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.
6/7/2016 3:44 PM
8 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
15. 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. 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.
6/7/2016 3:44 PM
9 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
3. Navigate back to D:\Oracle\Ora90. 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.
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:
# LISTENER.ORA Network Configuration File:
d:\oracle\ora90\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC3))
)
6/7/2016 3:44 PM
10 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = meyoung-lap)(PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = d:\oracle\ora90)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = orcl.world)
(ORACLE_HOME = d:\oracle\ora90)
(SID_NAME = orcl)
)
)
8. Open the tnsnames.ora file generated during the Oracle Universal Installer installation of
Oracle9i. Change US.ORACLE.COM to 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.
# TNSNAMES.ORA Network Configuration File:
d:\oracle\ora90\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC3))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
ORCL.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = meyoung-lap)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl.world)
)
)
INST1_HTTP.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = meyoung-lap)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
6/7/2016 3:44 PM
11 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
(PRESENTATION = http://HRService)
)
)
10. 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.
# SQLNET.ORA Network Configuration File:
d:\oracle\ora90\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DEFAULT_DOMAIN = WORLD
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
12. Navigate to the D:\Oracle\Ora90\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.
2. 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
6/7/2016 3:44 PM
12 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
3. Expand Network then Databases, then click the plus sign to expand ORCL.WORLD.
4. To log in to the instance, enter system in the Username field and manager in the Password
field, then click OK.
6/7/2016 3:44 PM
13 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
5. Expand Instance and then select Configuration to see the state of the database. To view the
initialization parameters, click the All Initialization Parameters button.
6. 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 OK to close the window.
6/7/2016 3:44 PM
14 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
7. Notice that you cannot start or stop the database unless you are connected as SYSDBA.
Right-click the ORCL.WORLD database and select Connect.
8. Enter sys in the Username field and change_on_install in the Password field. Select
SYSDBA from the Connect as drop-down list and then click OK.
6/7/2016 3:44 PM
15 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
9. Expand Instance and then select Configuration. Notice that you now can shut down the
database. Select the Shutdown option button and click Apply.
10. Click OK to accept the default choice and shut down immediately.
6/7/2016 3:44 PM
16 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
12. Notice that the database is no longer available. Now start it again. Click the Open option button
and then Apply.
6/7/2016 3:44 PM
17 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
13. Clear the Use Configured Parameters check box. Click Browse to find the D:\Oracle
\admin\orcl\pfile\initorcl.ora file and then click OK.
14. When the database has been successfully started up, click Close.
6/7/2016 3:44 PM
18 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
15. Notice that the database has been started. Click the Memory tab.
16. In the Memory tabbed page, you can see how memory is currently allocated.
17. 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.
18. Select Unlock then Apply. Unlock the other Sample Schema Users: OE, PM, SH, and QS.
6/7/2016 3:44 PM
19 of 19
http://ima.udg.edu/~juanola/9iDBinstall/9iDBinstall.htm
19. Select File > Exit to close the Enterprise Manager Console.
Module Summary
In this module, you should have learned how to:
Install the Oracle9i Enterprise Edition
Explore the Oracle9i environment
Test the Oracle9i environment
In the next module, you will learn how to install the Oracle9i Application Server.
6/7/2016 3:44 PM