Lesson 2: Installing Oracle Software
Lesson 2: Installing Oracle Software
Lesson 2: Installing Oracle Software
MAS-CS352-DBMS2
Lesson Objectives:
• Describe your role as a database
administrator (DBA) and explain typical
tasks and tools.
• Plan an Oracle software installation.
• Install the Oracle database software.
MAS-CS352-DBMS2
Tasks of an Oracle Database
Administrator
The approach for designing, implementing, and maintaining an Oracle
database involves the following tasks:
1. Evaluating the database server hardware
2. Installing the Oracle software
3. Planning the database and security strategy
4. Creating, migrating, and opening the database
5. Backing up the database
6. Enrolling system users and planning for their Oracle Network access.
7. Implementing the database design
8. Recovering from database failure
9. Monitoring database performance
MAS-CS352-DBMS2
Tools for Administering
1. Oracle Universal Installer
2. Database Configuration Assistant
3. Database Upgrade Assistant
4. Oracle Net Manager
5. Oracle Net Configuration Assistant
6. Oracle Enterprise Manager
7. Server Control Utility
8. Recovery Manager
9. SQL*Loader
MAS-CS352-DBMS2
Planning Your Installation
Considerations:
• What Oracle software are you installing?
• Does the hardware involved meet the
minimum required specifications?
• Is there a recommended order of installation
when multiple products are involved?
• Are there prerequisite steps that must be
performed by someone other than the DBA?
MAS-CS352-DBMS2
Oracle Database Installation:
System Requirements
1. Memory requirements:
1 GB for the database instance with Oracle Enterprise
Manager Database Control
1.5 GB for the ASM instance and Oracle Restart
2. Disk space requirements
3 GB of swap space (based on 2 GB RAM)
1 GB of disk space in the /tmp directory
3.8 GB for the Oracle Database software
4.5 GB for the Grid Infrastructure software
1.7 GB for the preconfigured database (optional)
3.4 GB for the fast recovery area (optional)
3. Operating system
MAS-CS352-DBMS2
Preparing the Operating System
Create the required operating system users and groups:
– Groups:
– oinstall
– dba
Optional groups (if doing separation of duty across multiple users):
– oper
– asmdba
– asmoper
– asmadmin
• Software owner, usually oracle
• Can create multiple users for multiple product installations
MAS-CS352-DBMS2
Setting Environment Variables
Oracle environment variables:
1. ORACLE_BASE: Base of the Oracle directory structure.
Recommended to set this before installation.
2. ORACLE_HOME: The environment in which Oracle
products run. Not required before installation if
ORACLE_BASE is set.
3. ORACLE_SID: Not required before installation, but useful
afterwards for ease of interaction with a particular instance
4. NLS_LANG: Optional environment variable that controls
language, territory, and client character set settings
MAS-CS352-DBMS2
Checking the System
Requirements
MAS-CS352-DBMS2
Downloading Oracle Database: Step 1
After Choosing the correct version of Oracle Database depending on your Operating
System you will be redirected to this page.
1. Provide your valid Username/ Email and Password.
MAS-CS352-DBMS2
Downloading Oracle Database: Step 3
When email and Password is successfully validated you will be redirected to this
page.
1. Fill up necessary and required information in the registration form
MAS-CS352-DBMS2
Downloading Oracle Database: Step 4
1. Click on Continue.
2. Open your personal email for account validation
MAS-CS352-DBMS2
Downloading Oracle Database: Step 5
MAS-CS352-DBMS2
Downloading Oracle Database: Step 6
MAS-CS352-DBMS2
Installing Oracle Database: Step 2
Loading the Oracle File
MAS-CS352-DBMS2
Installing Oracle Database: Step 3
Welcome Module
MAS-CS352-DBMS2
Installing Oracle Database: Step 4
License Agreement
MAS-CS352-DBMS2
Installing Oracle Database: Step 5
Choose a Location
MAS-CS352-DBMS2
Installing Oracle Database: Step 6
Setting Password: oracle
Password used:
Oracle
MAS-CS352-DBMS2
Installing Oracle Database: Step 7
Settings Summary
MAS-CS352-DBMS2
Installing Oracle Database: Step 8
Set up initiation
MAS-CS352-DBMS2
Installing Oracle Database: Step 8
Installation Completed
MAS-CS352-DBMS2
Installing Oracle Database: Step 9
Initiating a Session
1. Click on Start menu then double click the : Run SQL Command Line.
MAS-CS352-DBMS2
Lesson Summary:
Before proceeding with the next Chapters the student should
finished the following:
Create Oracle Account – www.oracle.com
Successfully Install Oracle Database 11g Express Edition
Able to establish as user Connection at isqlplus using:
CONNECT
USERNAME: SYSTEM (Global Connection to Oracle)
PASSWORD: oracle (password inputted by the student during installation)
MAS-CS352-DBMS2