Oracle® Database Installation Guide
10g Release 1 (10.1) for Apple Mac OS X
Part No. B13953-01
This chapter describes how to start the Oracle Universal Installer and install Oracle products on your system. It includes information about the following topics:
The Oracle Database software is available on disc (CD-ROM or DVD-ROM) or you can download it from the Oracle Technology Network (OTN) Web site. In most cases, you use the graphical user interface (GUI) provided by the Oracle Universal Installer to install the software. However, you can also use the Installer to complete silent-mode installations, without using the GUI. See Appendix A for information about silent-mode installations.
This chapter describes how to install Oracle Database from the product media or from the hard disk. To install the software from the hard disk, you must either download it from OTN and unpack it, or copy it from the discs, if you have them. See one of the following sections, depending on the method that you want to use:
Note:If the Oracle Database 10g software for your platform is on two discs, you can avoid having to change discs during the installation by running the Installer from the DVD-ROM or by copying the contents of the installation discs to a hard disk.
To copy the software to a hard disk, see the "Copy the Oracle Database Software to a Hard Disk" section.
To install the software from disc or from an existing hard disk location, see the "Install the Oracle Database Software" section.
To download the software from OTN, see the following section.
This section describes how to download the installation archive files and extract them on your hard disk.
Downloading the Installation Archive Files
To download the installation archive files from OTN:
Use any browser to access the software download page on OTN:
Navigate to the download page for the product that you want to install.
On the download page, identify the required disk space by adding the file sizes for each required file.
The file sizes are listed next to the file names.
Select a file system with enough free space to store and expand the archive files.
In most cases, the available disk space must be at least twice the size of all of the archive files.
On the file system that you selected in step 4, create a parent directory for each product, for example
OraDB10g, to hold the installation directories.
Download all of the installation archive files to the directory that you created in step 5.
Verify that the files you downloaded are the same size as the corresponding files on OTN.
To extract the installation archive files, perform the following steps:
If necessary, change directory to the directory that contains the downloaded installation archive files.
To uncompress each file, enter a command similar to the following:
$ gunzip filename.cpio.gz
This command creates files with names similar to the following:
To extract the installation files, enter commands similar to the following:
$ cpio -idmv < filename.cpio
Note:Some browsers uncompress files while downloading them, but leave the
For each file, this command creates a subdirectory named
n is either 1 or the disk number identified in the file name.
When you have extracted all of the required installation files, see the "Install the Oracle Database Software" section.
If the software for Oracle Database 10g requires two discs on your platform, you can avoid having to mount and unmount discs during the installation by copying the contents of each CD-ROM to a hard disk on the system, or by installing the software from the DVD-ROM.
To copy the contents of the discs to a hard disk:
Create a single directory on the hard disk to hold the Oracle software:
$ mkdir OraDb10g
Change directory to the directory you created in step 1:
$ cd OraDb10g
Create subdirectories for each installation disc with names similar to the following, where
n is the disc number:
$ mkdir Diskn
Insert the first disc into the disc drive.
Copy the contents of the mounted disc to the corresponding new subdirectory as follows:
$ cp -R /directory_path Diskn
In this example,
n is the number of the installation CD-ROM and
directory_path is the CD-ROM mount point directory or the path of the
db directory on the DVD-ROM.
If necessary, mount the next disc and repeat step 5.
After you have copied all of the required discs, see the "Install the Oracle Database Software" section.
The following sections describe how to install the Oracle software:
Review the following guidelines before starting the Installer:
Oracle Universal Installer
Products requiring a custom installation
To install the following products, you must choose the Custom installation type:
Note:Before you perform a custom installation, make sure all databases in the Oracle home where you want to install Oracle Label Security are shut down.
If you want to configure OLS to use Oracle Internet Directory (OID), you must choose the OID option when running the DBCA.
Oracle Connection Manager
Data Mining Scoring Engine
Installations on a cluster
If Oracle Cluster Ready Services (CRS) and Oracle Real Application Clusters (RAC) are already installed on the system, the Installer displays the Specify Hardware Cluster Installation Mode screen. You must select Local Installation on this screen, unless you want to install Oracle Real Application Clusters.
If you do want to install Oracle Real Application Clusters, see the Oracle Real Application Clusters Installation and Configuration Guide instead of using this guide.
If you re-install Oracle software into an Oracle home directory where Oracle Database is already installed, you must also re-install any components, such as Oracle Partitioning, that were installed before you began the re-installation.
Start the Installer and install the software, as follows:
If you are installing the software from disc, insert the first disc into the disc drive.
To start the Installer, complete one of the following steps depending on the location of the installation files:
Note:Start the Installer from the terminal session where you logged in as the
If the installation files are on disc, enter commands similar to the following, where
directory_path is the CD-ROM mount point directory or the path of the
db directory on the DVD-ROM:
$ cd /tmp $ /directory_path/runInstaller
If the installation files are on the hard disk, change directory to the
Disk1 directory and enter the following command:
Follow the instructions displayed in the Installer screens. If you need additional information, click Help.
Alternatively, enter a command similar to the following to run the script in a terminal where you are logged in as a user that is a member of the
$ sudo /script_path/script_name
Are at least four characters long
Are not the same as the user names
Have at least one alphabetic, one numeric, and one punctuation mark character
Are not simple or obvious words, such as welcome, account, database, or user
Note:You must remember the passwords that you specify.
If you encounter errors while installing or linking the software, see Appendix D for information about troubleshooting.
If you need assistance when using the DBCA or NetCA in interactive mode, click Help on any screen.
Note:If you chose a default installation, the DBCA and NetCA run non-interactively.
When all of the configuration tools have finished, click Exit, then click Yes to exit from the Installer.
See Chapter 4, "Post-installation Tasks" for information about tasks that you must complete after you have installed the software.