oracle 11g数据库在IBM AIX 5L上的安装(官方手册)

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:1040

oracle 11g数据库在IBM AIX 5L上的安装(官方手册)

以下是官方文档记录
Oracle® DatabaseQuick Installation Guide11g Release 1 (11.1) for AIX Based Systems
B32333-02August 2008This guide describes how to quickly install Oracle Database 11g on AIX system. It includes information about the following:
[list]
[*]Reviewing Information About This Guide

[*]Logging In to the System as root

[*]Checking the Hardware Requirements

[*]Checking the Software Requirements

[*]Creating Required Operating System Groups and Users

[*]Configure Shell Limits and System Configuration Parameters

[*]Creating Required Directories

[*]Configuring the oracle User's Environment

[*]Running the rootpre.sh Script

[*]Mounting the Product Disc

[*]Installing Oracle Database

[*]Installing Oracle Database Examples

[*]What to Do Next?

[*]Additional Information

[*]Documentation Accessibility

1 Reviewing Information About This GuideThis guide describes how to install Oracle Database by using the default installation options.
Tasks Described in This GuideThe procedures in this guide describe how to:
[list]
[*]Configure your system to support Oracle Database

[*]Install Oracle Database on a local file system by using the Basic Installation option

[*]Configure a general-purpose Oracle Database installation that uses the local file system for database file storage

Results of a Successful InstallationAfter you successfully install Oracle Database:
[list]
[*]The database that you created and the default Oracle Net listener process run on the system.

[*]Oracle Enterprise Manager Database Control run on the system and can be accessed by using a Web browser.

Tasks Not Described in This GuideThis guide covers the Basic Installation scenario and does not describe how to complete the following tasks:
[list]
[*]Using the Advanced Installation option to install the software

[*]Installing the software on a system that has an existing Oracle software installation

[*]Installing Oracle Clusterware and Oracle Real Application Clusters on a cluster

[*]Enabling Enterprise Manager e-mail notifications or automated backups

[*]Using alternative storage options such as Automatic Storage Management

Where to Get Additional Installation InformationFor more information about installing Oracle Database, including information about the tasks not described in this guide, refer to one of the following guides:
[list]
[*]If you want to install the software on a single system, then refer to Oracle Database Installation Guide for AIX 5L Based Systems (64-Bit).

[*]If you want to perform. a Oracle Real Application Clusters installation, then refer to Oracle Clusterware Installation Guide for AIX Based Systems and Oracle Real Application Clusters Installation Guide for AIX Based Systems. These guides describe how to install Oracle Clusterware and Oracle Real Application Clusters. Oracle clusterware is a prerequisite for Oracle Real Application Clusters installations.

All these guides are available on the product disc. To access them, use a Web browser to open the [font=NSimsun]welcome.htm file located in the top-level directory of the installation media, and then select the Documentation tab.

2 Logging In to the System as rootBefore you install the Oracle software, you must complete several tasks as the [font=NSimsun]root user. To log in as the [font=NSimsun]root user, complete one of the following procedures:
Note:You must install the software from an X Window System workstation, an X terminal, or a PC or other system with X server software installed
[list]
[*]Following are the steps for installing the software from an X Window System workstation or X terminal:

[list=1]
[*]Start a local terminal session, for example, an X terminal ([font=NSimsun]xterm).

[*]If you are not installing the software on the local system, then enter the following command to enable the remote host to display X applications on the local X server:
$ xhost fully_qualified_remote_host_nameFor example:
$ xhost somehost.us.example.com
[*]If you are not installing the software on the local system, then use the [font=NSimsun]ssh, [font=NSimsun]rlogin, or [font=NSimsun]telnet command to connect to the system where you want to install the software:
$ telnet fully_qualified_remote_host_name
[*]If you are not logged in as the [font=NSimsun]root user, then enter the following command to switch user to [font=NSimsun]root:
$ su -password:#
[*]Following are the steps for installing the software from a PC or other system with X server software:
Note:If necessary, refer to your X server documentation for more information about completing this procedure. Depending on the X server software that you are using, you may need to complete the tasks in a different order.

