OS Software Requirements
Operating System: UX 11.O
Operating System Patch DART: 49, June 2000
Operating System Packages: PHSS_21947, PHNE_20316, PHKL_21392, PHKL_22145.
Required Executables: The following executables must be present in the /usr/ccs/bin directory: make, ar, ld, nm,cc.
参见:a86566.pdf
Oracle8i
Release Notes
Release 3 (8.1.7) for HP 9000 Series HP-UX (64-bit)
(若缺少Package,可能会出现安装成功后,执行svrmgrl提示没有权限)
三.安装过程
1. 若只在一个磁盘的文件系统中安装,需要具有文件系统 /oracle
若有共享文件系统则增加 /oradata
2. 通过Reflection X或者其他方式建立dba组和属于dba组的用户oracle
3. 改变文件属主:chown oracle:dba /oracle
chown oracle:dba /oradata
4.修改内核参数:SAM Kernel Configuration
action à Apply Tuned Parameter Set...
choose: General OLTP/Database Server System
Installing Oracle 8i Release 2 (8.1.6)
Complete the steps below to install Oracle 8i Enterprise Edition from the Oracle product CD. For the latest and most complete installation instructions, refer to the Oracle 8i Installation Guide at http://docs.oracle.com/database_mp.html under Version 4 documentation for HP 9000 servers and workstations.
These instructions install Oracle 8i into the ORACLE_HOME directory. If you have a version of Oracle earlier than 8.1.5 in the ORACLE_HOME directory, then delete it. If you have the 8.1.5 version, the Oracle installation program will remove most of it before installing version 8.1.6.
Log in as the user root and do the following:
Create two mount points, one for Oracle 8i and one for the database files. The mount points can be directories in existing volumes or you can use the System Administration Manager (SAM) utility to set up new logical volumes. (If you are doing an OFA-compliant installation, then create four mount points -- one for Oracle 8i and three for the database files.) Name the mount points, for example, /u01 for Oracle 8i (requires 1 GB) and /u02 for the database files (requires 500 MB).
Create one or more groups for the SYSDBA and SYSOPER Oracle roles, which are created when you install Oracle. The Oracle installation program gives Oracle SYSDBA and SYSOPER privileges to members of the UNIX group dba by default. Thus, consider using the System Administration Manager (SAM) utility to create a group named dba.
Use the System Administration Manager (SAM) utility to create a group named oinstall. The oinstall group will be the primary group for the oracle user account that will run the Oracle installation program.
Use the System Administration Manager (SAM) utility to create a user named oracle. For Login Name, provide any name for the account. For Primary GID, specify oinstall. For Home Directory, specify any home directory; it does not have to be the same as the ORACLE_HOME directory. For Login Shell, specify a default shell of /usr/bin/sh (Posix shell), /usr/bin/csh (C shell), or /usr/bin/ksh (Korn shell). Note that you must only use the oracle account for installing and maintaining Oracle software; do not log into a database when using the oracle account.
Mount the Oracle 8i CD that holds the Enterprise Edition.
Log in as the user oracle then set permissions and environment variables:
Set umask to 022 for the oracle account. If entering the command umask does not return 22, set umask in the .profile or .login file of the oracle account and then run the following command:
$ umask 022
On the system that you will run the Oracle installation program, set the DISPLAY environment variable to the system name or IP address, X server, and screen used by your workstation. Do not use the hostname or IP address of the system onto which Oracle 8i will be installed unless you will be installing from that system's X-windows console. Use the machine name or IP address of your own workstation if you will be installing from a remote system. If you are unsure what to set the X server and screen to, set both to 0 (zero).
Thus, for the Bourne or Korn shells, enter the following on the server where the Oracle database will be installed:
$ DISPLAY=<workstation_name>:0.0
$ export DISPLAY
In the session on your workstation, enter:
$ xhost +<server_name>
For the C shell, enter the following on the server where the Oracle database will be installed:
$ setenv DISPLAY <workstation_name>:0.0
In the session on your workstation, enter:
$ xhost +<server_name>
Create a .profile file in the home directory of the user named oracle. Ensure that the file contains the information below. Your Oracle SID may differ.
#-----------------------------------
# Oracle environment setup
#-----------------------------------
#
ORACLE_BASE=<oracle_home_directory>
export ORACLE_BASE
ORACLE_SID=orcl
export ORACLE_SID
ORACLE_HOME=$ORACLE_BASE/product/8.1.6
export ORACLE_HOME
PATH=$PATH:$ORACLE_HOME/bin
export PATH
echo 'The Oracle 8.1.6 environment is set'
In the example file above, the variable <oracle_home_directory> specifies the home directory for the oracle user.
Refer to the Installation Guide for Oracle 8i on HP-UX 11.0 at http://docs.oracle.com/database_mp.html for information on the ORACLE_BASE, ORACLE_HOME, ORACLE_SID, and other variables.
Update the environment for the current session using one of the following commands:
For the Bourne, Korn, or Posix shell, enter: $ . ./.profile
For the C shell, enter: % source .login
Enter the following command from your CD-ROM directory: ./runInstaller
On the Welcome panel of the Oracle Universal Installer, click Next.
On the File Locations panel, for Destination specify the ORACLE_HOME directory path onto which Oracle 8i should install and click Next.
If you have no other versions of Oracle on your system, the UNIX Group Name panel displays. In the UNIX Group Name field, specify oinstall or whatever group has permission to install Oracle products on your system, then click Next.
If /var/opt/oracle/ does not exist or is not writable by the oracle user, run /tmp/OraInstall/orainstRoot.sh in another terminal window as the user root as described by the panel that displays. Then, click Retry.
On the Available Products panel, select the Enterprise Edition, which provides both the Oracle client and server, and click Next.
Select the Typical or Minimal installation. If you want the Custom installation, refer to information in the Oracle 8i Installation Guide at http://docs.oracle.com/database_mp.html under Version 4 documentation for HP 9000 servers and workstations.
If Oracle 8.1.5 is on your system, select Upgrade or Migrate an Existing Database when prompted, and click Next.
If you selected Minimal, on the Select Starter Database panel select Yes to to install an Oracle 8i database. (Selecting No installs the server software without creating a database.) Then, click Next.
On the Database Identification panel, for Global Database Name, specify a unique database name such as orcl.<machine_name>, where orcl is the name of the database and <machine_name> is the network domain where the database is located. For SID, or System Identifier, specify a unique database instance name that is fewer than 8 characters. The default is the database name specified under Global Database Name (orcl for the above example). Then, click Next.
On the Database File Location panel, for Directory for Database Files, specify the path of the database file mount point. Then, click Next.
On the summary panel, ensure that your system has enough disk space to install Oracle 8i and click Install.
After the software installs, log in as the user root and run the root.sh script in the ORACLE_HOME directory:
cd $ORACLE_HOME
./root.sh
When prompted, specify the local bin directory.
In the Net8 Configuration Assistant, configure the Net8 server environment by specifying a listener for the server, a net service name for the client, and static service information for your Oracle 8i database. Then, click Next. The Assistant configures the files listener.ora, sqlnet.ora and tnsnames.ora, setting the values you specify.
In the Configuration Tools window, click Next to have the tools create a database and, if necessary, migrate or upgrade Oracle 8.1.5 databases to version 8.1.6.
You might see a dialog that tells you the default passwords for the SYS and SYSTEM Oracle roles. The passwords should be change_on_install for SYS and manager for SYSTEM. Write down their actual values and click Ok.
Click Exit.
After you install Oracle 8i, apply any needed patches. Look in the /patch directory of the Oracle CD for the patches and follow the instructions in the README accompanying each patch.
Finally, proceed to "Configuring Oracle8i Release 2 (8.1.6) for use with WebSphere Application Server."