• Nenhum resultado encontrado

Running Oracle Universal Installer

No documento 1 Overview of Oracle Database Installation (páginas 106-113)

This section describes the Typical Installation as a default setting. For any type of installation process, start Oracle Universal Installer and install the software, as follows:

1. Log on as the Oracle software owner user (typically, oracle) to the computer on which you want to install Oracle components.

2. If you are installing the software from installation media, mount the disk if it is not already mounted.

If the disk does not mount automatically, refer to "Mounting Disks" section on page 4-5 for platform-specific information about mounting it.

Some platforms automatically mount the disk when you insert the installation media into the drive.

3. To start Oracle Universal Installer, complete one of the following steps depending on the location of the installation files:

Note:

Oracle strongly recommends configuring your database with the Secure Configuration option either during installation, or after installation using Database Configuration Assistant.

Database Vault is an enhanced Security feature. If it is installed with the database, then you cannot change the Secure

Configuration using Database Configuration Assistant option.

See Also:

If you plan to use Oracle Restart or Automatic Storage

Management, you must install the grid infrastructure before you install the database. For information on installing grid

infrastructure refer to "Installing and Configuring Grid Infrastructure for a Standalone Server" on page 3-14

Appendix A if you want to install Oracle Database by using the silent or response file installation method, without the GUI. This method is useful if you must perform multiple installations of Oracle Database. This appendix covers other advanced installation topics as well.

Note: Start Oracle Universal Installer from the terminal session where you logged in as the oracle user and set the user’s environment.

See Also: "Configuring the oracle User’s Environment" for information about setting the oracle user’s environment

Installing the Oracle Database Software

If the installation files are on installation media, enter commands similar to the following, where directory_path is the path of the database directory on the installation media:

$ /directory_path/runInstaller

If the installation files are on the hard disk, change directory to the database directory and enter the following command:

$ ./runInstaller

If Oracle Universal Installer is not displayed, refer to "X Window Display Errors"

and "Remote Terminal Installation Error" for information about troubleshooting.

4. Use the following guidelines to complete the installation:

Do not install Oracle Database 11g Release 2 (11.2) software into an existing Oracle home.

Follow the instructions displayed on the Oracle Universal Installer screens. If you need additional information, click Help.

Do not modify the Java Runtime Environment (JRE) except by using a patch provided by Oracle Support Services. Oracle Universal Installer automatically installs the Oracle-supplied version of the JRE. This version is required to run Oracle Universal Installer and several Oracle assistants.

If errors are displayed while installing the software, refer to Appendix G for information about troubleshooting.

If you chose an installation type that runs Oracle Database Configuration Assistant and Oracle Net Configuration Assistant in interactive mode, then you must provide detailed information about configuring the database and network.

If you need assistance when using the Oracle Database Configuration Assistant or Oracle Net Configuration Assistant in interactive mode, click Help on any screen.

5. When the configuration assistant tasks are complete click finish, click Exit, then click Yes to exit from Oracle Universal Installer.

6. When Oracle Universal Installer prompts you to run a script with root privileges, enter a command similar to the following in a terminal where you are logged in as the root user, then click Continue or OK:

# /script_path/script_name

7. See Chapter 5 for information about tasks that you must complete after you have installed Oracle Database.

The following table lists the various screens displayed during an Enterprise Edition installation for Oracle Database 11g Release 2 (11.2):

See Also: "Reviewing Accounts and Passwords" on page 6-5 for details on password guidelines

Note: If you chose a default installation, Oracle Database

Configuration Assistant and Oracle Net Configuration Assistant do not run interactively.

Installing the Oracle Database Software

Screen Action

Configure Security Updates Enter your e-mail address, preferably your My Oracle Support (formerly OracleMetaLink) e-mail address or user name in the Email field.

You can select the I wish to receive security updates via My Oracle Support check box to receive security updates.

Enter your My Oracle Support (formerly OracleMetaLink) password in the My Oracle Support Password field.

Click Next.

