http://www.oracle.com/accessibility/
Accessibility of Links to External Web Sites in DocumentationThis documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites. welcome.htm
file, either in the top-level directory of the CD-ROM or in the db
directory on the DVD-ROM, then select the Documentation tab. root
user. To log in as the root
user, complete one of the following procedures: xterm
). ssh
, rlogin
, or telnet
command to connect to the system where you want to install the software: $ telnet remote_hostroot
user, enter the following command to switch user to root
: $ su - rootpassWord:#xterm
). root
user on the remote system, enter the following command to switch user to root
: $ su - rootpassword:/tmp
400 MB (409600 KB) Disk space for software files 2.5 GB (2621440 KB) This value includes 1 GB (1048576 KB) of disk space required to install the Oracle Database 10g Products from the Companion CD (optional, but recommended). Disk space for database files 1.2 GB (1258290 KB) /tmp
directory, enter the following command: # df -h /tmpIf there is less than 400 MB of disk space available in the /tmp
directory, complete one of the following steps: /tmp
directory to achieve the required disk space. oracle
user's environment (described later). /tmp
directory. If necessary, contact your system administrator for information about extending file systems. oinstall
group (the Oracle Inventory group) dba
group (the OSDBA group) oracle
user (the Oracle software owner) oinstall
and dba
groups and the oracle
user may already exist on your system. To determine whether they exist already, and if necessary, to create them, follow these steps: oinstall
and dba
groups exist, enter the following commands: # grep oinstall /etc/group# grep dba /etc/groupIf the output from these commands shows the specified group name, that group already exists. oinstall
and dba
groups: # /usr/sbin/groupadd oinstall# /usr/sbin/groupadd dbaoracle
user exists and belongs to the correct groups, enter the following command: # id -a oracleIf the oracle
user exists, this command displays information about the groups to which the user belongs. The output should be similar to the following, indicating that oinstall
is the primary group and dba
is a secondary group: uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba)oracle
user exists, but its primary group is not oinstall
or it is not a member of the dba
group, enter the following command: # /usr/sbin/usermod -g oinstall -G dba oracleoracle
user does not exist, enter the following command to create it: # /usr/sbin/useradd -g oinstall -G dba oracleThis command creates the oracle
user and specifies oinstall
as the primary group and dba
as the secondary group. oracle
user: # passwd oracle/u01/app/oracle
(the Oracle base directory) /u02/oradata
(an optional Oracle datafile directory) /u01
is the mount point directory used for the software and /u02
is the mount point directory used for the Oracle datafile directory. You must specify the appropriate mount point directories for the file systems on your system. /u01
and /u02
with the appropriate mount point directories that you identified in Step 3 previously. oradata
subdirectory in the mount point directory that you identified for the Oracle datafile directory (shown as /u02
in the examples): # mkdir /u02/oradataoracle
user and the oinstall
group: # chown -R oracle:oinstall /u01/app/oracle # chown -R oracle:oinstall /u02/oradata/etc/system
file, for example: # cp /etc/system /etc/system.orig/etc/system
file in any text editor: # vi /etc/system/etc/system
file, or edit the lines if the file already contains them: set semsys:seminfo_semmni=100set semsys:seminfo_semmns=1024set semsys:seminfo_semmsl=256set semsys:seminfo_semvmx=32767set shmsys:shminfo_shmmax=4294967295set shmsys:shminfo_shmmni=100root
. /cdrom
is the CD-ROM mount point directory and /dev/dsk/c
x
t
y
d
z
s2
is the device name for the CD-ROM device, for example /dev/dsk/c0t6d0s2
. oracle
account. However, before you start the Installer you must configure the environment of the oracle
user. To configure the environment, you must: oracle
user's environment, follow these steps: oracle
user. oracle
: $ su - oracleoracle
user, enter the following command: $ echo $SHELLoracle
user's shell startup file in any text editor: sh
), Bash shell (bash
), or Korn shell (ksh
): $ vi .profilecsh
or tcsh
): % vi .login/tmp
directory had insufficient free disk space when checking the hardware requirements, enter the following commands to set the TEMP and TMPDIR environment variables. Specify a directory on a file system with sufficient free disk space. local_host
:0.0 ; export DISPLAYlocal_host
:0.0local_host
is the host name or IP address of the system that you want to use to display the Installer (your workstation or PC). /u01/app/oracle
is the Oracle base directory that you created earlier and sales
is the name that you want to call the database (typically no more than five characters). umask
command displays a value of 0022
, 022
, or 22
and the environment variables that you set in this section have the correct values. oracle
user's environment, start the Installer and install the Oracle software, as follows: runInstaller
script on a CD-ROM. If you are installing the software from DVD-ROM, use a command similar to the following: $ /mount_point/db/runInstalleroracle_base
is the value that you specified for the ORACLE_BASE environment variable: oracle_base/oraInventorySpecify operating system group name Verify that the group specified is the Oracle Inventory group: oinstallRun orainstRoot.sh If prompted, run the following script in a separate terminal window as the root
user: oracle_base/oraInventory/orainstRoot.shSpecify File Locations In the Destination section, verify that the Path value for the Oracle home directory is similar to the following, then click Next: oracle_base/product/10.1.0/db_1Select Installation Type Select Enterprise Edition or Standard Edition, then click Next. Product-Specific Prerequisite Checks Verify that all of the prerequisite checks succeed, then click Next. root
user: oracle_home/root.shoracle_home
is the directory where you installed the software. The correct path is displayed on the screen. Press Return to accept the default values for each prompt displayed by the script. When the script finishes, click OK. End of Installation The 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 the Installer, click Exit, then click Yes. root
user, mount the Oracle Database 10g Companion CD CD-ROM or the Oracle Database 10g DVD-ROM. For more information about mounting discs, see Section 9, "Mount the Product Disc". oracle
). welcome.htm
file located in the top-level directory of the CD-ROM or DVD-ROM. 新闻热点
疑难解答