Forgot your password?    
+ Reply to Thread
Results 1 to 4 of 4

Thread: Oracle Database 11g Installation steps in detail with Snapshots

  1. #1
    Join Date
    Oct 2011

    Oracle Database 11g Installation steps in detail with Snapshots

    Operating System Details:
    Linux – (Red Had Enterprise Linux)

    Database Version Details:
    Oracle 11g Release 1 (11.1.0)

    Download Software: (

    Pre-Installation Tasks:

    * Prepare the stage area for Oracle Software on the Serve
    —– Choose the mount point where software needs to be staged.

    —– Create the stage directories and change the ownership and permissions.
    Su – root
    Password: xxxxx ( Enter your root password Here)
    # mkdir –p /u01/11gStage
    # chown –R oracle:dba /u01/11gStage
    # chmod –R 755 /u01/11gStage

    —– Copy the software in the stage area
    ftp the downloaded Oracle 11g software in this stage area and change the ownership and permissions.
    $ cd /u01/11gStage
    $ chown oracle:dba
    $ chmod 755

    * Performing the pre-installation tasks
    —– Check the size of physical RAM
    $ grep MemTotal /proc/meminfo
    Note: During the installation it will say failed when it checks the available physical RAM is less than 900 MB , no problem even if you have less than 900MB (if it’s for testing purpose), you can continue with the installation.

    —– Check the size of SWAP space
    $ grep SwapTotal /proc/meminfo

    —– Check the free disk space in “/tmp” directory
    $ df -k /tmp

    —– Check the free space available on the system
    $ df –k

    * Checking the Software Requirements
    —– The version of Linux is installed
    $ uname –a

    —– Check the following required packages are installed.

    —– To check RPMS are installed or not.
    Login as ROOT user
    # rpm –q libaio-devel-0.3.105-2
    # rpm –q unixODBC-devel-2.2.11
    Like this check for all the above RPMS.

    —– Install the missing packages or rpms.
    First download the missing RPMS from the relavent Linux websites, or if you have the CDs with you, used during the Linux Installation, you can use them to find the missing rpms from that.

    —– To install or upgrade RPMS are installed or not.
    Login as the ROOT user
    # rpm –ivh unixODBC-devel-
    # rpm –Uvh unixODBC-devel-

    * Creating Required Operating System Groups and Users
    —– Check and create DBA group
    Su – root
    Password: xxxxx ( Enter your root password Here)
    # cat /etc/group’grep dba
    # /usr/sbin/groupadd dba

    —– Check and create ORACLE user and assign dba group.
    # cat /etc/passwd’grep oracle
    # /usr/sbin/useradd –d “/home/oracle” –m –g dba –c “Oracle 11g Owner” oracle

    —– Set the password of the ORACLE user
    # passwd oracle

    * Create Required Directories
    —– The Oracle Base Directory and Oracle Home Directories
    Su – root
    Password: xxxxxx (Enter the password for root here)
    # mkdir –p /u01/app/oracle/product/11.0.1
    # mkdir –p /u02/oradata

    —– Chang the owner and group of the directories
    # chown –R oracle:dba /u01/app/oracle/product/11.0.1
    # chown –R oracle:dba /u02/oradata

    —– Change the permissions of the directories
    # chmod –R 755 /u01/app/oracle/product/11.0.1
    # chmod –R 755 /u02/oradata

    * Configuring Kernel Parameters
    —– Check the current parameters and values in /etc/sysctl.conf
    # cat /etc/sysctl.conf
    Note: Take a back up of this file before changing the values and parameters.
    # cp –p /etc/sysctl.conf /etc/sysctl.conf.old

    —– Check and add the below parameters in /etc/sysctl.conf
    fs.file-max = 76800
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 4194304
    net.core.rmem_max = 4194304
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144

    —– To change the current values of the kernel parameters
    # /sbin/sysctl -p

    —– Make sure that the parameters and values in /etc/system file are set properly
    # cat /etc/sysctl.conf

    —– Check and set the following lines in the /etc/security/limits.conf file.
    Note: Take a back up of this file before changing the values and parameters.
    # cp –p /etc/security/limits.conf /etc/security/limits.conf.old

    oracle soft nproc 2047
    oracle hard nproc 16384
    oracle soft nofile 1024
    oracle hard nofile 65536

    —– Add or edit the following line in the /etc/pam.d/login file, if it does not already exist
    Note: Take a back up of this file before changing the values and parameters.
    # cp –p /etc/pam.d/login /etc/pam.d/login .old

    session required /lib/security/
    session required

    * Configuring the Oracle User’s Environment
    —– Check and change the contents of .profile or .lgoin files.
    $ vi .bash_profile

    —– Remove the oracle environment variables set already.

    —– Check the DISPLAY variable is set, if not, then set the variable.
    $ echo $DISPLAY
    $ DISPLAY=:0.0
    $ export DISPLAY
    Su – root
    Password: xxxx ( Enter the root password here)
    # xhost +

    —– Make sure that xclock command is running
    $ xlcok

    Installation of Oracle Software:

    * Login as oracle on the server
    Su – oracle
    Password: xxxxx (Oracle user password)

    * Go the directory where Oracle software is staged.
    $ cd /u01/11gStage

    * Unzip the software file
    $ unzip

    * Run/Launch the runinstaller
    $ cd /u02/11gStage/database

    Refer to the Step by Step Snapshot of Oracle Software and Database Installation as provided in : 11g_install_database
    Last edited by Hemant; 01-24-2012 at 09:45 PM.

  2. #2
    Oracle Administrator
    Join Date
    Oct 2011
    Thanks Buddy, Nice details
    Cheers !

  3. #3
    Oracle DBA
    Join Date
    Oct 2011
    Very well explained... Thanks.

  4. #4
    Vijay Reddy
    step by step installation.........very helpful for beginners

+ Reply to Thread

Similar Threads

  1. Oracle RAC 11gR2 ACFS Configuration & Snapshots.
    By ajaychandi in forum RAC Installation, ASM Install , ASM Administration
    Replies: 0
    Last Post: 09-23-2012, 07:16 AM
  2. Learn to do manual installation of the database in just 6 steps
    By shoaibansari in forum Database Installation,Upgrades,Migration,Patching and Cloning
    Replies: 1
    Last Post: 02-14-2012, 04:50 PM
  3. Oracle 10G Software and Database Installation
    By Hemant in forum Database Installation,Upgrades,Migration,Patching and Cloning
    Replies: 5
    Last Post: 12-06-2011, 04:54 AM
  4. Maintain Snapshot Information to update and create Snapshots
    By Hemant in forum AD Utilities , Autoconfig , FND Utilities
    Replies: 0
    Last Post: 10-30-2011, 10:21 AM
  5. What are the Set up Steps for AP and GL
    By ajaysingh in forum Concepts,Service Management,Apache,OC4J,OPMN,JServ,Forms, Issues,Troubleshooting,
    Replies: 1
    Last Post: 10-25-2011, 07:25 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

DBA Lounge (P) Ltd. deals in Oracle Technologies on Consulting, Resourcing, Corporate Training

Online and corporate training available on Oracle Database 11g, Oracle 11g Real Application Cluster (RAC), Oracle Applications 11i/R12, Oracle Fusion Middleware 11g, Oracle Identity Management-OIM, Oracle Internet Directory 11g-OID, Oracle Business Intelligence Enterprise Edition-OBIEE, Oracle Golden Gate, Oracle Access Management-OAM, Oracle Internet Directory-ODS, Oracle Identity Analytics Architecture-OIA Statistics