[list=1]
[*]Start the X server software.

[*]Configure the security settings of the X server software to permit remote hosts to display X applications on the local system.

[*]Connect to the remote system where you want to install the software and start a terminal session on that system, for example, an X terminal ([font=NSimsun]xterm).

[*]If you are not logged in as the [font=NSimsun]root user on the remote system, then enter the following command to switch user to [font=NSimsun]root:
$ su -password:#

3 Checking the Hardware RequirementsThe system must meet the following minimum hardware requirements:
[list]
[*]Memory Requirements

[*]System Architecture

[*]Disk Space Requirements

3.1 Memory RequirementsThe following are the memory requirements for installing Oracle Database 11g Release 1:
[list]
[*]At least 1 GB of physical RAM
To determine the physical RAM size, enter the following command:
# /usr/sbin/lsattr -E -l sys0 -a realmemIf the size of the RAM is less than the required size, then you must install more memory before continuing.

[*]The following table describes the relationship between installed RAM and the configured swap space requirement:
[table=98%]
Available RAMSwap Space Required
Between 1024 MB and 2048 MB1.5 times the size of RAM
Between 2049 MB and 8192 MBEqual to the size of RAM
More than 8192 MB0.75 times the size of RAM

To determine the size of the configured swap space, enter the following command:
# /usr/sbin/lsps -aIf necessary, refer to the operating system documentation for information about how to configure additional swap space.
Note:Oracle recommends that you take multiple values for the available RAM and swap space before finalizing a value. This is because the available RAM and swap space keep changing depending on the user interactions with the computer.

3.2 System ArchitectureTo determine whether the system architecture can run the software, enter the following command:
# /usr/bin/getconf HARDWARE_BITMODENote:This command displays the processor type. Verify that the processor architecture matches the Oracle software release that you want to install. If you do not see the expected output, then you cannot install the software on this system.
To determine if the system is started in 64-bit mode, enter the following command:
# bootinfo -KThe result of this command should be 64, indicating that the 64-bit kernel is enabled.

3.3 Disk Space RequirementsThe following are the disk space requirements for installing Oracle Database 11g Release 1:
[list]
[*]Between 150 and 200 MB of disk space in the [font=NSimsun]/tmp directory
To determine the amount of disk space available in the [font=NSimsun]/tmp directory, enter the following command:
# df -k /tmpIf there is less than 400 MB of free disk space available in the [font=NSimsun]/tmp directory, then complete one of the following steps:

[list]
[*]Delete unnecessary files from the [font=NSimsun]/tmp directory to meet the disk space requirement.

[*]Set the [font=NSimsun]TMP and [font=NSimsun]TMPDIR environment variables when setting the [font=NSimsun]oracle user's environment (described later).

[*]Extend the file system that contains the [font=NSimsun]/tmp directory. If necessary, contact the system administrator for information about extending file systems.

[*]To determine the amount of free disk space on the system, enter the following command:

[list]
[*]GPFS:
# df -k
[*]Raw Logical Volumes in Concurrent VG (HACMP); in the following example, the variable lv_name is the name of the raw logical volume whose space you want to verify:
# lslv lv_name
[*]Raw hard disks; in the following example, the variable rhdisk# is the raw hard disk number that you want to verify, and the variable size_mb is the size in megabytes of the partition that you want to verify:
# lsattr -El rhdisk# -a size_mb
[*]The following table describes the disk space requirements for software files for each installation type:
[table=98%]
Installation TypeRequirement for Software Files (GB)
Enterprise Edition3.82
Standard Edition3.78
Custom (maximum)3.95

[*]The following table describes the disk space for data files for each installation type:
[table=98%]
Installation TypeDisk Space for Data Files (GB)
Enterprise Edition1.6
Standard Edition1.6
Custom (maximum)1.81

Additional disk space, either on a file system or in an Automatic Storage Management disk group, is required for the flash recovery area if you choose to configure automated backups.

