Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 7

Oracle University

Technical Setup Document

Oracle Database 10g: Administration Workshop I


Global Course Code: D17090GC10 Last Modified: March 1, 2004

Copyright 2004, Oracle. All rights reserved.

Overview
Introduction
Welcome, and thank you for choosing Oracle University. This technical document describes the necessary steps to follow in order to replicate the technical environment for which this course was designed. Before proceeding, you may find it helpful to print this document for ease of reference. In this course, students will install the Oracle Database software and create a database as part of the practices. Course set up involves preparing the operating system for the installation of the Oracle software and the creation of Oracle databases. The Oracle software is staged on disk so that the students do not have to perform the installation from CDs.

Alternative Configurations
We strongly recommend following the exact configurations described in this document. However, we realize that with the abundance of hardware, software, and networking configurations it will not always be possible to follow these steps to the letter. As a result, here is a brief overview of some additional configurations that may work. Please be sure to test these configurations thoroughly and discuss them in detail with your Oracle University Representative before utilizing them to support the course. The setup assumes that the students will install the software from a staged location on disk, not from CDs. If you are providing CDs for each student, the instructor will need to explain to the students how to mount and use the CD instead of installing from the stage directory.

Software Licenses & Support


Please note the following as it relates to software licenses and support: Oracle University does not provide product software or licenses for on-site training events. This document assumes possession of all applicable Oracle software and associated licenses. It is not possible to provide a complete and thorough installation guide in this document, though effort is made to include important directions to follow when performing the installation. Customers with product installation issues should open a Technical Assistance Request (TAR) with Oracle World Wide Support for resolution.

Required Files
The following files are needed for the purposes of completing this setup. If you are missing all or part of these files, please contact your Oracle University Representative: D17090GC10_labs.zip D17090GC10_setup_doc.zip (contains this document)

Glossary of Terminology

Copyright 2004, Oracle. All rights reserved.

Client Workstation: The computer where client software is installed. Client software might include SQL*Plus, Oracle Forms and Reports Developer, Oracle Designer, Jdeveloper, Procedure Builder and an HTML browser. In a 3-Tier or N-Tier architecture this would be the Client Tier. In the training environment, this is sometimes known as the student machine. Database: Collection of data that is treated as a unit. The purpose of a database is to store related information. The database consists of operating system files: data files, control files and redo log files. Database Instance: Every time a database is started, a System Global Area (SGA) is allocated and Oracle background processes are started. The SGA is an area of memory used for database information shared by the database users. The combination of the background processes and memory buffers is called an Oracle (database) instance. Database Server: Computer where database is created. In a 3-Tier or N-Tier architecture this would be the Database Tier. Oracle Enterprise Manager Database Control: A Graphical User Interface (GUI) tool used to manage Oracle databases. ORACLE_BASE: An operating system variable that specifies the BASE of the Oracle directory structure for OFAcompliant databases. ORACLE_HOME: An operating system variable that points to the directory where the Oracle software has been installed. ORACLE_SID: An operating system variable that determines the database instance an Oracle application connects to by default.

Copyright 2004, Oracle. All rights reserved.

Setup Instructions
Hardware Requirements for Workstation

Minimum Operating System CPU Memory Hard Drive Video Monitor CD-ROM Ethernet Browser Red Hat Linux AS 2.1 2.4.9-e.25 1.0 GHz

Recommended Red Hat Linux EL 3.0 2.4.21-4.EL 1.7 GHz 1 Gig 15 Gig Or Higher Or Higher Or faster Or faster Mozilla1.4

512 Meg 15 Gig 1024x768 resolution, 256 color, 70Hz refresh 17 1024 x 768 resolution at 70MHz 4x CD-ROM SCSI or EIDE 16 bits 10 Base T twisted pair Mozilla 1.4

Plugin

Adobe SVG Plugin 3.0.1

Adobe SVG Plugin 3.0.1

Copyright 2004, Oracle. All rights reserved.

Workstation Setup Instructions


Software Setup Instructions 1. Open a terminal window. Login as the root user. 2. Create the following operating system groups: oinstall, dba, and, oper.
/usr/sbin/groupadd oinstall /usr/sbin/groupadd dba /usr/sbin/groupadd oper

3. Create the operating system user oracle:


/usr/sbin/useradd -g oinstall -G dba,oper -d /home/oracle oracle

4. Enter the following command to set the password of the oracle user:
/usr/sbin/passwd oracle

5. With an editor of your choice, edit /home/oracle/.bash_profile to include the following entries:
umask 022 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib ORACLE_BASE=/u01/app/oracle ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1 ORACLE_SID=orcl LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/i386: $ORACLE_HOME/jdk/jre/lib/i386/server: $ORACLE_HOME/rdbms/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH PATH=$ORACLE_HOME/bin:$PATH export PATH LD_LIBRARY_PATH export ORACLE_BASE ORACLE_HOME ORACLE_SID

6. Create the directory for the software installation and assign ownership to oracle:oinstall.
mkdir -p /u01/app/oracle chown -R oracle:oinstall /u01/app chmod -R 775 /u01/app

7. Open the /etc/sysctl.conf file in any text editor and add lines similar to the following:
kernel.sem = 250 32000 100 128 kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000

8. Issue the following command to set the kernel parameters:


/sbin/sysctl -p

9. Create the following directory: /stage/Disk1

Copyright 2004, Oracle. All rights reserved.

10. Place the Oracle database CD in the CD drive. 11. Copy the entire contents of the CD to the /stage/Disk1 directory.
cp R /mnt/cdrom/* /stage/Disk1/

12. Unzip the D17045GC10_labs.zip file into the $HOME directory. The labs and solutions directories will be created containing script files used in the practices. 13. Create the following directory: /u01/app/oracle/backup
mkdir -p /u01/app/oracle/backup chown -R oracle:oinstall /u01/app/oracle/backup chmod -R 775 /u01/app/oracle/backup

Non-Oracle software: Mozilla 1.4 with these plugins configured: - Adobe SVG Viewer 3.01 Beta (Build 88) - Adobe Acrobat Reader 5.08 - Java Runtime Environment 1.4.2_03 These plugins and the installation instructions are available from Mozilla at http://plugindoc.mozdev.org/linux.html

Copyright 2004, Oracle. All rights reserved.

Clean Up
Server Clean-Up

Related Courses
Oracle Database 10g: 2 Day DBA

We hope your Oracle University training experience was a positive one! For information on additional training services and opportunities within, please visit us at http://education.oracle.com. We look forward to serving you again in the future.

Copyright 2004, Oracle. All rights reserved.

You might also like