Content Delivery on Redhat Linux with Oracle 12c – Part 2

Linux, Oracle, CD series part 2. Oracle installation

This is the second in a three part series on setting up Tridion Content Delivery on Redhat Linux with an Oracle 12c database

Read part one of the guide that steps through the RHEL installation.

This video goes through the process of installing Oracle 12c on our Redhat Linux 7.1 server in preparation for the installation of our content delivery database.

Notes, commands and links mentioned in the video can be found further down the page beneath the video player.

Notes, commands and links

  1. Oracle Quickstart guide
  2. Creating and enabling a swapfile on RHEL
  3. Installing Oracle prerequisites
    Install development tools
    # yum group install "Development Tools"
    Install Oracle prereququisites
    # yum install glibc.i686 glibc-devel.i686 libaio.i686 libaio.i686 libgcc.i686 libstdc++.i686 libstdc++-devel.i686 libXi.i686 libXtst.i686 compat-libcap1 compat-libstdc++-33 libaio-devel ksh compat-libstdc++-33# yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
  4. Create the Oracle base directory
    # mkdir -p /u01/app/oracle /u01/app/oraInventory
    # chown -R oracle:oinstall /u01/app/oracle /u01/app/oraInventory
    # chmod -R 775 /u01/app/oracle /u01/app/oraInventory
  5. Installing Flash on server using RPM
    rpm -Uvh [/path/to/adobe-release/x86_64/version/noarch/rpm]
    yum install flash-plugin.x86_64
  6. Documentation on starting Oracle 12c on boot
  7. Add these lines to the “oracle” user’s .bash_profile file
    ORACLE_SID=oracle2
    ORAENV_ASK=NO
    . oraenv
    export PATH=$PATH:$ORACLE_HOME/bin
  8. Create symbolic links to the dbora script in the appropriate run-level script directories as follows.
    # ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K01dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbo
  9. Firewalld
    1. The oracledb.xml file
    2. Set permissions on the oracledb.xml file
      # chmod root:root oracledb.xml
      # Use chcon to label the file for selinux
      # chcon -u system_u oracledb.xml
      # chcon -t firewalld_etc_rw_t oracledb.xml
    3. Add oracledb rule to firewalld
      systemctl reload firewalld.service
      Check oracledb is available
      firewall-cmd --get-services
      View public services
      firewall-cmd --list-services --zone=public
      Need to add oracledb to public
      firewall-cmd --zone=public --add-service=oracledb

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>