4 Checking the Software RequirementsDepending on the products that you intend to install, verify that the following software are installed on the system.
[list]
[*]Operating System Requirements

[*]Compiler Requirements

[*]Patch Requirement

[*]Additional Software Requirements

4.1 Operating System RequirementsThe following is the operating system requirement for Oracle Database 11g Release 1:
[list]
[*]AIX 5L version 5.3, TL 05, Service Pack 06

[*]AIX 6L version 6.1, TL 00, Service Pack 04 or later

The following operating system filesets are required for Oracle Database 11g Release 1:
[list]
[*][font=NSimsun]bos.adt.base

[*][font=NSimsun]bos.adt.lib

[*][font=NSimsun]bos.adt.libm

[*][font=NSimsun]bos.perf.libperfstat

[*][font=NSimsun]bos.perf.perfstat

[*][font=NSimsun]bos.perf.proctools

[*][font=NSimsun]xlC.aix50.rte:8.0.0.7 or later (AIX 5.3)

[*][font=NSimsun]xlC.rte:8.0.0.7 or later (AIX 5.3)

[*][font=NSimsun]xlC.aix61.rte:9.0.0.1 or later (AIX 6.1)

[*][font=NSimsun]xlC.rte:9.0.0.1 or later (AIX 6.1)

[list=1]
[*]To determine the distribution and version of AIX installed, enter the following command:
# oslevel -sIf the operating system version is lower than AIX 5.3.0.0 Technology Level 5 SP 6, then upgrade your operating system to this level. AIX 5L version 5.3 maintenance packages are available from the following Web site:
[font=NSimsun]http://www-912.ibm.com/eserver/support/fixes/

[*]To determine whether the required filesets are installed and committed, enter a command similar to the following:
# lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat \bos.perf.libperfstat bos.perf.proctools
[*]To determine the supported kernel mode, enter a command similar to the following:
# getconf KERNEL_BITMODE

4.2 Compiler RequirementsThe following are the compiler requirements for Pro*C/C++, Oracle Call Interface, Oracle C++ Call Interface, and Oracle XML Developer's Kit (XDK), and GNU Compiler Collection (GCC) with Oracle Database 11g Release 1:
[list]
[*]May 2005 XL C/C++ Enterprise Edition V7.0 for AIX PTF (7.0.0.2):
You can download this software from the following link:
[font=NSimsun]http://www-1.ibm.com/support/

[*]gcc 3.4.5

Note:If you do not install the [font=NSimsun]IBM XL C/C++ Enterprise Edition V8.0 compiler, then you need to install this compiler for AIX Runtime Environment Component. The runtime environment file sets can be downloaded with no license requirements from the following link: [font=NSimsun]http://www-1.ibm.com/support/

4.3 Patch RequirementIn addition, you need to verify that the following patches are installed on the system.
Note:There may be more recent versions of the patches listed installed on the system. If a listed patch is not installed, then determine whether a more recent version is installed before installing the version listed.
[list]
[*]Authorized Problem Analysis Reports (APARs) for AIX 5L v5.3:

[list]
[*]IY89080

[*]IY92037

[*]IY94343

[*]IZ01060 or efix for IZ01060

[*]IZ03260, or efix for IZ03260

[*]If you use HACMP, then note the following additional requirements:

[list]
[*]AIX: AIX 5.3 TL06 or newer [font=NSimsun](bosrte.lvm must be at least 5.3.0.60)

[*]HACMP: Ensure the following versions are installed:
HACMP v. 5.3 with PTFS (APAR:IY94307) and cluster.es.clvm installed
HACMP APAR: IZ01809

APARs required for GPFS v3.1.0.10: None
The following procedure describes how to check these requirements:
[list]
[*]To determine whether an APAR is installed, enter a command similar to the following:
# /usr/sbin/instfix -i -k ""IY89080 IY92037 IY94343 Iz02060 Iz03260"If an APAR is not installed, then download it from the following Web site and install it:
[font=NSimsun]http://www-912.ibm.com/eserver/support/fixes/

