寻找在hp unix上安装oracle8.1.7的步骤,高分相谢!

越详细越好,分数不够我还会再加。
安装手册也可以。
[email protected]

---------------------------------------------------------------

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=

 1<workstation_name>:0.0   
 2$ export DISPLAY   
 3In the session on your workstation, enter:   
 4$ xhost +<server_name>   
 5  
 6For the C shell, enter the following on the server where the Oracle database will be installed:   
 7  
 8$ setenv DISPLAY <workstation_name>:0.0   
 9In the session on your workstation, enter:   
10$ xhost +<server_name>   
11  
12Create 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.   
13#-----------------------------------   
14# Oracle environment setup   
15#-----------------------------------   
16#   
17ORACLE_BASE=<oracle_home_directory>   
18export ORACLE_BASE   
19ORACLE_SID=orcl   
20export ORACLE_SID   
21ORACLE_HOME=$ORACLE_BASE/product/8.1.6   
22export ORACLE_HOME   
23PATH=$PATH:$ORACLE_HOME/bin   
24export PATH   
25echo 'The Oracle 8.1.6 environment is set'   
26In the example file above, the variable <oracle_home_directory> specifies the home directory for the oracle user.   
27  
28Refer 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.   
29  
30Update the environment for the current session using one of the following commands:   
31For the Bourne, Korn, or Posix shell, enter: $ . ./.profile   
32For the C shell, enter: % source .login   
33Enter the following command from your CD-ROM directory: ./runInstaller   
34On the Welcome panel of the Oracle Universal Installer, click Next.   
35On the File Locations panel, for Destination specify the ORACLE_HOME directory path onto which Oracle 8i should install and click Next.   
36If 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.   
37If /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.   
38On the Available Products panel, select the Enterprise Edition, which provides both the Oracle client and server, and click Next.   
39Select 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.   
40If Oracle 8.1.5 is on your system, select Upgrade or Migrate an Existing Database when prompted, and click Next.   
41If 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.   
42On 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.   
43On the Database File Location panel, for Directory for Database Files, specify the path of the database file mount point. Then, click Next.   
44On the summary panel, ensure that your system has enough disk space to install Oracle 8i and click Install.   
45After the software installs, log in as the user root and run the root.sh script in the ORACLE_HOME directory:   
46cd $ORACLE_HOME   
47./root.sh   
48When prompted, specify the local bin directory.   
49  
50In 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.   
51In 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.   
52You 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.   
53Click Exit.   
54After 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.   
55  
56Finally, proceed</machine_name></machine_name></oracle_home_directory></oracle_home_directory></server_name></workstation_name></server_name></workstation_name>
Published At
Categories with 数据库类
Tagged with
comments powered by Disqus