You are on page 1of 5

Installing Oracle Database 10g on Linux

Purpose

In this lesson, you learn how to install Oracle Database 10g on Linux.

Topics

This lesson covers the following topics:

Overview
Prerequisites
Installing Oracle Database 10g on Linux

Viewing Screenshots

Place the cursor on this icon to display all the screenshots in the lesson. You can
also place the cursor on each individual icon in the following steps to see only the
screenshot that is associated with that step.

Overview

Back to List

Using the Oracle Universal Installer, you install the Oracle Database 10g software and
create a database.

Prerequisites

Back to Topic List

Before starting this lesson, you should have:

Completed the Configuring Linux for the Installation of Oracle Database 10g lesson.
1.

Installing Oracle Database 10g on Linux

Back to Topic List

To install the Oracle software, you must use the GUI installer.

Log in to the Linux box as user oracle and mount the Oracle Database 10g CD. Change
1.
directory to the CD and execute the script /mnt/cdrom/runInstaller from your
home directory:
/mnt/cdrom/runInstaller

At the Welcome window, click Next.


2.

You need to specify your Inventory directory. The location should be set to
3.
/u01/app/oracle/oraInventory. Accept the default Operating System group name,
oinstall. Then click Next.

The following window appears. Leave this window open.


4.

You need to execute orainstRoot.sh as the root user. Open a terminal window and
5.
enter the following commands:
su
<rootpassword>
cd /u01/app/oracle/oraInventory
./orainstRoot.sh
exit
exit

Switch back to the Universal Installer window and click Continue.


6.

At the Specify File Locations window, change the path to


7.
/u01/app/oracle/product/10.1.0/db_1. Then click Next.

Make sure the Installation Type Enterprise Edition is selected and click Next.
8.

The installer now verifies that the system meets all the minimum requirements for installing
9.
and configuring the chosen product. Please correct any reported issues before continuing.
When the check successfully completes, click Next.

You want to create a starter database. Make sure that Create a starter database and
10.
General Purpose are both selected. Then click Next.

Enter orcl.oracle.com in the Global Database Name field, and select the Create
11.
database with example schemas check box. Then click Next. If you plan to perform any of
the multilingual lessons, you should select Unicode standard UTF-8 AL32UTF8 as the
database character set.

The Select Database Management Option window enables you to choose between Database
12.
Control or Grid Control of your database. In this example, you accept the default, which is
Database Control. Click Next.

Specify the database file location as /u01/app/oracle/oradata and click Next.


13.
In the Specify Backup and Recovery Options window, you do not want to enable automated
14.
backups at this time. Accept the default and click Next.

Enter and confirm a password for all accounts, and then click Next.
15.

Review the Summary window to verify what is to be installed. Then click Install.
16.

The progress window appears.


17.

The Configuration Assistants window appears.


18.

Your database is now being created.


19.

When the database is created, click OK.


20.

When the Setup Privileges window appears, open a new terminal window.
21.

You need to execute root.sh as the root user. From your terminal window, enter the
22.
following commands:
cd $ORACLE_BASE/product/10.1.0/db_1
su
<rootpassword>
./root.sh
exit
exit

The End of Installation summary appears. The ports shown in the summary can be found in
23.
$ORACLE_BASE/product/10.1.0/db_1/portlist.ini. Click OK.

Click Yes to exit.


24.

You might also like