[*]If you require a CSD for WebSphere MQ, then refer to the following Web site for download and installation information:
[font=NSimsun]http://www-306.ibm.com/software/integration/wmq/support

4.4 Additional Software RequirementsDepending on the components you want to use, you must ensure that the following software are installed:
[list]
[*]Oracle JDBC/OCI Drivers

[*]ODBC Drivers

[*]Oracle Messaging Gateway

[*]Browser Requirements

4.4.1 Oracle JDBC/OCI DriversYou can use the following optional IBM JDK versions with the Oracle Java Database Connectivity and Oracle Call Interface drivers. However, they are not mandatory for the installation:
[list]
[*]JDK 1.5 (32 bit)

[*]JDK 1.5 (64 Bit)

4.4.2 ODBC DriversODBC driver is supported on the AIX operating system.

4.4.3 Oracle Messaging GatewayOracle Messaging Gateway supports the integration of Oracle Streams Advanced Queuing (AQ) with the following software:
IBM WebSphere MQ V5.3, client and server:
mqm.Client.Bndmqm.Server.BndIf you require a CSD for WebSphere MQ, then refer to the following Web site for download and installation information:
[font=NSimsun]http://www-306.ibm.com/software/integration/wmq/support

4.4.4 Browser RequirementsWeb browsers must support Java Script. and the HTML 4.0 and CSS 1.0 standards. The following Web browsers are supported for Oracle Enterprise Manager Database Control:
[list]
[*]On Oracle Application Express:

[list]
[*]Microsoft Internet Explorer 6.0 or later version

[*]Firefox 1.0 or a later version

[*]On Oracle Enterprise Manager Database Control:

[list]
[*]Netscape Navigator 7.2

[*]Netscape Navigator 8.1

[*]Mozilla version 1.7

[*]Microsoft Internet Explorer 6.0 SP2

[*]Microsoft Internet Explorer 7.0

[*]Firefox 1.0.4

[*]Firefox 1.5

[*]Firefox 2.0

5 Creating Required Operating System Groups and UsersThe following local operating system groups and users are required if you are installing Oracle Database:
[list]
[*]The Oracle Inventory group ([font=NSimsun]oinstall)

[*]The OSDBA group ([font=NSimsun]dba)

[*]The Oracle software owner ([font=NSimsun]oracle)

To determine whether these groups and users already exist, and if necessary, to create them, follow these steps:
[list=1]
[*]To determine whether the [font=NSimsun]oinstall group exists, enter the following command:
# more /etc/oraInst.locIf the output of this command shows the [font=NSimsun]oinstall group name, then the group already exists.
Note:In Oracle documentation, Oracle Inventory group is called [font=NSimsun]oinstall. However, it is not mandatory to use the same name, you can enter a different name for the group.
If the [font=NSimsun]oraInst.loc file exists, then the output from this command is similar to the following:
inventory_loc=/u01/app/oraInventoryinst_group=oinstallThe [font=NSimsun]inst_group parameter shows the name of the Oracle Inventory group, for example [font=NSimsun]oinstall.

[*]To determine whether the [font=NSimsun]dba group exists, enter the following command:
# grep dba /etc/groupIf the output from this commands shows the [font=NSimsun]dba group name, then the group already exists.

[*]If necessary, enter the following commands to create the [font=NSimsun]oinstall and [font=NSimsun]dba groups:
# /usr/sbin/groupadd oinstall# /usr/sbin/groupadd dba
[*]To determine whether the [font=NSimsun]oracle user exists and belongs to the correct groups, enter the following command:
# id oracleIf the [font=NSimsun]oracle user exists, then this command displays information about the groups to which the user belongs. The output should be similar to the following, indicating that [font=NSimsun]oinstall (for example) is the primary group and [font=NSimsun]dba is a secondary group:
uid=440(oracle) gid=200(oinstall) groups=201(dba),202(oper)
[*]If necessary, complete one of the following actions:

