ORACLE11G Install Steps

download ORACLE11G Install Steps

of 12

Transcript of ORACLE11G Install Steps

  • 8/3/2019 ORACLE11G Install Steps

    1/12

  • 8/3/2019 ORACLE11G Install Steps

    2/12

    LD_LIBRARY_PATH=$ORACLE_HOME/libPATH=$PATH:$ORACLE_HOME/binexport ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATHPATHexport DISPLAY=:0.0

    then . .bash_profile to get the changes done

    Then install the rpm needed as below

    binutils-2.17.50.0.6compat-libstdc++-33-3.2.3elfutils-libelf-0.125*****elfutils-libelf-devel-0.125*****elfutils-libelf-devel-static-0.125 did not got rpmgcc-4.1.2gcc-c++-4.1.2glibc-2.5-24glibc-common-2.5glibc-devel-2.5glibc-headers-2.5kernel-headers-2.6.18ksh-20060214libaio-0.3.106libaio-devel-0.3.106libgcc-4.1.2libgomp-4.1.2libstdc++-4.1.2libstdc++-devel-4.1.2make-3.81sysstat-7.0.2unixODBC-2.2.11unixODBC-devel-2.2.11

    vi /etc/security/limit.conf

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

    [root@localhost ~]# chown -R oracle:oracle /u02

  • 8/3/2019 ORACLE11G Install Steps

    3/12

    [root@localhost ~]# cd /u02/ [root@localhost u01]# mkdir oracle11g[root@localhost u01]# cd oracle/ [root@localhost oracle]# mkdir app

    Then unzip the database folder by

    unzip command

    but pay attention u have execute permision onit

    or do

    chmod 777 filename

    Then ./runInstaller

    then nextnext

  • 8/3/2019 ORACLE11G Install Steps

    4/12

    ..

  • 8/3/2019 ORACLE11G Install Steps

    5/12

    STEP GIVES U OPTION OF CREATEING DATABASE WITH SOFTWARE OR

    INSTALLING ONLY SOFTWARE

  • 8/3/2019 ORACLE11G Install Steps

    6/12

    TYPE OF USAGE OF SOFTWARE

    THATS ON U

    AS SERVER OR DESKTOP

  • 8/3/2019 ORACLE11G Install Steps

    7/12

    TYPE OF DATABASE U WANA CREATE

    SINGLE INSTANCE OR

    RAC

  • 8/3/2019 ORACLE11G Install Steps

    8/12

    INSTALLATION TYPE OF DATABASEDEFAULT : TYPICAL

  • 8/3/2019 ORACLE11G Install Steps

    9/12

    Sys password is sysadmin123

    Confirm sys password is sysadmin123

    after this step just do next

    and installation will take place

    ERRORS

    primary memory error

    solution increase the ram

  • 8/3/2019 ORACLE11G Install Steps

    10/12

    swap error

    look in (to increase swap space file)

    and lastly kernel parametersthat u can set by running a script

    solution

    cd /tmp/CVU_11.2.0.2.0_oracle/

    Then

    ./runfixup.sh

    This will set up all kernel parameters

    for RPM

    go in server folder

    ls -ltr grep elfutils-libelf*

    rpm -ivh elfutils-libelf-devel*

    FOR MEMORY ERROR AT STARTUP OF DATABASE

    # df -k /dev/shmFilesystem 1K-blocks Used Available Use%Mounted ontmpfs 1029884 350916 678968 35%/dev/shm#

    The shared memory file system should be big enough to accommodate theMEMORY_TARGET and MEMORY_MAX_TARGET values, or Oracle will throw thefollowing error.

    ORA-00845: MEMORY_TARGET not supported on this system

    To adjust the shared memory file system size issue the following commands, specifyingthe required size of shared memory.

    # umount tmpfs# mount -t tmpfs shmfs -o size=1200m /dev/shm

  • 8/3/2019 ORACLE11G Install Steps

    11/12

    Make the setting permanent by amending the "tmpfs" setting of the "/etc/fstab" file tolook like this.

    tmpfs /dev/shm tmpfssize=1200m 0 0

    AMM ConfigurationThe Database Configuration Assistant (DBCA) allows you to configure automaticmemory management during database creation.

    When creating the database manually, simply set the appropriate MEMORY_TARGET andMEMORY_MAX_TARGET initialization parameters before creating the database.

    Enabling automatic memory management on a system that didn't previously use it is asimple task. Assuming you want to use a similar amount of memory to your currentsettings you will need to use the following calculation.

    MEMORY_TARGET = SGA_TARGET + GREATEST(PGA_AGGREGATE_TARGET,"maximum PGA allocated")

    RPM NEEDED

    FOR 11G

  • 8/3/2019 ORACLE11G Install Steps

    12/12