Install Oracle 11g on Oracle Linux 6 VMware Server 2


Date: May 29th 2012

Purpose: This tutorial will walk you through the steps of Installing Oracle 11g Database on an Oracle Linux 6 OS running inside of VMware server.

  1. Create VMware Instance
  2. Install Oracle Linux 6 Update 2
  3. VMware Copy Issue Fix
  4. Disable Firewall and SELinux
  5. Disable Network Manager
  6. Configure Oracle Yum Repository
  7. Post OS Install Script to prep for database
  8. Download 11.2.0.3 from metalink.oracle.com patch 10404530
  9. mkdir -p /app/oracle/product/11.2.0/db_1
  10. chown -R oracle:oinstall /app
  11. chmod -R 775 /app
  12. groupadd osoper --gid 505
  13. copy to bash_profile for oracle
  14. # Oracle Settings
  15. TMP=/tmp; export TMP
  16. TMPDIR=$TMP; export TMPDIR
  17. ORACLE_HOSTNAME=oradb01.snapdedo.com; export ORACLE_HOSTNAME ORACLE_UNQNAME=db11g; export ORACLE_UNQNAME
  18. ORACLE_BASE=/app/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME ORACLE_SID=db11g; export ORACLE_SID
  19. PATH=/usr/sbin:$PATH; export PATH
  20. PATH=$ORACLE_HOME/bin:$PATH; export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
  21. Install Database Software
  22. create database listener
  23. $ORACLE_HOME/bin

    .netca - to create a listener accept defaults

         Listener configuration

         Add

         LISTENER

         TCP

    run

    .dbca - to create database accept defaults

    Install autostart steps see note

  1. Post Database Install Scripts

 

  • Post OS Install scripts
  • Post Database Install scripts
  • VMware Server no longer supported
  • VMware License issues with Oracle