[list]
[*]If the [font=NSimsun]oracle user exists, but its primary group is not [font=NSimsun]oinstall or it is not a member of the [font=NSimsun]dba group, then enter the following command:
# /usr/sbin/usermod -g oinstall -G dba oracle
[*]If the [font=NSimsun]oracle user does not exist, enter the following command to create it:
# /usr/sbin/useradd -g oinstall -G dba oracleThis command creates the [font=NSimsun]oracle user and specifies [font=NSimsun]oinstall as the primary group and [font=NSimsun]dba as the secondary group.

[*]Enter the following command to set the password of the [font=NSimsun]oracle user:
# passwd oracle

6 Configure Shell Limits and System Configuration ParametersNote:The parameter and shell limit values shown in this section are recommended values only. For production database systems, Oracle recommends that you tune these values to optimize the performance of the system. See your operating system documentation for more information about tuning kernel parameters.
Oracle recommends that you set shell limits and system configuration parameters as described in this section.
6.1 Configure Shell LimitsVerify that the shell limits shown in the following table are set to the values shown.
[table=98%]
Shell Limit (As Shown in smit)Recommended Value
Soft FILE size-1 (Unlimited)
Soft CPU time-1 (Unlimited) Note: This is the default value.

Soft DATA segment-1 (Unlimited)
Soft STACK size-1 (Unlimited)
Soft Real Memory size-1 (Unlimited)

To view the current value specified for these shell limits, and to change them if necessary:
[list=1]
[*]Enter the following command:
# smit chuser
[*]In the User NAME field, enter the user name of the Oracle software owner, for example [font=NSimsun]oracle.

[*]Scroll down the list and verify that the value shown for the soft limits listed in the previous table is -1.
If necessary, edit the existing value.

[*]When you have finished making changes, press F10 to exit.

6.2 Configure System Configuration ParametersThe following procedure describes how to verify and set the values.
[list]
[*]To verify that the maximum number of processes allowed per user is set to 2048 or greater, use the following steps:
Note:For production systems, this value should be at least 128 plus the sum of the [font=NSimsun]PROCESSES and [font=NSimsun]PARALLEL_MAX_SERVERS initialization parameters for each database running on the system.

[list=1]
[*]Enter the following command:
# smit chgsys
[*]Verify that the value shown for Maximum number of PROCESSES allowed per user is greater than or equal to 2048.
If necessary, edit the existing value.

[*]When you have finished making changes, press F10 to exit.

[*]To verify that long commands can be executed from shell, use the following steps:
Note:Oracle recommends that you set the [font=NSimsun]ncargs system attribute to a value greater than or equal to 128. The [font=NSimsun]ncargs attribute determines the maximum number of values that can be passed as command line arguments.

[list=1]
[*]Enter the following command:
# smit chgsys
[*]Verify that the value shown for ARG/ENV list size in 4K byte blocks is greater than or equal to 128.
If necessary, edit the existing value.

[*]When you have finished making changes, press F10 to exit.

7 Creating Required DirectoriesCreate directories with names similar to the following, and specify the correct owner, group, and permissions for them:
[list]
[*]The Oracle base directory

[*]An optional Oracle data file directory

The Oracle base directory must have 3 GB of free disk space, or 4 GB of free disk space if you choose not to create a separate Oracle data file directory.
Note:If you do not want to create a separate Oracle data file directory, then you can install the data files in a subdirectory of the Oracle base directory. However, this is not recommended for production databases.
To create the Oracle base directory:
[list=1]
[*]Enter the following command to display information about all mounted file systems:
# df -kThis command displays information about all the file systems mounted on the system, including:

[list]
[*]The physical device name

[*]The total amount, used amount, and available amount of disk space

[*]The mount point directory for that file system

[*]From the display, identify either one or two file systems that meet the disk space requirements mentioned earlier in this section.

[*]Note the name of the mount point directory for each file system that you identified.

