|
Doc ID: Note:108306.1
Subject: SOLARIS: Quick Start Guide - 8.1.X RDBMS Installation
Type: BULLETIN
Status: PUBLISHED
Content Type: TEXT/PLAIN
Creation Date: 11-MAY-2000
Last Revision Date: 14-MAR-2002
PURPOSE
=======
This document is designed to be a quick reference that can be used when
installing Oracle 8.1.x on the Sun Solaris platform. It is NOT designed to
take the place of the installation guide. Please refer to the Installation
Guide, IG, for additional information on any of the steps
listed below.
OVERVIEW
========
Quick and easy steps for installing Oracle 8.1.x on Sun Solaris.
Each step should be done in the order that it is listed. These steps are the
bare minimum that is necessary for a typical install of the product.
Verification of Version Certification:
======================================
Steps required to verify the version of Oracle is certified with the version
of the Operating System.
1. Enter http://metalink.oracle.com into a web brower
2. Click button labeled "Product Lifecycle"
3. Click button labeled "Certification"
4. Click link "View Certifications by Product"
5. Select "Oracle Server" ... Click Submit
6. Select "Oracle Server - Enterprise Edition" ... Click Submit
7. Select "Sun SPARC Solaris" ... Click Submit
8. Select the version of Oracle ... Click Submit
9. Check the column "Status" for Certification Status
10. Click link "Yes" in the column "Addtl. Info." for PatchSet information.
我已经核对过,这部份没有已经发现的安装问题,你可以忽略。[/COLOR]
Pre-requisite Requirements for System Administrator:
====================================================
For assistance with system administration issues please contact your system
administrator or Operating System, O/S, vendor.
Steps required as the Root User (login as root to perform each of these items):
1. Configure System Resources:
Ensure that the system has at least the following resources:
· 400 MB in /tmp *
· 256 MB of Physical Memory (RAM)
· Three times the amount of Physical Memory for Swap space (unless the
system exceeds 1 GB of Physical Memory, and in this case, two times
the amount of Swap space is sufficient)
* You may also redirect /tmp by setting the TEMP environment variable.
This is only recommended in rare circumstances where /tmp cannot be
expanded to meet free space requirements.
2. Create a Software Owner and Group:
Create a Unix user and group that will own the Oracle software
(oracle = user, dba = group)
· Use the "useradd" Solaris script or vi the /etc/password file and
add user manually.
· Use the "groupadd" Solaris script or vi the /etc/group file and add
group manually.
· This user must be local to the machine.
3. Create a Software Mount Point and DataFile Mount Points:
Create a mount point for the Oracle software installation (at least 1.2
GB, typically /u01)
Create a second, third and fourth mount point for the database files,
control files, etc. to be created, (typically /u02, /u03, /u04).
· The oracle user should own these mount points and all files
below this directory.
4. Create a directory for the oratab file:
Create the directory: /var/opt/oracle and ensure that the oracle user has
write permissions in this directory.
5. Test the Permissions:
Ensure that the oracle user can write to the new mount points
· cd to each of the new mount point directories as the oracle user and
create a file or directory as a test.
6. Configure Kernel Resources:
Add the following kernel parameters to the /etc/system file (this is the bare
minimum recommendations required)
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmseg=10
set shmsys:shminfo_shmmni=100
set semsys:seminfo_semmns=1000
set semsys:seminfo_semmni=100
set semsys:seminfo_semmsl=200
7. Reboot System:
After modifications are made to the /etc/system file, you must reboot the
system for the new kernel parameters to take affect.
8. Mount CD-ROM:
Mount the Oracle 8.1.x CD-ROM. Typically, the CD-ROM will automount when
placing it into the Solaris CD-ROM drive.
INSTALLATION STEPS
==================
Steps required to be performed as the Oracle Unix user.
1. Set up the Environment Variables:
Set the following environment variables in the .profile or .login file of
the oracle account, (whichever file you use when logging in), before
starting the Installer.
The values in the examples are assuming that your software mount point is
/u01 and you are installing 8.1.7.
Parameter Value
ORACLE_HOME /u01/app/oracle/product/8.1.7
ORACLE_BASE /u01/app/oracle
LD_LIBRARY_PATH /u01/app/oracle/product/8.1.7/lib:/usr/lib
ORACLE_TERM vt100
PATH /01/app/oracle/product/8.1.7/bin:/usr/ccs/bin:
/usr/openwin/bin:
and whatever else you want to have set
follows these three items in the PATH
ORACLE_SID Set this to what you will call your
database instance.
(Typically 4 characters in length)
DISPLAY <ip-address>:0.0
ENSURE THAT CLASS_PATH IS NOT SET IN THE ENVIORNMENT
2. Set the umask:
Set the oracle user's umask to 022 in your .login or .profile file.
3. Verify the Environment:
Log-off and log-on as the Oracle user to ensure all environment settings
are present.
Type env at the Unix prompt to view all the environment variables.
Before attempting to run the Oracle Universal Installer, verify that
you can successfully run the following command:
/usr/openwin/bin/xclock
4. Start the Installer and Install the Oracle Software:
Change directories to the CD-ROM and start the Installer.
cd /cdrom/cdrom0
./runInstaller will start the Oracle Universal Installer
· Verify that the Destination listed for File Location is your
ORACLE_HOME.
NOTE: If this is the first installation of Oracle 8i on this machine,
you will be prompted to run the script,
/tmp/orainstRoot.sh, before proceeding.
It creates a pointer file to the oraInventory directory
location.
· Select "Enterprise Edition" for the Install Category.
· Select Typical to install the software, create a database and start
the database (Other selections are available for minimal or custom
installs).
· The install will begin.
· Follow instruction regarding running root.sh and other prompts.
· When completed, the install will have created a default database,
configured a Listener, and started both for you.
Note: If you are installing 8.1.7, depending on the products that are being
installed, the installer may prompt you to "insert Oracle8i disk 2
into your disk drive or supply an alternative location".
You may run into the following problems:
- You may get "Device busy" messages when attempting to unmount/eject
the 1st cdrom of the product set, because on the session that started
the installer the current working directory is the cdrom mount point.
To overcome this problem:
. Return to the session/window where the installer was launched.
. Press the Return key once or twice to get the unix prompt.
. Change directory to a location other than the cdrom mount point,
for example 'cd /tmp'.
. You should now be able to 'umount' or 'eject' the 1st cd-rom.
- After ejecting the first cdrom, mounting the second, and selecting 'OK'
in the dialog box, the dialog box displays again as if the cdrom was
not changed.
This happens because when the cdrom is automounted, it's mount point
contains the volume label of the cdrom. For example when cdrom #1
is mounted, the mount point may be /cdrom/oracle8i#1. When cdrom #2
is mounted, the mount point may change to /cdrom/oracle8i#2. In this
situation it will be necessary to change the cdrom "path" when
prompted by the installer.
To workaround this problem:
. Use the 'mount' command without any options to display currently
mounted filesystems.
. Check the first column of the output of the mount command and
locate the cdrom mount point
. Use this information to correct the "path" specified in the dialog
box.
. Select OK and the install will proceed.
When the installer completes, you should have a working database
running along with the listener.
Should the installer fail, note the error given. If it was during
relinking, you can check $ORACLE_HOME/install/make.log for more
detailed information. Otherwise, check InstallActions.log in the
oraInventory location which can be determined by viewing the
/var/opt/oracle/oraInst.loc file. |
|