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
- Oracle Quickstart guide
- Creating and enabling a swapfile on RHEL
- Installing Oracle prerequisites
Install development tools
Install Oracle prereququisites#
yum group install "Development Tools"
#
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 - 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
- Installing Flash on server using RPM
rpm -Uvh [/path/to/adobe-release/x86_64/version/noarch/rpm]
yum install flash-plugin.x86_64
- Documentation on starting Oracle 12c on boot
- Add these lines to the “oracle” user’s .bash_profile file
ORACLE_SID=oracle2
ORAENV_ASK=NO
. oraenv
export PATH=$PATH:$ORACLE_HOME/bin
- 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
- Firewalld
- The oracledb.xml file
- 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
- 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