[*]Enter commands similar to the following to create the recommended subdirectories in the mount point directory that you identified and set the appropriate owner, group, and permissions on them:
# mkdir -p /mount_point/app/# chown -R oracle:oinstall /mount_point/app/# chmod -R 775 /mount_point/app/For example:
# mkdir -p /u01/app/# chown -R oracle:oinstall /u01/app/# chmod -R 775 /u01/app/

8 Configuring the oracle User's EnvironmentYou run Oracle Universal Installer from the [font=NSimsun]oracle account. However, before you start Oracle Universal Installer, you must configure the environment of the [font=NSimsun]oracle user. To configure the environment, you must:
[list]
[*]Set the default file mode creation mask ([font=NSimsun]umask) to [font=NSimsun]022 in the shell startup file.

[*]Set the [font=NSimsun]DISPLAY environment variable.

To set the [font=NSimsun]oracle user's environment:
[list=1]
[*]Start a new terminal session, for example, an X terminal ([font=NSimsun]xterm).

[*]Enter the following command to ensure that X Window applications can display on this system:
$ xhost fully_qualified_remote_host_nameFor example:
$ xhost somehost.us.example.com
[*]Complete one of the following steps:

[list]
[*]If the terminal session is not connected to the system where you want to install the software, then log in to that system as the [font=NSimsun]oracle user.

[*]If the terminal session is connected to the system where you want to install the software, then switch user to [font=NSimsun]oracle:
$ su - oracle
[*]To determine the default shell for the [font=NSimsun]oracle user, enter the following command:
$ echo $SHELL
[*]Open the [font=NSimsun]oracle user's shell startup file in any text editor:

[list]
[*]Bash shell ([font=NSimsun]bash):
$ vi .profile
[*]Bourne shell ([font=NSimsun]sh), Bash shell ([font=NSimsun]bash), or Korn shell ([font=NSimsun]ksh):
$ vi .bash_profile
[*]C shell ([font=NSimsun]csh or [font=NSimsun]tcsh):
% vi .login
[*]Enter or edit the following line in the shell startup file, specifying a value of [font=NSimsun]022 for the default file mode creation mask:
umask 022
[*]If the [font=NSimsun]ORACLE_SID, [font=NSimsun]ORACLE_HOME, or [font=NSimsun]ORACLE_BASE environment variable is set in the file, then remove the corresponding lines from the file.

[*]Save the file, and exit from the editor.

[*]To run the shell startup script, enter the following command:

[list]
[*]Bash shell:
$ . ./.bash_profile
[*]Bourne shell, Bash shell, or Korn shell:
$ . ./.profile
[*]C shell:
% source ./.login
[*]If you are not installing the software on the local computer, then run the following command on the remote machine to set the [font=NSimsun]DISPLAY variable:

[list]
[*]Bourne, Bash or Korn shell:
$ export DISPLAY=local_host:0.0
[*]C shell:
% setenv DISPLAY local_host:0.0
In this example, [font=NSimsun]local_host is the host name or IP address of the local computer that you want to use to display Oracle Universal Installer.
Run the following command on the remote machine to check if the shell and the DISPLAY environmental variable are set correctly:
echo $SHELLecho $DISPLAYNow to enable X applications, run the following commands on the local computer:
$ xhost + fully_qualified_remote_host_nameTo verify that X applications display is set properly, run a X11 based program that comes with the operating system such as [font=NSimsun]xclock:
$ xclock_pathIn this example, [font=NSimsun]xclock_path is the directory path. For example, you can find [font=NSimsun]xclock at [font=NSimsun]/usr/X11R6/bin/xclocks. If the [font=NSimsun]DISPLAY variable is set properly, then you can see [font=NSimsun]xclock on your computer screen.
See Also:PC-X Server or Operating System vendor documents for further assistance
[*]If you determined that the [font=NSimsun]/tmp directory had insufficient free disk space when checking the hardware requirements, then identify a file system with the required amount of free space and set the [font=NSimsun]TMP and [font=NSimsun]TMPDIR environment variables as follows:

