Oracle9i Quick Installation Procedure Release 1 (9.0.1) for Linux Intel Part Number A90352-01 |
|
Oracle is a registered trademark, and Oracle Net, Oracle9i, Oracle Database Configuration Assistant, Oracle interMedia, OracleText, Oracle Names, PL/SQL, Pro*C/C++, Pro*COBOL, SQL*Forms, SQL*Loader, and SQL*Plus are trademarks or registered trademarks of Oracle Corporation. Other names may be trademarks of their respective owners.
Copyright © 2001, Oracle Corporation.
All Rights Reserved.
Quick Installation Procedure Release 1 (9.0.1) for Linux Intel
June 2001
Part No. A90352-01
The following procedure describes basic requirements your system needs to meet, and the minimum tasks you need to perform to install an Oracle9i Database. It is not intended to replace Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems. If you are an experienced DBA, use this procedure as a guide to complete a quick installation of an Oracle9i Database.
If you want to install Oracle9i Management and Integration or Oracle9i Client, or if you need to complete complex installation configurations, including those with Legato Storage Manager and Oracle Real Application Clusters, then you must follow the complete installation procedure described in the Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems.
If you have not installed Oracle products before, use this document to become familiar with the installation procedure.
The requirements in this procedure are current as of the release date for Oracle9i. For the most current information, refer to the release notes for your platform, which are located at the following site:
http://docs.oracle.com
If you need assistance with navigating the Oracle Documentation site, refer to the following site:
http://docs.oracle.com/instructions.html
The following requirements must be met in order to perform a typical Oracle9i software installation and to create a simple prototype database.
$ grep MemTotal /proc/meminfo
$ /sbin/swapon -s
/tmp
directory. If 400 MB or more is not available in the /tmp
directory, you can create a /tmp
directory in another file system, then set the environment variables TEMP (used by Oracle) and TMPDIR (used by operating system programs like the linker "ld
" and library archiver "ar
") to point to this location.
For example:
For the Bourne or Korn shells:
$ mkdir /u03/tmp $ TEMP=/u03/tmp ; export TEMP $ TMPDIR=/u03/tmp ; export TMPDIR
For the C shell:
% mkdir /u03/tmp % setenv TEMP /u03/tmp % setenv TMPDIR /u03/tmp
See Also:
For more information on non-interactive installation, refer to Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Non-Interactive Installation and Configuration" in Chapter 3. If you are an Oracle Support customer, register for Metalink to obtain examples. Metalink is at the following site: |
Complete the following pre-installation tasks in order to ensure that Oracle is properly installed and that you can use the database after installation.
Oracle9i includes native support for files greater than 2 GB. However, your operating system shell may impose file size limit.
To determine if your shell will impose a file size limit, use the following command:
$ ulimit -f
Multiply the file (blocks)
value by 512 to obtain the maximum file size in bytes imposed by the shell. For example, if file (blocks)
is set to 2097148, the maximum size of the file that you can fully access will be 1 GB.
% limit filesize
This returns the file size limit in kilobytes.
If you need assistance changing the value for the shell file size limit, contact your operating system vendor or your system administrator.
Oracle9i uses UNIX resources such as shared memory, swap memory and semaphores extensively for interprocess communication. If your kernel parameter settings are insufficient for Oracle9i, you will experience problems during installation and instance startup. The greater the amount of data you can store in memory, the faster your database will operate. In addition, by maintaining data in memory, the UNIX kernel reduces disk I/O activity.
Use the ipcs
command to obtain a list of the system's current shared memory and semaphore segments, and their identification number and owner.
You can modify the kernel parameters by using the /proc
file system.
root
user.
/proc/sys/kernel
directory.
sem
file using the cat
or more
utility. For example,
# cat sem
The output will list, in order, the values for the SEMMSL, SEMMNS, SEMOPM and SEMMNI parameters. The following example shows how the output will appear.
250 32000 32 128
In the preceding example, 250 is the value of the SEMMSL parameter, 32000 is the value of the SEMMNS parameter, 32 is the value of the SEMOPM parameter and 128 is the value of the SEMMNI parameter.
# echo SEMMSL_value SEMMNS_value SEMOPM_value SEMMNI_value
> sem
In the preceding command, all parameters must be entered in order.
cat
or more
utility. For example,
# cat shared_memory_parameter
In the preceding example, the shared_memory_parameter is either the SHMMAX or SHMMNI parameter. The parameter name must be entered in lowercase letters.
echo
utility. For example, to modify the SHMMAX parameter, enter the following:
# echo 2147483648 > shmmax
init
files.
Refer to the following table to determine if your system shared memory and semaphore kernel parameters are set high enough for Oracle9i. The parameters in the following table are the minimum values required to run Oracle9i with a single database instance.
root
user.
/etc/group
file to verify current groups.
groupadd
utility.
dba
oper
oinstall
For more information about system privileges, the OSDBA and OSOPER privileges, and how they may be used for Oracle9i administration, refer to Oracle9i Database Administrator's Guide.
For more information about system privileges and roles, refer to the
For more information about the ORAINVENTORY group, the
See Also:
GRANT
command in the Oracle9i SQL Reference Manual.
oraInventory
directory, and sharing Oracle repository information while preserving separate DBA access to databases, refer to Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Create UNIX Groups for Database Administrators" in Chapter 2.
/etc/passwd
file for current account names.
oracle
and APACHE accounts, if necessary, using the useradd
utility.
oracle
account should have the following characteristics:
The primary group is the ORAINVENTORY group.
The secondary group is the OSDBA group.
The account is only used to install and update Oracle software.
The primary group is the ORAINVENTORY group.
The secondary group is a group in which only APACHE is a member.
The account has minimum privileges.
See Also:
For more information on security and ownership of Apache processes, refer to Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Create a UNIX Account to Own the Apache Server" in Chapter 2. Oracle Corporation has updates on maintaining security with Oracle products and Apache at the following site: For more information on Apache configuration and examples, refer to Apache version 1.3 User's Guide. |
For more information on issues to consider in creating mount points, refer to Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Create Mount Points" in Chapter 2.
See Also:
bin
directory, such as /usr/local/bin
or /opt/bin
. Set and verify that this directory is included in each user's PATH statement, and that users have execute permissions on the directory.
Use the database server's name, or the IP address, X server, and screen only if you are performing the installation from your database server's X Window console. If you are not sure what the X server and screen should be set to, use 0 (zero) for both.
/var/tmp
For more information about required and optional environmental variables, PATH settings and OFA settings, refer to Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Set Environment Variables" in Chapter 2.
Additional pre-installation tasks must be completed for Oracle tools, precompilers, networking and other products. For information about required setup tasks for additional Oracle components, refer to Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Precompilers and Tools" in Chapter 2.
See Also:
.profile
file for the Bourne or Korn shells, or .login
file for the C shell.
# Oracle Environment ORACLE_HOME=/opt/oracle/product/9.0.1; export ORACLE_HOME ORACLE_SID=dia2; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM TNS_ADMIN=/export/home/oracle/config/9.0.1; export TNS_ADMIN NLS_LANG=AMERICAN-AMERICA.UTF8; export NLS_LANG ORA_NLS33;$oracle_home/ocommon/nls/admin/data; export ORA_NLS33 LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/openwin/lib LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/td/lib:/usr/ucblib: \
/usr/local/lib export LD_LIBRARY_PATH #Set shell search paths:
PATH=/bin:/usr/bin:/usr/sbin:/etc:/opt/bin:/usr/ccs/bin:/usr/openwin /bin:/opt/local/GNU/bin PATH=$PATH:/opt/local/bin:/opt/NSCPnav/bin:$ORACLE_HOME/bin PATH=$PATH:/usr/local/samba/bin:/usr/ucb: export PATH #CLASSPATH must include the following JRE locations: CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
/var/opt/oracle
directory and make it owned by the oracle
user. After installation, this directory will contain a few small text files that briefly describe the Oracle software installations and databases on the server. These commands will create the directory and give it appropriate permissions:
mkdir /var/opt/oracle
chown oracle:dba /var/opt/oracle
chmod 755 /var/opt/oracle
Complete these tasks to perform a standard Oracle9i Database installation on your server and create a seed database. Oracle Corporation strongly recommends that you install a seed database to use as a prototype for configuring databases that conform to your needs.
There are multiple CD-ROMs included with Oracle9i. Mount Disk 1 to begin installation. Mount subsequent disks when prompted to do so. Place the Oracle9i CD-ROM Disk 1 in the CD-ROM drive. You must have root
privileges to mount or unmount the CD-ROM manually. Be sure to unmount the CD-ROM before removing it from the drive by using the umount
command.
If volume management is available the CD-ROM will mount automatically to the /cdrom/
directory when you insert it into the CD-ROM drive. To check if volume management is available use the following command:
% ps -e | grep vold
This should return a line similar to:
404 ? 16:03 vold
If no lines are returned, then volume management is not running and CD-ROM will need to be mounted manually.
Follow these steps to mount the Oracle9i CD-ROM manually:
root
user and create a CD-ROM mount point if one does not already exist:
% su root
# mkdir cdrom_mount_point_directory
root
account by using the following commands.
# mount options device_name cdrom_mount_point_directory
# exit
If you are unsure of the correct device_name, consult with your system administrator.
oracle
account.
oracle9i
directory. If you do, installation will fail. The following is an example of the correct command syntax:
/cdrom/oracle9i/runInstaller
In order to ensure that you do not have problems with your installation, Oracle Corporation strongly recommends that you review Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Installation" in Chapter 1.
orainstRoot.sh
script. Oracle Corporation does not recommend this procedure, but running this script will allow you to complete the installation.
Specify the group that has permission to update Oracle software on your system, which should be ORAINVENTORY. If you have previously installed Oracle9i products on your system, the installer obtains the UNIX group name information from its records, which are stored in the /var/opt/oracle/oraInst.loc
file.
Select Oracle9i Database and click Next.
dba
, then you are prompted to confirm the OSDBA group name. Confirm that the name is correct, and click Next.
Enter the Global Database Name and SID (system identifier) name in the provided fields for the seed database that will be created. Give your database a global name that is the same as the SID, with your domain name appended.
For example, if your domain is acme.com
, and your database is to be used for sales, a suitable Global Database Name is sales.acme.com
, with the SID name sales
.
Enter the name of one of the mount points you chose for holding a database. The seed database will be installed in one directory under this mount point. Use the Browse... button to navigate to the mount point if necessary.
You will be prompted to insert the subsequent CD-ROMs.
root.sh
script.
The installer creates the root.sh
script during installation in the $ORACLE_HOME
directory, and prompts you to run the script after products are installed in order to set necessary file permissions for Oracle products, and to perform other root
-related configuration activities. At this point, if you choose, you may review the script before running it.
Open another window, log in to the database server as root
user, and enter the following commands:
# cd $ORACLE_HOME # ./root.sh
When prompted, specify the local bin
directory. This is the directory you created in pre-installation step 5. If you neglected to do this step, the root.sh
script creates one for you.
root.sh
script. These configuration assistants help to create and configure your database and network environments. The Configuration Tools window displays the results of running these assistants. No information needs to be provided for these installation steps.
For more information on database environment types, refer to Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Oracle9i Database Configurations" in Chapter 1.
See Also:
Post-installation tasks vary according to product installation types and according to individual preferences for database configuration.
See Also:
For more information about post-installation tasks, commands to unlock system administration roles, and additional product installation or configuration tasks, refer to Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Post-Installation" in Chapter 4. |
The Oracle9i seed database is running after installation is complete. If you have not used Oracle products before, use the seed database to familiarize yourself with the products. Oracle Corporation recommends that you begin by looking at the following guides:
These books outline the fundamentals of database use and administration. The documentation can be found online at the following site:
http://docs.oracle.com
To shut down the database enter the following commands:
$ sqlplus "/ as sysdba" SQL> shutdown immediate SQL> exit
|
Copyright © 2001 Oracle Corporation. All Rights Reserved. |
|