Select Installation Option Select one of the following install options, then click Next:

Create and Configure a Database: This option creates a new database along with sample schemas.

Install Database Software Only: This option only installs the database binaries. To configure database, you must run Oracle Database Configuration Assistant after the software installation.

Upgrade an Existing Database: This option installs the software binaries in a new Oracle home. At the end of the installation, you can upgrade the existing database.

System Class Select the type of system for installing the database, click Next.

Desktop Class: Choose this option if you are installing on a laptop or desktop class system. This option includes a starter database and allows minimal configuration. This option is designed for those who want to get up and running with the database quickly.

See Also: "Setting the ORACLE_HOSTNAME Environment Variable"

Server Class: Choose this option if you are installing on a server class system, such as what you would use when deploying Oracle in a production data center. This option allows for more advanced configuration options.

Advanced configuration options available using this option include Oracle RAC, Automatic Storage Management, backup and recovery configuration, integration with Enterprise Manager Grid Control, and more fine-grained memory tuning, among many others.

Grid Installation Options Select the type of database installation you want to perform, click Next.

Single instance database installation: This option installs the database and the listener.

Real Application Clusters database installation: This option installs Oracle Real Application Clusters and the listener.

Installing the Oracle Database Software

Select Install Type Select one of the following, then click Next:

Typical Installation: This installation method is selected by default. It lets you quickly install Oracle Database using minimal input. It installs the software and optionally creates a general-purpose database using the information that you specify on this screen.

Advanced Installation: This installation method enables to perform more complex installations, such as creating individual passwords for different accounts, creating specific types of starter databases (for example, for transaction processing or data warehouse systems), using different language groups, specifying e-mail notifications, and so on.

Select Product Language This option enables you to select the language in which you want to run the product.

Select the product Language from the Available Languages list, transfer it to the Selected Languages list. Click Next.

Select Database Edition Select Enterprise Edition, Standard Edition, or Standard Edition One. Click Next.

If you click Select Options, then based on your selection you can enable or disable components from the components list.

This screen enables you to customize the database. The components available in this screen are:

Oracle Partitioning

Oracle OLAP

Oracle Label Security

Oracle Data Mining RDBMS Files

Oracle Database Vault option

Oracle Real Application Testing Click OK to continue.

Note: The Select Options button is enabled only if you select the Enterprise Edition installation type.

Specify Installation Location The Oracle base path appears by default. You can change the path based on your requirement.

In the Software Location section, accept the default values or enter the Oracle home name and directory path in which you want to install Oracle components. The directory path should not contain spaces. Click Next.

Note: This screen is available only with Advanced Installation.

See Also: "Naming Directories" for information on directory naming conventions

Create Inventory You are prompted by the installer to specify the directory path for central inventory the first time you install any Oracle software on your computer. Click Next.

Note: By default, the Oracle Inventory directory is not installed under the Oracle Base directory. This is because all Oracle software installations share a common Oracle Inventory, so there is only one Oracle Inventory for all users, whereas there is a separate Oracle Base for each user.

Screen Action

Installing the Oracle Database Software

Select Configuration Type Select one of the following, click Next:

General Purpose / Transaction Processing: This is a starter database designed for general usage or transaction-heavy applications.

Data Warehousing: A starter database optimized to run Data Warehousing applications.

See the online Help provided by either Oracle Universal Installer or Oracle Database Configuration Assistant for a description of these preconfigured database types.

Specify Database Identifiers Specify the following information, then click Next:

Database Naming

Specify the Global Database Name using the following syntax:

database_name.domain

where:

database_name is the name of the database. It can contain no more than 8 characters (alphanumeric, underscore (_), dollar ($), and pound (#)).

domain is the domain used for the database. It can contain no more than 128 characters (alphanumeric, underscore (_), and pound (#)), inclusive of all periods.

For example:

sales.us.example.com

When you enter the Global Database Name, Oracle Universal Installer automatically populates the SID field with the database name, but you can change this SID to another name.

The SID can have no more than 64 alphanumeric characters.

See Also: "Setting the ORACLE_HOSTNAME Environment Variable"

Screen Action

Installing the Oracle Database Software

Specify Configuration Options Specify the following configuration details, click Next:

Memory

Enable Automatic Memory Management option is selected by default. This option enables the database to automatically distribute memory between SGA and PGA. If you deselect this option, then the SGA and PGA must be sized manually.

Character Sets

This option enables you to store the character data in the database in one of the following methods:

Use the default: This option makes use of the operating system language settings.

Use Unicode: This option enables you to store multiple language groups

Choose from the list of character sets: This option enables the Select Database Character Set drop down list.

See Also:

"Selecting the Database Character Set"

Oracle Database Globalization Support Guide for information on choosing a character set Security

The Assert all new security settings option is selected by default. This setting includes enabling auditing and using new password profile.

Note: Oracle recommends that you use the default settings.

Sample Schema

The Create database with sample schema option is not selected by default. However, you can select the option, if you want to create the starter database with sample schema.

Specify Management Option Select one of the following, then click Next:

Use an Existing Grid Control for Database Management:

This option is useful if you have Oracle Enterprise Manager installed.

Use Database Control for Database Management: This option enables you to manage Oracle Database locally.

Optionally, select Enable Email Notifications and enter the outgoing SMTP server and e-mail address.

Specify Database Storage Options

Select one of the following, click Next.

File System: Specify the database file location.

Automatic Storage Management: Specify a password for the ASMSNMP user.

Note: Installing Oracle data files on an Oracle ACFS file system is not supported. Oracle recommends that these data files are installed in Oracle ASM disk groups.

Specify Backup and Recovery Options

Select one of the following, click Next.

Disable automated backups

Enable automated backups: If you select this option, then the backup job will use a specified recovery storage area.

Screen Action

Installing the Oracle Database Software

Specify Database Schema Passwords

Enter and confirm passwords for the privileged database accounts, click Next.

Note: Optionally, you can use the same password for all accounts. However, Oracle recommends that you specify a different password for each account. You must remember the passwords that you specify.

Refer to "Unlocking and Changing Passwords" on page 6-9 for information on password guidelines.

Privileged Operating System Groups

The operating system groups are selected by default. You can also manually select the OSDBA and OSOPER groups.

Click Next.

See Also: "Creating Required Operating System Groups and Users" for information on operating system groups and users Perform Prerequisite Checks This option checks if the minimum system requirements to

carry out the database installation are met.

If you click Check Again, then you can run the prerequisite check again to see if the minimum requirements are met to carry on with the database installation.

Click Fix & Check Again, if you want the installer to fix the problem and check the system requirements once more.

Note: The Fix & Check Again option generates a script that you need to run as the root user. This generated script sets some of the system parameters to Oracle-recommended values. Oracle recommends that you do not modify the contents of this script. Refer to "Installation Fixup Scripts" for more information on fixup scripts.

To get a list of failed requirements, select ShowFailed from the list. To get a list of all the prerequirement checks run by the OUI, select Show All. To get a list of the prerequirement checks that are successful, select Show Succeeded.

Note: You can check Ignore All, to ignore all the errors and proceed with the database installation.

See Also: Chapter 2, "Oracle Database Preinstallation Requirements" for information on the system requirements Summary Review the information displayed on this screen, Click Finish

Note: Starting with Oracle Database 11g Release 2 (11.2), you can save all the installation steps into a response file by clicking Save Response File. Later, this file can be used for a silent installation.

Install product This screen states the progress of a database installation. After the database is installed, you are prompted to execute some root configuration script for new inventory as a root user.

Click Next.

This screen then displays the status information for the configuration assistants that configure the software and create a database.

Finally, a message is displayed at the end of Database Configuration Assistant process, and click OK.

Execute the root.sh script as the root user to complete the installation, and click OK.

Finish This screen is shown automatically when all the configuration tools are successful.

Screen Action

No documento 1 Overview of Oracle Database Installation (páginas 106-113)