[list=1]
[*]Use the [font=NSimsun]df -k command to identify a suitable file system with sufficient free space.

[*]If necessary, enter commands similar to the following to create a temporary directory on the file system that you identified, and set the appropriate permissions on the directory:
# sudo mkdir /mount_point/tmp# sudo chmod a+wr /mount_point/tmp# exit
[*]Enter commands similar to the following to set the [font=NSimsun]TMP and [font=NSimsun]TMPDIR environment variables:
Bourne, Bash, or Korn shell:
$ TMP=/mount_point/tmp$ TMPDIR=/mount_point/tmp$ export TMP TMPDIRC shell:
% setenv TMP /mount_point/tmp% setenv TMPDIR /mount_point/tmp
[*]Enter commands similar to the following to set the [font=NSimsun]ORACLE_BASE [font=NSimsun]and ORACLE_SID environment variables:

[list]
[*]Bourne, Bash, or Korn shell:
$ ORACLE_BASE=/u01/app/oracle$ ORACLE_SID=sales$ export ORACLE_BASE ORACLE_SID
[*]C shell:
% setenv ORACLE_BASE /u01/app/oracle% setenv ORACLE_SID sales
In these examples, [font=NSimsun]/u01/app/oracle is the Oracle base directory that you created or identified earlier and [font=NSimsun]sales is the name that you want to call the database (typically no more than five characters).
[*]Enter the following commands to ensure that the [font=NSimsun]ORACLE_HOME and [font=NSimsun]TNS_ADMIN environment variables are not set:
Bourne, Bash, or Korn shell:
$ unset ORACLE_HOME$ unset TNS_ADMINC shell:
% unsetenv ORACLE_HOME% unsetenv TNS_ADMIN
[*]To verify that the environment has been set correctly, enter the following commands:
$ umask$ env | moreVerify that the [font=NSimsun]umask command displays a value of [font=NSimsun]22, [font=NSimsun]022, or [font=NSimsun]0022 and the environment variables that you set in this section have the correct values.

9 Running the rootpre.sh ScriptNote:Do not run the [font=NSimsun]rootpre.sh script. if you have a later release of the Oracle Database software already installed on this system.
Run the [font=NSimsun]rootpre.sh script.:
[list=1]
[*]Switch user to [font=NSimsun]root:
$ su -password:#
[*]Complete one of the following steps, depending on the location of the installation files:

[list]
[*]If the installation files are on disc, enter a command similar to the following, where [font=NSimsun]directory_path is the disc mount point directory or the path of the [font=NSimsun]db directory on the DVD:
# /directory_path/rootpre/rootpre.sh
[*]If the installation files are on the hard disk, change directory to the [font=NSimsun]Disk1 directory and enter the following command:
# ./rootpre.sh
[*]Exit from the root account:
# exit

10 Mounting the Product DiscOn most AIX systems, the product disc mounts automatically when you insert it into the drive. If the disc does not mount automatically, then follow these steps to mount it:
[list=1]
[*]Switch user to root:
$ su -password:
[*]If necessary, enter a command similar to the following to eject the currently mounted disc, then remove it from the drive:
# umount /dvd
[*]Insert the disc into the disc drive, then enter a command similar to the following to mount it:
# /usr/sbin/mount -rv cdrfs /dev/cd0 /dvdIn this example, [font=NSimsun]/dev/cd0 is the device name of the disc drive and [font=NSimsun]/dvd is the mount point directory.

[*]If Oracle Universal Installer displays the Disk Location dialog box, enter the disc mount point directory path, for example:
/dvd

11 Installing Oracle DatabaseAfter configuring the [font=NSimsun]oracle user's environment, start Oracle Universal Installer and install Oracle Database as follows:
[list=1]
[*]Insert Oracle Database DVD and mount it.

[*]To start Oracle Universal Installer, enter the following command:
$ /mount_point/db/runInstallerIf Oracle Universal Installer does not start, then refer to Oracle Database Installation Guide for AIX 5L Based Systems (64-Bit) for information about how to troubleshoot X Window display problems.

