oracle 11g installation in linux

Embed Size (px)

Citation preview

  • 7/29/2019 oracle 11g installation in linux

    1/28

    Oracle_11g_R2_installation on 26TH OCTOBER 2012

    MOUNTING SOFTWARES FROM MOUNT SERVER 172.16.12.40

    # mkdir -p /mnt/softwares

    #mount -t nfs -o rw 172.16.12.40:/mnt/softwares /mnt/softwares

    # cd /mnt/softwares

    # ls

    # cd \

    MOUNTING RPM PACKAGES

    #mkdir dvd

    #df -kl (to check the partitions)

    #mount /dev/hdc dvd/

    # cd dvd/Server

    #ls

    #cd /

    DISABLING THE FIREWALL SETTINGS

    #service iptables stop

    #vi /etc/selinux/config

  • 7/29/2019 oracle 11g installation in linux

    2/28

    NOTE: CHANGE 6TH LINE SELINUX= enforcing to SELINUX=disabled by pressing ''i''

    (insertion mode) and after change press esc and type '':wq'' and press enter.

    #xhost + {to disable the access control so that clients can connect from any host}

    PREREQUISITES CHECK

    We have to create two groups i.e., oinstall and dba

    and make oinstall is the primary group and dba is the secondary group for the user

    Oracle as shown below

  • 7/29/2019 oracle 11g installation in linux

    3/28

    CHANGING KERNEL PARAMETERS FOR DB-INSTALLATION

    goto /etc/sysctl.confand modify the parameters

    #vi /etc/sysctl.conf

  • 7/29/2019 oracle 11g installation in linux

    4/28

    change the above configuration file as below

    press esc and type " :wq" and press enter

    #sysctl -p

  • 7/29/2019 oracle 11g installation in linux

    5/28

    Modify the file etc/pam.d/login by adding the line

    #vi /etc/pam.d/login

    now add line session required pam_limits.so at the bottom of the configuration file

  • 7/29/2019 oracle 11g installation in linux

    6/28

    save it and exit

    Modify the /etc/security/limits.conf

    #vi /etc/security/limits.conf

  • 7/29/2019 oracle 11g installation in linux

    7/28

    add some lines at end of this config file as shown below

    save it and exit

    now make the directory structure as shown below in which the Oracle Home will be

    takes place.

    and make changes in the ownership for the /u01 as shown below

    #mkdir -p /u01/app/oracle/product/11.2.0/db_1

    #chown -R oracle:oinstall /u01

  • 7/29/2019 oracle 11g installation in linux

    8/28

    Changing the bash_profile with adding the lines of

    ORACLE_HOME,PATH..etc

    #vi .bash_profile

  • 7/29/2019 oracle 11g installation in linux

    9/28

    now add the following lines at the bottom of the config file

    now we have to change from root user to the oracle user

    #su oracle

  • 7/29/2019 oracle 11g installation in linux

    10/28

    INSTALLING DATABASE ORACLE 11g

    Go to the software location and execute the runinstaller file

  • 7/29/2019 oracle 11g installation in linux

    11/28

  • 7/29/2019 oracle 11g installation in linux

    12/28

    if u are not intrested to give E-mail ..just uncheck the I wish to...boxThen click Next which is not shown in the screen

  • 7/29/2019 oracle 11g installation in linux

    13/28

    Then select a Desktop class if you are using clientside system

    click NEXT

  • 7/29/2019 oracle 11g installation in linux

    14/28

    Give the inventory directory Location,oraInventory group Name

    by default the values are shown like above...

    click NEXT

  • 7/29/2019 oracle 11g installation in linux

    15/28

    Check the prerequisites are ok or not

    if anything is failed just see the message and follow the steps

    install Rpm's which are shown in above screen

  • 7/29/2019 oracle 11g installation in linux

    16/28

  • 7/29/2019 oracle 11g installation in linux

    17/28

  • 7/29/2019 oracle 11g installation in linux

    18/28

  • 7/29/2019 oracle 11g installation in linux

    19/28

  • 7/29/2019 oracle 11g installation in linux

    20/28

    Then it asks for password management .you need not to do anything here

    passwords are taken as default ..

    click OK

    click NEXT

  • 7/29/2019 oracle 11g installation in linux

    21/28

    Run the above scripts by connecting to Root user

  • 7/29/2019 oracle 11g installation in linux

    22/28

  • 7/29/2019 oracle 11g installation in linux

    23/28

  • 7/29/2019 oracle 11g installation in linux

    24/28

  • 7/29/2019 oracle 11g installation in linux

    25/28

  • 7/29/2019 oracle 11g installation in linux

    26/28

  • 7/29/2019 oracle 11g installation in linux

    27/28

  • 7/29/2019 oracle 11g installation in linux

    28/28