[*]The following table describes the recommended action for each Oracle Universal Installer screen. Use the following guidelines to complete the installation:

[list]
[*]If you need more assistance, or if you want to choose an option that is not a default, then click Help for additional information.

[*]If you encounter errors while installing or linking the software, then refer to Oracle Database Installation Guide for AIX 5L Based Systems (64-Bit) for information about troubleshooting.

Note:[list]
[*]If you have completed the tasks listed previously, then you can complete the installation by choosing the default values on most screens.

[*]In Oracle documentation, Oracle Inventory group is called [font=NSimsun]oinstall. However, it is not mandatory to use the same name, you can enter a different name for the group.

[table=98%]
ScreenRecommended Action
WelcomeThe Oracle Universal Installer guides you through the installation and configuration of various Oracle products. You can scan the installed products list and de-install the products if required. Click Next to proceed with the installaton.

Select Installation MethodThe Basic Installation option is selected by default. Specify the directory path of the Oracle home. Ensure that the [font=NSimsun]oinstall group (for example) is selected. If you want to create a starter database, then specify a name and password for it. Then, click Next.

Specify Inventory Directory and CredentialsThis screen is displayed only during the first installation of Oracle products on a system. Specify the full path of the Oracle Inventory directory. Ensure that the operating system group selected is [font=NSimsun]oinstall. Then, click Next.

Product-Specific Prerequisite ChecksVerify that all of the prerequisite checks succeed, and then click Next. Oracle Universal Installer checks the system to verify that it is configured correctly to run Oracle software. If you have completed all of the preinstallation steps in this guide, all of the checks should pass.
If a check fails, then review the cause of the failure listed for that check on the screen. If possible, rectify the problem and rerun the check. Alternatively, if you are satisfied that your system meets the requirements, then you can select the check box for the failed check to manually verify the requirement.

Oracle Configuration ManagerEnter the Customer Identification Number, OracleMetalink User Name, Country code, and Click Next. The new screen prompts you to accept the license agreement. Click Accept license Agreement to accept the agreement. If you decline this agreement, then Oracle Configuration Manager is installed but not configured.

SummaryReview the information displayed on this screen, and then click Install.
InstallThis screen displays status information while the product is installed.
Configuration AssistantsThis screen displays status information for the configuration assistants that configure the software and create a database. When the message is displayed at the end of this process, click OK to continue.
Execute Configuration ScriptsWhen prompted, read the instructions and then run the scripts mentioned on this screen. Click OK to continue.
End of InstallationThe configuration assistants configure several Web-based applications, including Oracle Enterprise Manager Database Control. This screen displays the URLs configured for these applications. Make a note of the URLs used. The port numbers used in these URLs are also recorded in the following file: oracle_home/install/portlist.iniTo exit from Oracle Universal Installer, click Exit and then click Yes.

12 Installing Oracle Database ExamplesIf you plan to use the following products or features, then download and install the products from the Oracle Database Examples media:
[list]
[*]Oracle JDBC Development Drivers

[*]Oracle Database Examples

[*]Oracle Context Companion

[*]Various Oracle product demonstrations

For information about installing software and various Oracle product demonstrations from the Oracle Database Examples media, refer to Oracle Database Examples Installation Guide.
简要记录下
下载的介质为
aix.ppc64_11gR1_database_1013_1of2.zip
aix.ppc64_11gR1_database_1013_2of2.zip
rootpre_aix.zip
unzip_aix.Z
解压缩介质按以下步骤执行
uncompress unzip_aix.Z
拷贝unzip_aix到/usr/bin目录下
unzip_aix aix.ppc64_11gR1_database_1013_1of2.zip
unzip_aix aix.ppc64_11gR1_database_1013_2of2.zip
unzip rootpre_aix.zip
安装时一定要按照文档来执行,要不然会在安装过程中出错
注意必须设置
/usr/sbin/chdev -l sys0 -a ncargs=128

要不然进行到安装检测硬件和软件需求时会通不过

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】